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://oncora1.lyon.fnclcc.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_CONTOUR_H
21 #define CLITKDICOMRT_CONTOUR_H
23 #include "clitkCommon.h"
24 #include "clitkDicomRT_Contour.h"
26 #include <gdcmSQItem.h>
27 #include <vtkPoints.h>
28 #include <vtkPolyData.h>
32 //--------------------------------------------------------------------
33 class DicomRT_Contour {
39 void Print(std::ostream & os = std::cout) const;
40 bool Read(gdcm::SQItem * item);
41 vtkPolyData * GetMesh();
42 vtkPoints * GetPoints() {return mData;}
43 double GetZ() const {return mZ;}
47 unsigned int mNbOfPoints;
52 ///Z location of the contour
56 //--------------------------------------------------------------------
60 } // end namespace clitk
61 #endif // CLITKDICOMRT_CONTOUR_H