Geant4  10.00.p01
GMocrenTrack Class Reference

#include <G4GMocrenIO.hh>

Classes

struct  Step
 

Public Member Functions

 GMocrenTrack ()
 
 ~GMocrenTrack ()
 
int getNumberOfSteps ()
 
void addStep (float _startx, float _starty, float _startz, float _endx, float _endy, float _endz)
 
void getStep (float &_startx, float &_starty, float &_startz, float &_endx, float &_endy, float &_endz, int _num)
 
void setTrack (std::vector< struct Step > &_aTrack)
 
void setColor (unsigned char _color[3])
 
void getColor (unsigned char _color[3])
 
void translate (std::vector< float > &_tranlate)
 

Protected Attributes

std::vector< struct StepkTrack
 
unsigned char kColor [3]
 

Detailed Description

Definition at line 91 of file G4GMocrenIO.hh.

Constructor & Destructor Documentation

GMocrenTrack::GMocrenTrack ( )

Definition at line 250 of file G4GMocrenIO.cc.

References kColor, and kTrack.

GMocrenTrack::~GMocrenTrack ( )
inline

Definition at line 103 of file G4GMocrenIO.hh.

Member Function Documentation

void GMocrenTrack::addStep ( float  _startx,
float  _starty,
float  _startz,
float  _endx,
float  _endy,
float  _endz 
)
void GMocrenTrack::getColor ( unsigned char  _color[3])
inline

Definition at line 116 of file G4GMocrenIO.hh.

int GMocrenTrack::getNumberOfSteps ( )
inline

Definition at line 106 of file G4GMocrenIO.hh.

void GMocrenTrack::getStep ( float &  _startx,
float &  _starty,
float &  _startz,
float &  _endx,
float &  _endy,
float &  _endz,
int  _num 
)

Definition at line 266 of file G4GMocrenIO.cc.

References G4VisManager::errors, G4cout, G4endl, G4VisManager::GetVerbosity(), and kTrack.

+ Here is the call graph for this function:

void GMocrenTrack::setColor ( unsigned char  _color[3])
inline

Definition at line 113 of file G4GMocrenIO.hh.

Referenced by G4GMocrenIO::addTrack().

+ Here is the caller graph for this function:

void GMocrenTrack::setTrack ( std::vector< struct Step > &  _aTrack)
inline

Definition at line 112 of file G4GMocrenIO.hh.

Referenced by G4GMocrenIO::addTrack().

+ Here is the caller graph for this function:

void GMocrenTrack::translate ( std::vector< float > &  _tranlate)

Definition at line 283 of file G4GMocrenIO.cc.

References kTrack.

Member Data Documentation

unsigned char GMocrenTrack::kColor[3]
protected

Definition at line 99 of file G4GMocrenIO.hh.

Referenced by GMocrenTrack().

std::vector<struct Step> GMocrenTrack::kTrack
protected

Definition at line 98 of file G4GMocrenIO.hh.

Referenced by addStep(), getStep(), GMocrenTrack(), and translate().


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