1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
3 Main authors : XX XX XX
6 - University of LYON http://www.universite-lyon.fr/
7 - Léon Bérard cancer center http://www.centreleonberard.fr
8 - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the copyright notices for more information.
14 It is distributed under dual licence
15 - BSD http://www.opensource.org/licenses/bsd-license.php
16 - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
18 =========================================================================*/
20 #ifndef CLITKDICOMRT_STRUCTURESET_H
21 #define CLITKDICOMRT_STRUCTURESET_H
23 #include "clitkCommon.h"
24 #include "clitkDicomRT_ROI.h"
29 //--------------------------------------------------------------------
30 class DicomRT_StructureSet : public itk::LightObject{
33 typedef DicomRT_StructureSet Self;
34 typedef itk::SmartPointer<Self> Pointer;
37 void Print(std::ostream & os = std::cout) const;
38 void Read(const std::string & filename);
40 const std::vector<DicomRT_ROI::Pointer> & GetListOfROI() const;
41 clitk::DicomRT_ROI * GetROI(int n);
42 const std::string & GetStudyID() const;
43 const std::string & GetStudyTime() const;
44 const std::string & GetStudyDate() const;
45 const std::string & GetLabel() const;
46 const std::string & GetName() const;
47 const std::string & GetDate() const;
48 const std::string & GetTime() const;
50 int AddBinaryImageAsNewROI(vvImage * i, std::string name);
54 std::string mStudyTime;
55 std::string mStudyDate;
60 std::map<int, std::string> mMapOfROIName;
61 std::map<int, int> mMapOfROIIndex;
62 std::vector<clitk::DicomRT_ROI::Pointer> mListOfROI;
65 DicomRT_StructureSet();
66 ~DicomRT_StructureSet();
68 //--------------------------------------------------------------------
70 } // end namespace clitk
71 #endif // CLITKDICOMRT_STRUCTURESET_H