Geant4  10.00.p03
G4GMocrenFileSceneHandler Class Reference

#include <G4GMocrenFileSceneHandler.hh>

+ Inheritance diagram for G4GMocrenFileSceneHandler:
+ Collaboration diagram for G4GMocrenFileSceneHandler:

Classes

class  Detector
 
class  Index3D
 

Public Member Functions

 G4GMocrenFileSceneHandler (G4GMocrenFile &system, G4GMocrenMessenger &messenger, const G4String &name="")
 
virtual ~G4GMocrenFileSceneHandler ()
 
void AddPrimitive (const G4Polyline &line)
 
void AddPrimitive (const G4Polyhedron &p)
 
void AddPrimitive (const G4Text &)
 
void AddPrimitive (const G4Circle &)
 
void AddPrimitive (const G4Square &)
 
void AddPrimitive (const G4Polymarker &polymarker)
 
void AddPrimitive (const G4Scale &scale)
 
virtual void BeginModeling ()
 
virtual void EndModeling ()
 
virtual void BeginPrimitives (const G4Transform3D &objectTransformation)
 
virtual void EndPrimitives ()
 
void AddSolid (const G4Box &box)
 
void AddSolid (const G4Cons &cons)
 
void AddSolid (const G4Tubs &tubs)
 
void AddSolid (const G4Trd &trd)
 
void AddSolid (const G4Trap &trap)
 
void AddSolid (const G4Sphere &sphere)
 
void AddSolid (const G4Para &para)
 
void AddSolid (const G4Torus &torus)
 
void AddSolid (const G4Polycone &polycone)
 
void AddSolid (const G4Polyhedra &polyhedra)
 
void AddSolid (const G4VSolid &solid)
 
void AddCompound (const G4VTrajectory &traj)
 
void AddCompound (const G4VHit &hit)
 
void AddCompound (const G4VDigi &hit)
 
void AddCompound (const G4THitsMap< G4double > &hits)
 
void ClearTransientStore ()
 
void GFBeginModeling ()
 
void GFEndModeling ()
 
G4bool GFIsInModeling ()
 
G4bool IsSavingGdd (void)
 
void BeginSavingGdd (void)
 
void EndSavingGdd (void)
 
void SetGddFileName ()
 
G4GMocrenFileGetSystem ()
 
const char * GetGddFileName ()
 
- Public Member Functions inherited from G4VSceneHandler
 G4VSceneHandler (G4VGraphicsSystem &system, G4int id, const G4String &name="")
 
virtual ~G4VSceneHandler ()
 
virtual void PreAddSolid (const G4Transform3D &objectTransformation, const G4VisAttributes &)
 
virtual void PostAddSolid ()
 
virtual void BeginPrimitives2D (const G4Transform3D &objectTransformation)
 
virtual void EndPrimitives2D ()
 
virtual const G4VisExtentGetExtent () const
 
const G4StringGetName () const
 
G4int GetSceneHandlerId () const
 
G4int GetViewCount () const
 
G4VGraphicsSystemGetGraphicsSystem () const
 
G4SceneGetScene () const
 
const G4ViewerListGetViewerList () const
 
G4VModelGetModel () const
 
G4VViewerGetCurrentViewer () const
 
G4bool GetMarkForClearingTransientStore () const
 
G4bool IsReadyForTransients () const
 
G4bool GetTransientsDrawnThisEvent () const
 
G4bool GetTransientsDrawnThisRun () const
 
const G4Transform3DGetObjectTransformation () const
 
void SetName (const G4String &)
 
void SetCurrentViewer (G4VViewer *)
 
virtual void SetScene (G4Scene *)
 
G4ViewerListSetViewerList ()
 
void SetModel (G4VModel *)
 
void SetMarkForClearingTransientStore (G4bool)
 
void SetTransientsDrawnThisEvent (G4bool)
 
void SetTransientsDrawnThisRun (G4bool)
 
void SetObjectTransformation (const G4Transform3D &)
 
