#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::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::~GMocrenDetector  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ addEdge()
      
        
          | 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
 
 
 
 
◆ getColor()
  
  
      
        
          | void GMocrenDetector::getColor  | 
          ( | 
          unsigned char  | 
          _color[3] | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ getEdge()
      
        
          | 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()
 
 
 
 
◆ getName()
  
  
      
        
          | std::string GMocrenDetector::getName  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ getNumberOfEdges()
  
  
      
        
          | int GMocrenDetector::getNumberOfEdges  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setColor()
  
  
      
        
          | void GMocrenDetector::setColor  | 
          ( | 
          unsigned char  | 
          _color[3] | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setDetector()
  
  
      
        
          | void GMocrenDetector::setDetector  | 
          ( | 
          std::vector< struct Edge > &  | 
          _aDetector | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setName()
  
  
      
        
          | void GMocrenDetector::setName  | 
          ( | 
          std::string &  | 
          _name | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ translate()
      
        
          | 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
 
 
 
 
◆ kColor
  
  
      
        
          | unsigned char GMocrenDetector::kColor[3] | 
         
       
   | 
  
protected   | 
  
 
 
◆ kDetector
  
  
      
        
          | std::vector<struct Edge> GMocrenDetector::kDetector | 
         
       
   | 
  
protected   | 
  
 
 
◆ kName
  
  
      
        
          | std::string GMocrenDetector::kName | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files: