Geant4  10.01
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
 
void SetCurrentTrajectory (const G4VTrajectory *pTraj)
 
void SetRunID (G4int runID)
 
void SetEventID (G4int eventID)
 
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 fRunID
 
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 60 of file G4TrajectoriesModel.cc.

Member Function Documentation

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

Definition at line 122 of file G4TrajectoriesModel.cc.

References G4UIcommand::ConvertToString(), fEventID, and fRunID.

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
const std::map< G4String, G4AttDef > * G4TrajectoriesModel::GetAttDefs ( ) const

Definition at line 108 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:

void G4TrajectoriesModel::SetCurrentTrajectory ( const G4VTrajectory pTraj)
inline

Definition at line 66 of file G4TrajectoriesModel.hh.

References fpCurrentTrajectory.

Referenced by G4VisManager::Draw().

+ Here is the caller graph for this function:

void G4TrajectoriesModel::SetEventID ( G4int  eventID)
inline

Definition at line 72 of file G4TrajectoriesModel.hh.

References fEventID.

Referenced by G4VisManager::Draw().

+ Here is the caller graph for this function:

void G4TrajectoriesModel::SetRunID ( G4int  runID)
inline

Definition at line 69 of file G4TrajectoriesModel.hh.

References fRunID.

Referenced by G4VisManager::Draw().

+ Here is the caller graph for this function:

Member Data Documentation

G4int G4TrajectoriesModel::fEventID
private

Definition at line 82 of file G4TrajectoriesModel.hh.

Referenced by CreateCurrentAttValues(), DescribeYourselfTo(), and SetEventID().

const G4VTrajectory* G4TrajectoriesModel::fpCurrentTrajectory
private
G4int G4TrajectoriesModel::fRunID
private

Definition at line 81 of file G4TrajectoriesModel.hh.

Referenced by CreateCurrentAttValues(), DescribeYourselfTo(), and SetRunID().


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