const G4ColourGetColour (const G4Visible &)
 
const G4ColourGetColor (const G4Visible &)
 
const G4ColourGetTextColour (const G4Text &)
 
const G4ColourGetTextColor (const G4Text &)
 
G4double GetLineWidth (const G4VisAttributes *)
 
G4ViewParameters::DrawingStyle GetDrawingStyle (const G4VisAttributes *)
 
G4bool GetAuxEdgeVisible (const G4VisAttributes *)
 
G4int GetNoOfSides (const G4VisAttributes *)
 
G4double GetMarkerSize (const G4VMarker &, MarkerSizeType &)
 
G4double GetMarkerDiameter (const G4VMarker &, MarkerSizeType &)
 
G4double GetMarkerRadius (const G4VMarker &, MarkerSizeType &)
 
G4ModelingParametersCreateModelingParameters ()
 
void DrawEvent (const G4Event *)
 
void DrawEndOfRunModels ()
 
G4int IncrementViewCount ()
 
virtual void ClearStore ()
 
void AddViewerToList (G4VViewer *pView)
 
void RemoveViewerFromList (G4VViewer *pView)
 
- Public Member Functions inherited from G4VGraphicsScene
 G4VGraphicsScene ()
 
virtual ~G4VGraphicsScene ()
 

Private Member Functions

void InitializeParameters ()
 
G4bool IsVisible ()
 
void AddDetector (const G4VSolid &solid)
 
void ExtractDetector ()
 
void GetNestedVolumeIndex (G4int, G4int[3])
 

Private Attributes

G4GMocrenFilekSystem
 
G4GMocrenMessengerkMessenger
 
G4GMocrenIOkgMocrenIO
 
std::map< G4int, float > kModality
 
G4int kModalitySize [3]
 
G4bool kbSetModalityVoxelSize
 
G4bool kbModelingTrajectory
 
G4Transform3D kVolumeTrans3D
 
std::vector< DetectorkDetectors
 
G4ThreeVector kVolumeSize
 
G4ThreeVector kVoxelDimension
 
std::vector< G4StringkNestedVolumeNames
 
G4int kNestedVolumeDimension [3]
 
G4int kNestedVolumeDirAxis [3]
 
std::map< Index3D, float > kNestedModality
 
std::map< G4String, std::map
< Index3D, G4double > > 
kNestedHitsList
 
std::ofstream kGddDest
 
G4bool kFlagInModeling
 
G4bool kFlagSaving_g4_gdd
 
G4int kFlagParameterization
 
G4bool kFlagProcessedInteractiveScorer
 
char kGddDestDir [256]
 
char kGddFileName [256]
 
G4int kMaxFileNum
 

Static Private Attributes

static G4int kSceneIdCount = 0
 

Friends

class G4GMocrenFileViewer
 

Additional Inherited Members

- Public Types inherited from G4VSceneHandler
enum  MarkerSizeType { world, screen }
 
- Protected Member Functions inherited from G4VSceneHandler
virtual void ProcessScene ()
 
virtual void RequestPrimitives (const G4VSolid &solid)
 
virtual G4VSolidCreateSectionSolid ()
 
virtual G4VSolidCreateCutawaySolid ()
 
void LoadAtts (const G4Visible &, G4AttHolder *)
 
- Protected Attributes inherited from G4VSceneHandler
G4VGraphicsSystemfSystem
 
const G4int fSceneHandlerId
 
G4String fName
 
G4int fViewCount
 
G4ViewerList fViewerList
 
G4VViewerfpViewer
 
G4ScenefpScene
 
G4bool fMarkForClearingTransientStore
 
G4bool fReadyForTransients
 
G4bool fTransientsDrawnThisEvent
 
G4bool fTransientsDrawnThisRun
 
G4bool fProcessingSolid
 
G4bool fProcessing2D
 
G4VModelfpModel
 
G4Transform3D fObjectTransformation
 
