#include <DicomROIContour.hh>
Definition at line 34 of file DicomROIContour.hh.
 
      
        
          | DicomROIContour::DicomROIContour  | 
          ( | 
           | ) | 
           | 
        
      
 
 
  
  
      
        
          | DicomROIContour::~DicomROIContour  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void DicomROIContour::AddImageIUID  | 
          ( | 
          OFString  | 
          ima | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
Definition at line 62 of file DicomROIContour.cc.
   64   points.push_back( points[0] );
 
   65   size_t npold = thePoints.size();
 
   66   for( 
size_t ii = 0; ii < points.size(); ii++ ) {
 
   67     thePoints.push_back( points[ii] );
 
   70   for( 
size_t ii = npold+1; ii < thePoints.size(); ii++ ){
 
   71     theDirections.push_back( thePoints[ii] - thePoints[ii-1] );
 
   73   theDirections.push_back( thePoints[npold] - thePoints[thePoints.size()-1] );
 
 
 
 
  
  
      
        
          | OFString DicomROIContour::GetGeomType  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
Definition at line 48 of file DicomROIContour.cc.
   50   if( thePoints.size() == 0 ) {
 
   54                 "No Point in contour");
 
   58   return thePoints[0].z();
 
void Print(std::ostream &out)
 
G4GLOB_DLL std::ostream G4cout
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
 
 
 
      
        
          | void DicomROIContour::Print  | 
          ( | 
          std::ostream &  | 
          out | ) | 
           | 
        
      
 
Definition at line 78 of file DicomROIContour.cc.
   81   out << 
this << 
"@@@ NUMBER OF ContourImageSequences " << theImageIUIDs.size() << 
G4endl;
 
   82   for( 
size_t ii = 0; ii < theImageIUIDs.size(); ii++ ) {
 
   83     out << 
"ContourImageSequence I= " << theImageIUIDs[ii] << 
G4endl;
 
   85   out << 
"@@@ GeomType " << theGeomType << 
" NPOINTS " << thePoints.size() << 
G4endl;
 
   86   for( 
size_t ii = 0; ii < thePoints.size(); ii++ ) {
 
   87     out << 
"(" << thePoints[ii].x()<< 
"," << thePoints[ii].y()<< 
"," << thePoints[ii].z() 
 
 
 
 
Definition at line 34 of file DicomROIContour.cc.
   37   if( theGeomType == 
"CLOSED_PLANAR" ){
 
   39     thePoints.push_back( thePoints[0] );
 
   40     for( 
size_t ii = 1; ii < thePoints.size(); ii++ ){
 
   41       theDirections.push_back( thePoints[ii] - thePoints[ii-1] );
 
   43     theDirections.push_back( thePoints[0] - thePoints[thePoints.size()-1] ); 
 
const XML_Char const XML_Char * data
 
 
 
 
  
  
      
        
          | void DicomROIContour::SetGeomType  | 
          ( | 
          OFString  | 
          gt | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
The documentation for this class was generated from the following files:
- source/geant4.10.03.p02/examples/extended/medical/DICOM/dicomReader/include/DicomROIContour.hh
 
- source/geant4.10.03.p02/examples/extended/medical/DICOM/dicomReader/src/DicomROIContour.cc