Geant4  10.01.p03
GMocrenDetector Class Reference

#include <G4GMocrenIO.hh>

+ Collaboration diagram for GMocrenDetector:

Classes

struct  Edge
 

Public Member Functions

 GMocrenDetector ()
 
 ~GMocrenDetector ()
 
int getNumberOfEdges ()
 
void addEdge (float _startx, float _starty, float _startz, float _endx, float _endy, float _endz)
 
void getEdge (float &_startx, float &_starty, float &_startz, float &_endx, float &_endy, float &_endz, int _num)
 
void setDetector (std::vector< struct Edge > &_aDetector)
 
void setColor (unsigned char _color[3])
 
void getColor (unsigned char _color[3])
 
void setName (std::string &_name)
 
std::string getName ()
 
void translate (std::vector< float > &_tranlate)
 

Protected Attributes

std::vector< struct EdgekDetector
 
unsigned char kColor [3]
 
std::string kName
 

Detailed Description

Definition at line 127 of file G4GMocrenIO.hh.

Constructor & Destructor Documentation

GMocrenDetector::GMocrenDetector ( )

Definition at line 301 of file G4GMocrenIO.cc.

References kColor, and kDetector.

GMocrenDetector::~GMocrenDetector ( )
inline

Definition at line 140 of file G4GMocrenIO.hh.

Member Function Documentation

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

Definition at line 153 of file G4GMocrenIO.hh.

void GMocrenDetector::getEdge ( float &  _startx,
float &  _starty,
float &  _startz,
float &  _endx,
float &  _endy,
float &  _endz,
int  _num 
)

Definition at line 317 of file G4GMocrenIO.cc.

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

+ Here is the call graph for this function:

std::string GMocrenDetector::getName ( void  )
inline

Definition at line 157 of file G4GMocrenIO.hh.

References kName.

int GMocrenDetector::getNumberOfEdges ( )
inline

Definition at line 143 of file G4GMocrenIO.hh.

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

Definition at line 150 of file G4GMocrenIO.hh.

Referenced by G4GMocrenIO::addDetector().

+ Here is the caller graph for this function:

void GMocrenDetector::setDetector ( std::vector< struct Edge > &  _aDetector)
inline

Definition at line 149 of file G4GMocrenIO.hh.

Referenced by G4GMocrenIO::addDetector().

+ Here is the caller graph for this function:

void GMocrenDetector::setName ( std::string &  _name)
inline

Definition at line 156 of file G4GMocrenIO.hh.

Referenced by G4GMocrenIO::addDetector().

+ Here is the caller graph for this function:

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

Definition at line 334 of file G4GMocrenIO.cc.

References kDetector.

Member Data Documentation

unsigned char GMocrenDetector::kColor[3]
protected

Definition at line 135 of file G4GMocrenIO.hh.

Referenced by GMocrenDetector().

std::vector<struct Edge> GMocrenDetector::kDetector
protected

Definition at line 134 of file G4GMocrenIO.hh.

Referenced by addEdge(), getEdge(), GMocrenDetector(), and translate().

std::string GMocrenDetector::kName
protected

Definition at line 136 of file G4GMocrenIO.hh.

Referenced by getName().


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