G4int fNestingDepth
 
const G4VisAttributesfpVisAttribs
 
const G4Transform3D fIdentityTransformation
 

Detailed Description

Definition at line 54 of file G4GMocrenFileSceneHandler.hh.

Constructor & Destructor Documentation

G4GMocrenFileSceneHandler::G4GMocrenFileSceneHandler ( G4GMocrenFile system,
G4GMocrenMessenger messenger,
const G4String name = "" 
)

Definition at line 118 of file G4GMocrenFileSceneHandler.cc.

References DEFAULT_GDD_FILE_NAME, FR_MAX_FILE_NUM, InitializeParameters(), kGddDestDir, kGddFileName, and kMaxFileNum.

+ Here is the call graph for this function:

G4GMocrenFileSceneHandler::~G4GMocrenFileSceneHandler ( )
virtual

Definition at line 166 of file G4GMocrenFileSceneHandler.cc.

References G4VisManager::confirmations, G4cout, G4endl, G4VisManager::GetVerbosity(), GFDEBUG, GFEndModeling(), kGddDest, and kgMocrenIO.

+ Here is the call graph for this function:

Member Function Documentation

void G4GMocrenFileSceneHandler::AddCompound ( const G4VTrajectory traj)
virtual
void G4GMocrenFileSceneHandler::AddCompound ( const G4VHit hit)
virtual

Reimplemented from G4VSceneHandler.

Definition at line 1591 of file G4GMocrenFileSceneHandler.cc.

References G4VSceneHandler::AddCompound(), G4VHit::CreateAttValues(), FatalException, G4cout, G4endl, G4Exception(), G4GMocrenMessenger::getHitNames(), GFDEBUG_HIT, kMessenger, kNestedHitsList, and G4GMocrenFileSceneHandler::Index3D::x.

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::AddCompound ( const G4VDigi hit)
virtual

Reimplemented from G4VSceneHandler.

Definition at line 1691 of file G4GMocrenFileSceneHandler.cc.

References G4VSceneHandler::AddCompound(), G4cout, G4endl, and GFDEBUG_DIGI.

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::AddCompound ( const G4THitsMap< G4double > &  hits)
virtual

Reimplemented from G4VSceneHandler.

Definition at line 1696 of file G4GMocrenFileSceneHandler.cc.

References G4cout, G4endl, G4GMocrenMessenger::getHitScorerNames(), G4THitsMap< T >::GetMap(), G4VSceneHandler::GetName(), GetNestedVolumeIndex(), GFDEBUG_HIT, kMessenger, kNestedHitsList, and kNestedVolumeDimension.

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::AddDetector ( const G4VSolid solid)
private

Definition at line 1801 of file G4GMocrenFileSceneHandler.cc.

References G4GMocrenFileSceneHandler::Detector::color, G4VSolid::CreatePolyhedron(), G4VSceneHandler::fObjectTransformation, G4VSceneHandler::fpModel, G4cout, G4endl, G4Colour::GetBlue(), G4VisAttributes::GetColor(), G4PhysicalVolumeModel::GetCurrentLV(), G4Colour::GetGreen(), G4VSceneHandler::GetModel(), G4VSolid::GetName(), G4Colour::GetRed(), G4LogicalVolume::GetVisAttributes(), GFDEBUG_DET, kDetectors, G4GMocrenFileSceneHandler::Detector::name, G4GMocrenFileSceneHandler::Detector::polyhedron, and G4GMocrenFileSceneHandler::Detector::transform3D.

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GMocrenFileSceneHandler::AddPrimitive ( const G4Polyline line)
virtual
void G4GMocrenFileSceneHandler::AddPrimitive ( const G4Polyhedron p)
virtual
void G4GMocrenFileSceneHandler::AddPrimitive ( const G4Text text)
virtual

Implements G4VSceneHandler.

Definition at line 624 of file G4GMocrenFileSceneHandler.cc.

