31 G4cout <<
" CREATED DicomROI " << theNumber <<
" : " << theName <<
G4endl;
40 for( ii = 0; ii < theContours.size(); ii++ ){
41 if( cont->
GetZ() == theContours[ii]->GetZ() ) {
47 theContours.push_back( cont );
49 theContours[ii]->AddPoints( cont->
GetPoints() );
58 out <<
"@@@@@ ROI: " << theNumber <<
" " << theName <<
G4endl;
60 out <<
"@@@@ NUMBER OF ContourSequences " << theContours.size() <<
G4endl;
61 for(
size_t ii = 0; ii < theContours.size(); ii++ ) {
62 out <<
"@@@@ CONTOUR " << ii <<
G4endl;
63 theContours[ii]->Print(out);
DicomROI(int ROINumber, OFString ROIName)
void AddContour(DicomROIContour *)
G4GLOB_DLL std::ostream G4cout
std::vector< G4ThreeVector > GetPoints() const
void Print(std::ostream &out)