ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4TrajectoryDrawByOriginVolume Class Reference

#include <geant4/tree/geant4-10.6-release/source/visualization/modeling/include/G4TrajectoryDrawByOriginVolume.hh>

+ Inheritance diagram for G4TrajectoryDrawByOriginVolume:
+ Collaboration diagram for G4TrajectoryDrawByOriginVolume:

Public Member Functions

 G4TrajectoryDrawByOriginVolume (const G4String &name="Unspecified", G4VisTrajContext *context=0)
 
virtual ~G4TrajectoryDrawByOriginVolume ()
 
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 &particle, const G4String &colour)
 
void Set (const G4String &particle, 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 42 of file G4TrajectoryDrawByOriginVolume.hh.

View newest version in sPHENIX GitHub at line 42 of file G4TrajectoryDrawByOriginVolume.hh

Constructor & Destructor Documentation

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

Definition at line 36 of file G4TrajectoryDrawByOriginVolume.cc.

View newest version in sPHENIX GitHub at line 36 of file G4TrajectoryDrawByOriginVolume.cc

G4TrajectoryDrawByOriginVolume::~G4TrajectoryDrawByOriginVolume ( )
virtual

Definition at line 41 of file G4TrajectoryDrawByOriginVolume.cc.

View newest version in sPHENIX GitHub at line 41 of file G4TrajectoryDrawByOriginVolume.cc

Member Function Documentation

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

Implements G4VTrajectoryModel.

Definition at line 118 of file G4TrajectoryDrawByOriginVolume.cc.

View newest version in sPHENIX GitHub at line 118 of file G4TrajectoryDrawByOriginVolume.cc

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

+ Here is the call graph for this function:

void G4TrajectoryDrawByOriginVolume::Set ( const G4String particle,
const G4String colour 
)

Definition at line 106 of file G4TrajectoryDrawByOriginVolume.cc.

View newest version in sPHENIX GitHub at line 106 of file G4TrajectoryDrawByOriginVolume.cc

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

+ Here is the call graph for this function:

void G4TrajectoryDrawByOriginVolume::Set ( const G4String particle,
const G4Colour colour 
)

Definition at line 112 of file G4TrajectoryDrawByOriginVolume.cc.

View newest version in sPHENIX GitHub at line 112 of file G4TrajectoryDrawByOriginVolume.cc

References fMap, and particle.

void G4TrajectoryDrawByOriginVolume::SetDefault ( const G4String colour)

Definition at line 83 of file G4TrajectoryDrawByOriginVolume.cc.

View newest version in sPHENIX GitHub at line 83 of file G4TrajectoryDrawByOriginVolume.cc

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

+ Here is the call graph for this function:

void G4TrajectoryDrawByOriginVolume::SetDefault ( const G4Colour colour)

Definition at line 100 of file G4TrajectoryDrawByOriginVolume.cc.

View newest version in sPHENIX GitHub at line 100 of file G4TrajectoryDrawByOriginVolume.cc

References fDefault.

Member Data Documentation

G4Colour G4TrajectoryDrawByOriginVolume::fDefault
private

Definition at line 68 of file G4TrajectoryDrawByOriginVolume.hh.

View newest version in sPHENIX GitHub at line 68 of file G4TrajectoryDrawByOriginVolume.hh

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

G4ModelColourMap<G4String> G4TrajectoryDrawByOriginVolume::fMap
private

Definition at line 67 of file G4TrajectoryDrawByOriginVolume.hh.

View newest version in sPHENIX GitHub at line 67 of file G4TrajectoryDrawByOriginVolume.hh

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


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