References G4VisManager::confirmations, G4VSceneHandler::fProcessing2D, G4cout, G4endl, G4Exception(), G4VisManager::GetVerbosity(), GFBeginModeling(), GFDEBUG, and JustWarning.

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::AddPrimitive ( const G4Circle mark_circle)
virtual

Implements G4VSceneHandler.

Definition at line 652 of file G4GMocrenFileSceneHandler.cc.

References G4VisManager::confirmations, G4VSceneHandler::fProcessing2D, G4cout, G4endl, G4Exception(), G4VisManager::GetVerbosity(), GFBeginModeling(), GFDEBUG, and JustWarning.

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::AddPrimitive ( const G4Square mark_square)
virtual

Implements G4VSceneHandler.

Definition at line 681 of file G4GMocrenFileSceneHandler.cc.

References G4VisManager::confirmations, G4VSceneHandler::fProcessing2D, G4cout, G4endl, G4Exception(), G4VisManager::GetVerbosity(), GFBeginModeling(), GFDEBUG, and JustWarning.

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::AddPrimitive ( const G4Polymarker polymarker)
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 75 of file G4GMocrenFileSceneHandler.hh.

References G4VSceneHandler::AddPrimitive().

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::AddPrimitive ( const G4Scale scale)
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 77 of file G4GMocrenFileSceneHandler.hh.

References G4VSceneHandler::AddPrimitive().

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::AddSolid ( const G4Box box)
virtual

Reimplemented from G4VSceneHandler.

Definition at line 828 of file G4GMocrenFileSceneHandler.cc.

References AddDetector(), cm, cm3, G4VNestedParameterisation::ComputeDimensions(), G4PhantomParameterisation::ComputeMaterial(), G4VNestedParameterisation::ComputeMaterial(), G4VNestedParameterisation::ComputeTransformation(), G4VisManager::confirmations, G4Box::CreatePolyhedron(), FatalException, G4ScoringManager::FindMesh(), G4VSceneHandler::fObjectTransformation, G4VSceneHandler::fpModel, g, G4cout, G4endl, G4Exception(), G4VPhysicalVolume::GetCopyNo(), G4PhysicalVolumeModel::GetCurrentDepth(), G4PhysicalVolumeModel::GetCurrentMaterial(), G4PhysicalVolumeModel::GetCurrentPV(), G4LogicalVolume::GetDaughter(), G4Material::GetDensity(), G4PhysicalVolumeModel::GetDrawnPVPath(), G4GMocrenMessenger::getDrawVolumeGrid(), G4VPhysicalVolume::GetLogicalVolume(), G4VSceneHandler::GetModel(), G4VPhysicalVolume::GetMultiplicity(), G4VSolid::GetName(), G4VPhysicalVolume::GetName(), G4Material::GetName(), G4VSceneHandler::GetName(), G4LogicalVolume::GetNoDaughters(), G4PhantomParameterisation::GetNoVoxelX(), G4PhantomParameterisation::GetNoVoxelY(), G4PhantomParameterisation::GetNoVoxelZ(), G4VScoringMesh::GetNumberOfSegments(), G4VPhysicalVolume::GetObjectTranslation(), G4VPhysicalVolume::GetParameterisation(), G4VPhysicalVolume::GetReplicationData(), G4VScoringMesh::GetRotationMatrix(), G4ScoringManager::GetScoringManager(), G4VScoringMesh::GetSize(), G4PhysicalVolumeModel::GetTopPhysicalVolume(), G4VScoringMesh::GetTranslation(), G4VisManager::GetVerbosity(), G4GMocrenMessenger::getVolumeName(), G4PhantomParameterisation::GetVoxelHalfX(), G4PhantomParameterisation::GetVoxelHalfY(), G4PhantomParameterisation::GetVoxelHalfZ(), G4Box::GetXHalfLength(), G4Box::GetYHalfLength(), G4Box::GetZHalfLength(), GFBeginModeling(), GFDEBUG, GFDEBUG_DET, G4VPVParameterisation::IsNested(), G4VPhysicalVolume::IsParameterised(), G4VPhysicalVolume::IsReplicated(), IsVisible(), kbSetModalityVoxelSize, kFlagParameterization, kFlagProcessedInteractiveScorer, kgMocrenIO, kMessenger, kNestedModality, kNestedVolumeDimension, kNestedVolumeDirAxis, kNestedVolumeNames, kVolumeSize, kVolumeTrans3D, kVoxelDimension, kXAxis, kYAxis, kZAxis, mm, name, G4INCL::Math::pi, rad, G4GMocrenIO::setVoxelSpacing(), and width.

