44 #ifndef CEXMC_SCENE_PRIMITIVES_HH
45 #define CEXMC_SCENE_PRIMITIVES_HH
70 struct CexmcRadialLine
73 theta( line.
x() ), phi( line.
y() ), length( line.
z() )
83 typedef std::vector< CexmcRadialLine > CexmcRadialLines;
85 typedef std::map< CexmcSPType, G4Colour > CexmcSPColourMap;
108 const CexmcRadialLine * rLine );
115 void UpdateScene(
void );
122 G4bool highlightInnerCrystals;
124 CexmcRadialLines radialLines;
126 CexmcSPColourMap spColours;
136 spColours[ primitive ] = colour;
142 radialLines.push_back( line );
149 markTargetCenter = on;
156 highlightInnerCrystals = on;
168 inline void CexmcScenePrimitives::UpdateScene(
void )
172 visManager->NotifyHandlers();
static G4VVisManager * GetConcreteInstance()
void SetColour(CexmcSPType primitive, const G4Colour &colour)
void ClearRadialLines(void)
void MarkTargetCenter(G4bool on=true)
CexmcScenePrimitives(CexmcSetup *setup)
void HighlightInnerCrystals(G4bool=true)
void DrawRadialLine(const G4ThreeVector &line)
void DescribeYourselfTo(G4VGraphicsScene &scene)