Geant4  10.03
G4TrajectoryDrawByEncounteredVolume Class Reference

#include <G4TrajectoryDrawByEncounteredVolume.hh>

+ Inheritance diagram for G4TrajectoryDrawByEncounteredVolume:
+ Collaboration diagram for G4TrajectoryDrawByEncounteredVolume:

Public Member Functions

 G4TrajectoryDrawByEncounteredVolume (const G4String &name="Unspecified", G4VisTrajContext *context=0)
 
virtual ~G4TrajectoryDrawByEncounteredVolume ()
 
virtual void Draw (const G4VTrajectory &trajectory, const G4bool &visible=true) const
 
virtual void Print (std::ostream &ostr) const
 
void SetDefault (const G4String &)
 
void SetDefault (const G4Colour &)
 
void Set (const G4String &pvname, const G4String &colour)
 
void Set (const G4String &pvname, const G4Colour &colour)
 
- Public Member Functions inherited from G4VTrajectoryModel
 G4VTrajectoryModel (const G4String &name, G4VisTrajContext *fpContext=0)
 
virtual ~G4VTrajectoryModel ()
 
G4String Name () const
 
const G4VisTrajContextGetContext () const
 
void SetVerbose (const G4bool &)
 
G4bool GetVerbose () const
 

Private Attributes

G4ModelColourMap< G4StringfMap
 
G4Colour fDefault
 

Detailed Description

Definition at line 44 of file G4TrajectoryDrawByEncounteredVolume.hh.

Constructor & Destructor Documentation

G4TrajectoryDrawByEncounteredVolume::G4TrajectoryDrawByEncounteredVolume ( const G4String name = "Unspecified",
G4VisTrajContext context = 0 
)

Definition at line 40 of file G4TrajectoryDrawByEncounteredVolume.cc.

G4TrajectoryDrawByEncounteredVolume::~G4TrajectoryDrawByEncounteredVolume ( )
virtual

Definition at line 45 of file G4TrajectoryDrawByEncounteredVolume.cc.

Member Function Documentation

void G4TrajectoryDrawByEncounteredVolume::Print ( std::ostream &  ostr) const
virtual

Implements G4VTrajectoryModel.

Definition at line 141 of file G4TrajectoryDrawByEncounteredVolume.cc.

References fDefault, fMap, G4VTrajectoryModel::GetContext(), G4VTrajectoryModel::Name(), G4VisTrajContext::Print(), and G4ModelColourMap< T >::Print().

+ Here is the call graph for this function:

void G4TrajectoryDrawByEncounteredVolume::Set ( const G4String pvname,
const G4String colour 
)

Definition at line 129 of file G4TrajectoryDrawByEncounteredVolume.cc.

References fMap, and G4ModelColourMap< T >::Set().

+ Here is the call graph for this function:

void G4TrajectoryDrawByEncounteredVolume::Set ( const G4String pvname,
const G4Colour colour 
)

Definition at line 135 of file G4TrajectoryDrawByEncounteredVolume.cc.

References fMap.

void G4TrajectoryDrawByEncounteredVolume::SetDefault ( const G4String colour)

Definition at line 105 of file G4TrajectoryDrawByEncounteredVolume.cc.

References G4Exception(), G4Colour::GetColour(), and JustWarning.

+ Here is the call graph for this function:

void G4TrajectoryDrawByEncounteredVolume::SetDefault ( const G4Colour colour)

Definition at line 123 of file G4TrajectoryDrawByEncounteredVolume.cc.

References fDefault.

Member Data Documentation

G4Colour G4TrajectoryDrawByEncounteredVolume::fDefault
private

Definition at line 70 of file G4TrajectoryDrawByEncounteredVolume.hh.

Referenced by Draw(), Print(), and SetDefault().

G4ModelColourMap<G4String> G4TrajectoryDrawByEncounteredVolume::fMap
private

Definition at line 69 of file G4TrajectoryDrawByEncounteredVolume.hh.

Referenced by Draw(), Print(), and Set().


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