void G4GMocrenFileSceneHandler::AddSolid ( const G4Cons cons)
virtual

Reimplemented from G4VSceneHandler.

Definition at line 1419 of file G4GMocrenFileSceneHandler.cc.

References AddDetector(), G4VisManager::confirmations, G4cout, G4endl, G4VisManager::GetVerbosity(), GFBeginModeling(), GFDEBUG, and IsVisible().

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::AddSolid ( const G4Tubs tubs)
virtual

Reimplemented from G4VSceneHandler.

Definition at line 1376 of file G4GMocrenFileSceneHandler.cc.

References AddDetector(), G4VisManager::confirmations, G4Tubs::CreatePolyhedron(), G4VSceneHandler::fpModel, G4cout, G4endl, G4PhysicalVolumeModel::GetCurrentMaterial(), G4VSceneHandler::GetModel(), G4VSolid::GetName(), G4Material::GetName(), G4VisManager::GetVerbosity(), GFBeginModeling(), GFDEBUG, GFDEBUG_DET, IsVisible(), and name.

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::AddSolid ( const G4Trd trd)
virtual

Reimplemented from G4VSceneHandler.

Definition at line 1437 of file G4GMocrenFileSceneHandler.cc.

References AddDetector(), G4VisManager::confirmations, G4cout, G4endl, G4VisManager::GetVerbosity(), GFBeginModeling(), GFDEBUG, and IsVisible().

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::AddSolid ( const G4Trap trap)
virtual

Reimplemented from G4VSceneHandler.

Definition at line 1492 of file G4GMocrenFileSceneHandler.cc.

References AddDetector(), G4VisManager::confirmations, G4cout, G4endl, G4VisManager::GetVerbosity(), GFBeginModeling(), GFDEBUG, and IsVisible().

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::AddSolid ( const G4Sphere sphere)
virtual

Reimplemented from G4VSceneHandler.

Definition at line 1456 of file G4GMocrenFileSceneHandler.cc.

References AddDetector(), G4VisManager::confirmations, G4cout, G4endl, G4VisManager::GetVerbosity(), GFBeginModeling(), GFDEBUG, and IsVisible().

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::AddSolid ( const G4Para para)
virtual

Reimplemented from G4VSceneHandler.

Definition at line 1474 of file G4GMocrenFileSceneHandler.cc.

References AddDetector(), G4VisManager::confirmations, G4cout, G4endl, G4VisManager::GetVerbosity(), GFBeginModeling(), GFDEBUG, and IsVisible().

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::AddSolid ( const G4Torus torus)
virtual

Reimplemented from G4VSceneHandler.

Definition at line 1511 of file G4GMocrenFileSceneHandler.cc.

References AddDetector(), G4VisManager::confirmations, G4cout, G4endl, G4VisManager::GetVerbosity(), GFBeginModeling(), GFDEBUG, and IsVisible().

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::AddSolid ( const G4Polycone polycone)
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 94 of file G4GMocrenFileSceneHandler.hh.

References G4VSceneHandler::AddSolid().

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::AddSolid ( const G4Polyhedra polyhedra)
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 97 of file G4GMocrenFileSceneHandler.hh.

References G4VSceneHandler::AddSolid().

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::AddSolid ( const G4VSolid solid)
virtual

Reimplemented from G4VSceneHandler.

