GDCM  2.4.5
vtkRTStructSetProperties.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: GDCM (Grassroots DICOM). A DICOM library
4 
5  Copyright (c) 2006-2011 Mathieu Malaterre
6  All rights reserved.
7  See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 
13 =========================================================================*/
14 // .NAME vtkRTStructSetProperties - some rtstruct properties.
15 // .SECTION Description
16 //
17 // .SECTION See Also
18 // vtkGDCMPolyDataReader vtkGDCMPolyDataWriter
19 
20 #ifndef VTKRTSTRUCTSETPROPERTIES_H
21 #define VTKRTSTRUCTSETPROPERTIES_H
22 
23 #include "vtkObject.h"
24 
25 class vtkRTStructSetPropertiesInternals;
26 
27 class VTK_EXPORT vtkRTStructSetProperties : public vtkObject
28 {
29 public:
30  static vtkRTStructSetProperties *New();
31  vtkTypeRevisionMacro(vtkRTStructSetProperties,vtkObject);
32  void PrintSelf(ostream& os, vtkIndent indent);
33 
34  // Description:
35  // Convenience method to reset all fields to an emptry string/value
36  virtual void Clear();
37 
38  // Description:
39  //
40  vtkSetStringMacro(StructureSetLabel);
41  vtkGetStringMacro(StructureSetLabel);
42 
43  vtkSetStringMacro(StructureSetName);
44  vtkGetStringMacro(StructureSetName);
45 
46  vtkSetStringMacro(StructureSetDate);
47  vtkGetStringMacro(StructureSetDate);
48 
49  vtkSetStringMacro(StructureSetTime);
50  vtkGetStringMacro(StructureSetTime);
51 
52  vtkSetStringMacro(SOPInstanceUID);
53  vtkGetStringMacro(SOPInstanceUID);
54 
55  vtkSetStringMacro(StudyInstanceUID);
56  vtkGetStringMacro(StudyInstanceUID);
57 
58  vtkSetStringMacro(SeriesInstanceUID);
59  vtkGetStringMacro(SeriesInstanceUID);
60 
61  vtkSetStringMacro(ReferenceSeriesInstanceUID);
62  vtkGetStringMacro(ReferenceSeriesInstanceUID);
63 
64  vtkSetStringMacro(ReferenceFrameOfReferenceUID);
65  vtkGetStringMacro(ReferenceFrameOfReferenceUID);
66 
67  // Description:
68  // Copy the contents of p to this instance.
69  virtual void DeepCopy(vtkRTStructSetProperties *p);
70 
71  void AddContourReferencedFrameOfReference( vtkIdType pdnum, const char *classuid , const char * instanceuid );
72  const char *GetContourReferencedFrameOfReferenceClassUID( vtkIdType pdnum, vtkIdType id );
73  const char *GetContourReferencedFrameOfReferenceInstanceUID( vtkIdType pdnum, vtkIdType id );
74  vtkIdType GetNumberOfContourReferencedFrameOfReferences();
75  vtkIdType GetNumberOfContourReferencedFrameOfReferences(vtkIdType pdnum);
76 
77  void AddReferencedFrameOfReference( const char *classuid , const char * instanceuid );
78  const char *GetReferencedFrameOfReferenceClassUID( vtkIdType id );
79  const char *GetReferencedFrameOfReferenceInstanceUID( vtkIdType id );
80  vtkIdType GetNumberOfReferencedFrameOfReferences();
81 
82  void AddStructureSetROI( int roinumber,
83  const char* refframerefuid,
84  const char* roiname,
85  const char* ROIGenerationAlgorithm,
86  const char* ROIDescription = 0
87  );
88  void AddStructureSetROIObservation( int refnumber,
89  int observationnumber,
90  const char *rtroiinterpretedtype,
91  const char *roiinterpreter,
92  const char *roiobservationlabel = 0
93  );
94 
95  vtkIdType GetNumberOfStructureSetROIs();
96  int GetStructureSetObservationNumber(vtkIdType id);
97  int GetStructureSetROINumber(vtkIdType id);
98  const char *GetStructureSetROIRefFrameRefUID(vtkIdType);
99  const char *GetStructureSetROIName(vtkIdType);
100  const char *GetStructureSetROIGenerationAlgorithm(vtkIdType);
101  const char *GetStructureSetROIDescription(vtkIdType id);
102  const char *GetStructureSetRTROIInterpretedType(vtkIdType id);
103  const char *GetStructureSetROIObservationLabel(vtkIdType id);
104 
105 protected:
108 
113 
117 
120 
121  // Description:
122  // PIMPL Encapsulation for STL containers
123  //BTX
124  vtkRTStructSetPropertiesInternals *Internals;
125  //ETX
126 
127 private:
128  vtkRTStructSetProperties(const vtkRTStructSetProperties&); // Not implemented.
129  void operator=(const vtkRTStructSetProperties&); // Not implemented.
130 };
131 
132 #endif
char * StructureSetDate
Definition: vtkRTStructSetProperties.h:111
char * StructureSetLabel
Definition: vtkRTStructSetProperties.h:109
Definition: vtkRTStructSetProperties.h:27
char * ReferenceSeriesInstanceUID
Definition: vtkRTStructSetProperties.h:118
char * ReferenceFrameOfReferenceUID
Definition: vtkRTStructSetProperties.h:119
char * SOPInstanceUID
Definition: vtkRTStructSetProperties.h:114
char * StructureSetName
Definition: vtkRTStructSetProperties.h:110
char * StructureSetTime
Definition: vtkRTStructSetProperties.h:112
vtkRTStructSetPropertiesInternals * Internals
Definition: vtkRTStructSetProperties.h:124
char * StudyInstanceUID
Definition: vtkRTStructSetProperties.h:115
char * SeriesInstanceUID
Definition: vtkRTStructSetProperties.h:116

Generated on Fri Sep 25 2015 17:58:25 for GDCM by doxygen 1.8.9.1
SourceForge.net Logo