#include <G4GMocrenIO.hh>
 | 
|   | 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) | 
|   | 
Definition at line 127 of file G4GMocrenIO.hh.
 
      
        
          | GMocrenDetector::GMocrenDetector  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 301 of file G4GMocrenIO.cc.
  303     for(
int i = 0; i < 3; i++) 
kColor[i] = 0;
 
std::vector< struct Edge > kDetector
 
 
 
 
  
  
      
        
          | GMocrenDetector::~GMocrenDetector  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
      
        
          | void GMocrenDetector::addEdge  | 
          ( | 
          float  | 
          _startx,  | 
        
        
           | 
           | 
          float  | 
          _starty,  | 
        
        
           | 
           | 
          float  | 
          _startz,  | 
        
        
           | 
           | 
          float  | 
          _endx,  | 
        
        
           | 
           | 
          float  | 
          _endy,  | 
        
        
           | 
           | 
          float  | 
          _endz  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 306 of file G4GMocrenIO.cc.
  309   edge.startPoint[0] = _startx;
 
  310   edge.startPoint[1] = _starty;
 
  311   edge.startPoint[2] = _startz;
 
  312   edge.endPoint[0] = _endx;
 
  313   edge.endPoint[1] = _endy;
 
  314   edge.endPoint[2] = _endz;
 
std::vector< struct Edge > kDetector
 
 
 
 
  
  
      
        
          | void GMocrenDetector::getColor  | 
          ( | 
          unsigned char  | 
          _color[3] | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
      
        
          | 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.
  322       G4cout << 
"GMocrenDetector::getEdge(...) Error: " 
  323          << 
"invalid edge # : " << _num << 
G4endl;
 
G4GLOB_DLL std::ostream G4cout
 
std::vector< struct Edge > kDetector
 
static Verbosity GetVerbosity()
 
 
 
 
  
  
      
        
          | std::string GMocrenDetector::getName  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | int GMocrenDetector::getNumberOfEdges  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void GMocrenDetector::setColor  | 
          ( | 
          unsigned char  | 
          _color[3] | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void GMocrenDetector::setDetector  | 
          ( | 
          std::vector< struct Edge > &  | 
          _aDetector | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void GMocrenDetector::setName  | 
          ( | 
          std::string &  | 
          _name | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
      
        
          | void GMocrenDetector::translate  | 
          ( | 
          std::vector< float > &  | 
          _tranlate | ) | 
           | 
        
      
 
Definition at line 334 of file G4GMocrenIO.cc.
  335   std::vector<struct Edge>::iterator itr = 
kDetector.begin();
 
  337     for(
int i = 0; i < 3; i++) {
 
  338       itr->startPoint[i] += _translate[i];
 
  339       itr->endPoint[i] += _translate[i];
 
std::vector< struct Edge > kDetector
 
 
 
 
  
  
      
        
          | unsigned char GMocrenDetector::kColor[3] | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | std::vector<struct Edge> GMocrenDetector::kDetector | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | std::string GMocrenDetector::kName | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files:
- source/geant4.10.03.p02/source/visualization/gMocren/include/G4GMocrenIO.hh
 
- source/geant4.10.03.p02/source/visualization/gMocren/src/G4GMocrenIO.cc