Definition at line 1530 of file G4GMocrenFileSceneHandler.cc.

References AddDetector(), G4VSceneHandler::AddSolid(), GFBeginModeling(), and IsVisible().

+ Here is the call graph for this function:

virtual void G4GMocrenFileSceneHandler::BeginModeling ( )
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 80 of file G4GMocrenFileSceneHandler.hh.

References G4VSceneHandler::BeginModeling().

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::BeginPrimitives ( const G4Transform3D objectTransformation)
virtual

Reimplemented from G4VSceneHandler.

Definition at line 803 of file G4GMocrenFileSceneHandler.cc.

References G4VSceneHandler::BeginPrimitives(), G4VisManager::confirmations, G4cout, G4endl, G4VisManager::GetVerbosity(), GFBeginModeling(), and GFDEBUG.

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::BeginSavingGdd ( void  )

Definition at line 268 of file G4GMocrenFileSceneHandler.cc.

References G4GMocrenIO::clearDetector(), G4GMocrenIO::clearDoseDistAll(), G4GMocrenIO::clearROIAll(), G4GMocrenIO::clearTracks(), G4VisManager::confirmations, G4cout, G4endl, G4GMocrenFileCTtoDensityMap::GetDensity(), G4GMocrenFileCTtoDensityMap::GetMaxCT(), G4GMocrenFileCTtoDensityMap::GetMinCT(), G4VisManager::GetVerbosity(), GFDEBUG, IsSavingGdd(), kDetectors, kFlagSaving_g4_gdd, kgMocrenIO, kNestedHitsList, kNestedVolumeNames, SetGddFileName(), G4GMocrenIO::setModalityImageDensityMap(), and G4GMocrenIO::setModalityImageMinMax().

Referenced by GFBeginModeling().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GMocrenFileSceneHandler::ClearTransientStore ( )
virtual

Reimplemented from G4VSceneHandler.

Definition at line 1788 of file G4GMocrenFileSceneHandler.cc.

References G4VSceneHandler::fpViewer.

virtual void G4GMocrenFileSceneHandler::EndModeling ( )
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 81 of file G4GMocrenFileSceneHandler.hh.

References G4VSceneHandler::EndModeling().

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::EndPrimitives ( )
virtual

Reimplemented from G4VSceneHandler.

Definition at line 816 of file G4GMocrenFileSceneHandler.cc.

References G4VisManager::confirmations, G4VSceneHandler::EndPrimitives(), G4cout, G4endl, G4VisManager::GetVerbosity(), and GFDEBUG.

+ Here is the call graph for this function:

void G4GMocrenFileSceneHandler::ExtractDetector ( )
private

Definition at line 1845 of file G4GMocrenFileSceneHandler.cc.

References G4GMocrenIO::addDetector(), G4cout, G4endl, GFDEBUG_DET, kDetectors, kgMocrenIO, kVolumeTrans3D, and mm.

Referenced by EndSavingGdd().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const char* G4GMocrenFileSceneHandler::GetGddFileName ( )
inline

Definition at line 120 of file G4GMocrenFileSceneHandler.hh.

References kGddFileName.

Referenced by G4GMocrenFileViewer::G4GMocrenFileViewer(), and G4GMocrenFileViewer::ShowView().

+ Here is the caller graph for this function:

void G4GMocrenFileSceneHandler::GetNestedVolumeIndex ( G4int  _idx,
G4int  _idx3d[3] 
)
private

Definition at line 1900 of file G4GMocrenFileSceneHandler.cc.

References kFlagParameterization, kNestedVolumeDimension, and kNestedVolumeDirAxis.

Referenced by AddCompound().

+ Here is the caller graph for this function:

G4GMocrenFile& G4GMocrenFileSceneHandler::GetSystem ( )
inline

Definition at line 119 of file G4GMocrenFileSceneHandler.hh.

References kSystem.

void G4GMocrenFileSceneHandler::GFBeginModeling ( void  )

