Geant4  10.00.p01
G4TrajectoriesModel Class Reference

#include <G4TrajectoriesModel.hh>

+ Inheritance diagram for G4TrajectoriesModel:
+ Collaboration diagram for G4TrajectoriesModel:

Public Member Functions

 G4TrajectoriesModel ()
 
virtual ~G4TrajectoriesModel ()
 
virtual void DescribeYourselfTo (G4VGraphicsScene &)
 
const G4VTrajectoryGetCurrentTrajectory () const
 
const std::map< G4String,
G4AttDef > * 
GetAttDefs () const
 
std::vector< G4AttValue > * CreateCurrentAttValues () const
 
- Public Member Functions inherited from G4VModel
 G4VModel (const G4Transform3D &modelTransformation=G4Transform3D(), const G4ModelingParameters *=0)
 
virtual ~G4VModel ()
 
const G4ModelingParametersGetModelingParameters () const
 
const G4StringGetType () const
 
virtual G4String GetCurrentDescription () const
 
virtual G4String GetCurrentTag () const
 
const G4VisExtentGetExtent () const
 
const G4StringGetGlobalDescription () const
 
const G4StringGetGlobalTag () const
 
const G4Transform3DGetTransformation () const
 
void SetModelingParameters (const G4ModelingParameters *)
 
void SetExtent (const G4VisExtent &)
 
void SetType (const G4String &)
 
void SetGlobalDescription (const G4String &)
 
void SetGlobalTag (const G4String &)
 
void SetTransformation (const G4Transform3D &)
 
virtual G4bool Validate (G4bool warn=true)
 

Private Attributes

const G4VTrajectoryfpCurrentTrajectory
 
G4int fEventID
 

Additional Inherited Members

- Protected Attributes inherited from G4VModel
G4String fType
 
G4String fGlobalTag
 
G4String fGlobalDescription
 
G4VisExtent fExtent
 
G4Transform3D fTransform
 
const G4ModelingParametersfpMP
 

Detailed Description

Definition at line 52 of file G4TrajectoriesModel.hh.

Constructor & Destructor Documentation

G4TrajectoriesModel::G4TrajectoriesModel ( )
G4TrajectoriesModel::~G4TrajectoriesModel ( )
virtual

Definition at line 53 of file G4TrajectoriesModel.cc.

Member Function Documentation

std::vector< G4AttValue > * G4TrajectoriesModel::CreateCurrentAttValues ( ) const

Definition at line 100 of file G4TrajectoriesModel.cc.

References G4UIcommand::ConvertToString(), and fEventID.

Referenced by G4VSceneHandler::LoadAtts().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4TrajectoriesModel::DescribeYourselfTo ( G4VGraphicsScene sceneHandler)
virtual

Implements G4VModel.

Definition at line 58 of file G4TrajectoriesModel.cc.

References G4VGraphicsScene::AddCompound(), G4VVisManager::BeginDraw(), G4VVisManager::EndDraw(), G4TrajectoryContainer::entries(), fEventID, fpCurrentTrajectory, G4VModel::fpMP, G4VVisManager::GetConcreteInstance(), and G4ModelingParameters::GetEvent().

+ Here is the call graph for this function:

const std::map< G4String, G4AttDef > * G4TrajectoriesModel::GetAttDefs ( ) const

Definition at line 88 of file G4TrajectoriesModel.cc.

References G4AttDefStore::GetInstance().

Referenced by G4VSceneHandler::LoadAtts(), G4VisCommandList::SetNewValue(), and G4VisCommandSceneAddTrajectories::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4VTrajectory* G4TrajectoriesModel::GetCurrentTrajectory ( ) const
inline

Definition at line 63 of file G4TrajectoriesModel.hh.

References fpCurrentTrajectory.

Referenced by G4GMocrenFileSceneHandler::AddCompound(), and G4VSceneHandler::LoadAtts().

+ Here is the caller graph for this function:

Member Data Documentation

G4int G4TrajectoriesModel::fEventID
private

Definition at line 72 of file G4TrajectoriesModel.hh.

Referenced by CreateCurrentAttValues(), and DescribeYourselfTo().

const G4VTrajectory* G4TrajectoriesModel::fpCurrentTrajectory
private

Definition at line 71 of file G4TrajectoriesModel.hh.

Referenced by DescribeYourselfTo(), and GetCurrentTrajectory().


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