Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Protected Attributes | List of all members
GMocrenDetector Class Reference

#include <G4GMocrenIO.hh>

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 300 of file G4GMocrenIO.cc.

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 
)

Definition at line 305 of file G4GMocrenIO.cc.

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 316 of file G4GMocrenIO.cc.

Here is the call graph for this function:

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

Definition at line 157 of file G4GMocrenIO.hh.

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.

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.

Here is the caller graph for this function:

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

Definition at line 156 of file G4GMocrenIO.hh.

Here is the caller graph for this function:

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

Definition at line 333 of file G4GMocrenIO.cc.

Member Data Documentation

unsigned char GMocrenDetector::kColor[3]
protected

Definition at line 135 of file G4GMocrenIO.hh.

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

Definition at line 134 of file G4GMocrenIO.hh.

std::string GMocrenDetector::kName
protected

Definition at line 136 of file G4GMocrenIO.hh.


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