Definition at line 497 of file G4GMocrenFileSceneHandler.cc.

References G4VSceneHandler::BeginModeling(), BeginSavingGdd(), G4VisManager::confirmations, G4cout, G4endl, G4Scene::GetEndOfEventModelList(), G4VSceneHandler::GetScene(), G4VisManager::GetVerbosity(), GFDEBUG, GFDEBUG_HIT, GFIsInModeling(), and kFlagInModeling.

Referenced by AddPrimitive(), AddSolid(), BeginPrimitives(), G4GMocrenFileViewer::ClearView(), and G4GMocrenFileViewer::DrawView().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GMocrenFileSceneHandler::GFEndModeling ( )

Definition at line 776 of file G4GMocrenFileSceneHandler.cc.

References G4VisManager::confirmations, G4VSceneHandler::EndModeling(), EndSavingGdd(), G4cout, G4endl, G4VisManager::GetVerbosity(), GFDEBUG, GFIsInModeling(), and kFlagInModeling.

Referenced by G4GMocrenFileViewer::ShowView(), and ~G4GMocrenFileSceneHandler().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4GMocrenFileSceneHandler::GFIsInModeling ( )
inline

Definition at line 112 of file G4GMocrenFileSceneHandler.hh.

References kFlagInModeling.

Referenced by GFBeginModeling(), GFEndModeling(), and G4GMocrenFileViewer::ShowView().

+ Here is the caller graph for this function:

void G4GMocrenFileSceneHandler::InitializeParameters ( )
private

Definition at line 181 of file G4GMocrenFileSceneHandler.cc.

References kbSetModalityVoxelSize, kModalitySize, kNestedVolumeDimension, and kNestedVolumeDirAxis.

Referenced by G4GMocrenFileSceneHandler().

+ Here is the caller graph for this function:

G4bool G4GMocrenFileSceneHandler::IsSavingGdd ( void  )
inline

Definition at line 114 of file G4GMocrenFileSceneHandler.hh.

References kFlagSaving_g4_gdd.

Referenced by BeginSavingGdd(), and EndSavingGdd().

+ Here is the caller graph for this function:

G4bool G4GMocrenFileSceneHandler::IsVisible ( void  )
private

Definition at line 1770 of file G4GMocrenFileSceneHandler.cc.

References G4VSceneHandler::fpViewer, G4VSceneHandler::fpVisAttribs, G4VViewer::GetApplicableVisAttributes(), and G4VisAttributes::IsVisible().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GMocrenFileSceneHandler::SetGddFileName ( )

Definition at line 196 of file G4GMocrenFileSceneHandler.cc.

References DEFAULT_GDD_FILE_NAME, G4cout, G4endl, GDD_FILE_HEADER, G4VisManager::GetVerbosity(), GFDEBUG, kGddDestDir, kGddFileName, kMaxFileNum, MAX_NUM_TRAJECTORIES, and G4VisManager::warnings.

Referenced by BeginSavingGdd().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class G4GMocrenFileViewer
friend

Definition at line 56 of file G4GMocrenFileSceneHandler.hh.

Member Data Documentation

G4bool G4GMocrenFileSceneHandler::kbModelingTrajectory
private

Definition at line 146 of file G4GMocrenFileSceneHandler.hh.

Referenced by AddCompound(), and AddPrimitive().

G4bool G4GMocrenFileSceneHandler::kbSetModalityVoxelSize
private

Definition at line 145 of file G4GMocrenFileSceneHandler.hh.

Referenced by AddSolid(), and InitializeParameters().

std::vector<Detector> G4GMocrenFileSceneHandler::kDetectors
private

Definition at line 163 of file G4GMocrenFileSceneHandler.hh.

Referenced by AddDetector(), BeginSavingGdd(), and ExtractDetector().

G4bool G4GMocrenFileSceneHandler::kFlagInModeling
private
G4int G4GMocrenFileSceneHandler::kFlagParameterization
private

