43G4bool G4RTSteppingAction::ignoreTransparency =
false;
53 G4StepPoint* postStepPoint = aStep -> GetPostStepPoint();
56 if(!postVolume_phys)
return;
66 for (
G4int i = postDepth; i >= 0; --i) {
67 localPostPVPointerCopyNoPath.push_back
74 auto postIterator = sceneVisAttsMap.find(localPostPVPointerCopyNoPath);
76 if (postIterator != sceneVisAttsMap.end()) {
77 postVisAtts = &postIterator->second;
82 if((!postVisAtts) || (!(postVisAtts->
IsVisible())))
return;
90 if(postAlpha==1.0 || ignoreTransparency)
92 G4Track* currentTrack = aStep -> GetTrack();
98{ ignoreTransparency = val; }
100{
return ignoreTransparency; }
std::vector< PVPointerCopyNo > PVPointerCopyNoPath
virtual void UserSteppingAction(const G4Step *)
static G4bool GetIgnoreTransparency()
static void SetIgnoreTransparency(G4bool val)
const std::map< G4ModelingParameters::PVPointerCopyNoPath, G4VisAttributes, PathLessThan > & GetSceneVisAttsMap() const
const G4VTouchable * GetTouchable() const
G4VPhysicalVolume * GetPhysicalVolume() const
G4int GetCopyNumber(G4int depth=0) const
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
virtual G4int GetHistoryDepth() const
const G4Colour & GetColour() const
ForcedDrawingStyle GetForcedDrawingStyle() const
G4bool IsForceDrawingStyle() const
G4VSceneHandler * GetCurrentSceneHandler() const
static G4VisManager * GetInstance()