Definition at line 203 of file G4GMocrenFileSceneHandler.hh.

Referenced by AddSolid(), and GetNestedVolumeIndex().

G4bool G4GMocrenFileSceneHandler::kFlagProcessedInteractiveScorer
private

Definition at line 206 of file G4GMocrenFileSceneHandler.hh.

Referenced by AddSolid().

G4bool G4GMocrenFileSceneHandler::kFlagSaving_g4_gdd
private

Definition at line 201 of file G4GMocrenFileSceneHandler.hh.

Referenced by BeginSavingGdd(), EndSavingGdd(), and IsSavingGdd().

std::ofstream G4GMocrenFileSceneHandler::kGddDest
private

Definition at line 191 of file G4GMocrenFileSceneHandler.hh.

Referenced by EndSavingGdd(), and ~G4GMocrenFileSceneHandler().

char G4GMocrenFileSceneHandler::kGddDestDir[256]
private

Definition at line 208 of file G4GMocrenFileSceneHandler.hh.

Referenced by G4GMocrenFileSceneHandler(), and SetGddFileName().

char G4GMocrenFileSceneHandler::kGddFileName[256]
private
G4GMocrenIO* G4GMocrenFileSceneHandler::kgMocrenIO
private
G4int G4GMocrenFileSceneHandler::kMaxFileNum
private

Definition at line 210 of file G4GMocrenFileSceneHandler.hh.

Referenced by G4GMocrenFileSceneHandler(), and SetGddFileName().

G4GMocrenMessenger& G4GMocrenFileSceneHandler::kMessenger
private

Definition at line 139 of file G4GMocrenFileSceneHandler.hh.

Referenced by AddCompound(), and AddSolid().

std::map<G4int, float> G4GMocrenFileSceneHandler::kModality
private

Definition at line 142 of file G4GMocrenFileSceneHandler.hh.

G4int G4GMocrenFileSceneHandler::kModalitySize[3]
private

Definition at line 143 of file G4GMocrenFileSceneHandler.hh.

Referenced by EndSavingGdd(), and InitializeParameters().

std::map<G4String, std::map<Index3D, G4double> > G4GMocrenFileSceneHandler::kNestedHitsList
private

Definition at line 188 of file G4GMocrenFileSceneHandler.hh.

Referenced by AddCompound(), BeginSavingGdd(), and EndSavingGdd().

std::map<Index3D, float> G4GMocrenFileSceneHandler::kNestedModality
private

Definition at line 186 of file G4GMocrenFileSceneHandler.hh.

Referenced by AddSolid(), and EndSavingGdd().

G4int G4GMocrenFileSceneHandler::kNestedVolumeDimension[3]
private
G4int G4GMocrenFileSceneHandler::kNestedVolumeDirAxis[3]
private
std::vector<G4String> G4GMocrenFileSceneHandler::kNestedVolumeNames
private

Definition at line 166 of file G4GMocrenFileSceneHandler.hh.

Referenced by AddSolid(), and BeginSavingGdd().

G4int G4GMocrenFileSceneHandler::kSceneIdCount = 0
staticprivate

Definition at line 148 of file G4GMocrenFileSceneHandler.hh.

G4GMocrenFile& G4GMocrenFileSceneHandler::kSystem
private

Definition at line 138 of file G4GMocrenFileSceneHandler.hh.

Referenced by GetSystem().

G4ThreeVector G4GMocrenFileSceneHandler::kVolumeSize
private

Definition at line 164 of file G4GMocrenFileSceneHandler.hh.

Referenced by AddSolid(), and EndSavingGdd().

G4Transform3D G4GMocrenFileSceneHandler::kVolumeTrans3D
private
G4ThreeVector G4GMocrenFileSceneHandler::kVoxelDimension
private

Definition at line 165 of file G4GMocrenFileSceneHandler.hh.

Referenced by AddSolid(), and EndSavingGdd().


The documentation for this class was generated from the following files: