GDCM 3.2.1

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 "vtkgdcmModule.h"
24#include "vtkObject.h"
25
26 class vtkRTStructSetPropertiesInternals;
27
28 class VTKGDCM_EXPORT vtkRTStructSetProperties : public vtkObject
29{
30 public:
31 static vtkRTStructSetProperties *New();
32 vtkTypeMacro(vtkRTStructSetProperties,vtkObject);
33 void PrintSelf(ostream& os, vtkIndent indent);
34
35 // Description:
36 // Convenience method to reset all fields to an empty string/value
37 virtual void Clear();
38
39 // Description:
40 //
41 vtkSetStringMacro(StructureSetLabel);
42 vtkGetStringMacro(StructureSetLabel);
43
44 vtkSetStringMacro(StructureSetName);
45 vtkGetStringMacro(StructureSetName);
46
47 vtkSetStringMacro(StructureSetDate);
48 vtkGetStringMacro(StructureSetDate);
49
50 vtkSetStringMacro(StructureSetTime);
51 vtkGetStringMacro(StructureSetTime);
52
53 vtkSetStringMacro(SOPInstanceUID);
54 vtkGetStringMacro(SOPInstanceUID);
55
56 vtkSetStringMacro(StudyInstanceUID);
57 vtkGetStringMacro(StudyInstanceUID);
58
59 vtkSetStringMacro(SeriesInstanceUID);
60 vtkGetStringMacro(SeriesInstanceUID);
61
62 vtkSetStringMacro(ReferenceSeriesInstanceUID);
63 vtkGetStringMacro(ReferenceSeriesInstanceUID);
64
65 vtkSetStringMacro(ReferenceFrameOfReferenceUID);
66 vtkGetStringMacro(ReferenceFrameOfReferenceUID);
67
68 // Description:
69 // Copy the contents of p to this instance.
70 virtual void DeepCopy(vtkRTStructSetProperties *p);
71
72 void AddContourReferencedFrameOfReference( vtkIdType pdnum, const char *classuid , const char * instanceuid );
73 const char *GetContourReferencedFrameOfReferenceClassUID( vtkIdType pdnum, vtkIdType id );
74 const char *GetContourReferencedFrameOfReferenceInstanceUID( vtkIdType pdnum, vtkIdType id );
75 vtkIdType GetNumberOfContourReferencedFrameOfReferences();
76 vtkIdType GetNumberOfContourReferencedFrameOfReferences(vtkIdType pdnum);
77
78 void AddReferencedFrameOfReference( const char *classuid , const char * instanceuid );
79 const char *GetReferencedFrameOfReferenceClassUID( vtkIdType id );
80 const char *GetReferencedFrameOfReferenceInstanceUID( vtkIdType id );
81 vtkIdType GetNumberOfReferencedFrameOfReferences();
82
83 void AddStructureSetROI( int roinumber,
84 const char* refframerefuid,
85 const char* roiname,
86 const char* ROIGenerationAlgorithm,
87 const char* ROIDescription = 0
88 );
89 void AddStructureSetROIObservation( int refnumber,
90 int observationnumber,
91 const char *rtroiinterpretedtype,
92 const char *roiinterpreter,
93 const char *roiobservationlabel = 0
94 );
95
96 vtkIdType GetNumberOfStructureSetROIs();
97 int GetStructureSetObservationNumber(vtkIdType id);
98 int GetStructureSetROINumber(vtkIdType id);
99 const char *GetStructureSetROIRefFrameRefUID(vtkIdType);
100 const char *GetStructureSetROIName(vtkIdType);
101 const char *GetStructureSetROIGenerationAlgorithm(vtkIdType);
102 const char *GetStructureSetROIDescription(vtkIdType id);
103 const char *GetStructureSetRTROIInterpretedType(vtkIdType id);
104 const char *GetStructureSetROIObservationLabel(vtkIdType id);
105
106 protected:
107 vtkRTStructSetProperties();
108 ~vtkRTStructSetProperties();
109
110 char *StructureSetLabel;
111 char *StructureSetName;
112 char *StructureSetDate;
113 char *StructureSetTime;
114
115 char *SOPInstanceUID;
116 char *StudyInstanceUID;
117 char *SeriesInstanceUID;
118
119 char *ReferenceSeriesInstanceUID;
120 char *ReferenceFrameOfReferenceUID;
121
122 // Description:
123 // PIMPL Encapsulation for STL containers
124 //BTX
125 vtkRTStructSetPropertiesInternals *Internals;
126 //ETX
127
128 private:
129 vtkRTStructSetProperties(const vtkRTStructSetProperties&); // Not implemented.
130 void operator=(const vtkRTStructSetProperties&); // Not implemented.
131};
132
133#endif
vtkRTStructSetProperties::AddContourReferencedFrameOfReference
void AddContourReferencedFrameOfReference(vtkIdType pdnum, const char *classuid, const char *instanceuid)
vtkRTStructSetProperties::vtkSetStringMacro
vtkSetStringMacro(StructureSetTime)
vtkRTStructSetProperties::vtkGetStringMacro
vtkGetStringMacro(StructureSetTime)
vtkRTStructSetProperties::SeriesInstanceUID
char * SeriesInstanceUID
Definition vtkRTStructSetProperties.h:117
vtkRTStructSetProperties::vtkGetStringMacro
vtkGetStringMacro(ReferenceFrameOfReferenceUID)
vtkRTStructSetProperties::GetReferencedFrameOfReferenceInstanceUID
const char * GetReferencedFrameOfReferenceInstanceUID(vtkIdType id)
vtkRTStructSetProperties::GetStructureSetROINumber
int GetStructureSetROINumber(vtkIdType id)
vtkRTStructSetProperties::~vtkRTStructSetProperties
~vtkRTStructSetProperties()
vtkRTStructSetProperties::Clear
virtual void Clear()
vtkRTStructSetProperties::vtkGetStringMacro
vtkGetStringMacro(SOPInstanceUID)
vtkRTStructSetProperties::GetContourReferencedFrameOfReferenceInstanceUID
const char * GetContourReferencedFrameOfReferenceInstanceUID(vtkIdType pdnum, vtkIdType id)
vtkRTStructSetProperties::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkRTStructSetProperties::New
static vtkRTStructSetProperties * New()
vtkRTStructSetProperties::vtkSetStringMacro
vtkSetStringMacro(StudyInstanceUID)
vtkRTStructSetProperties::ReferenceFrameOfReferenceUID
char * ReferenceFrameOfReferenceUID
Definition vtkRTStructSetProperties.h:120
vtkRTStructSetProperties::AddStructureSetROI
void AddStructureSetROI(int roinumber, const char *refframerefuid, const char *roiname, const char *ROIGenerationAlgorithm, const char *ROIDescription=0)
vtkRTStructSetProperties::GetNumberOfContourReferencedFrameOfReferences
vtkIdType GetNumberOfContourReferencedFrameOfReferences()
vtkRTStructSetProperties::GetReferencedFrameOfReferenceClassUID
const char * GetReferencedFrameOfReferenceClassUID(vtkIdType id)
vtkRTStructSetProperties::GetStructureSetROIRefFrameRefUID
const char * GetStructureSetROIRefFrameRefUID(vtkIdType)
vtkRTStructSetProperties::ReferenceSeriesInstanceUID
char * ReferenceSeriesInstanceUID
Definition vtkRTStructSetProperties.h:119
vtkRTStructSetProperties::StructureSetTime
char * StructureSetTime
Definition vtkRTStructSetProperties.h:113
vtkRTStructSetProperties::vtkTypeMacro
vtkTypeMacro(vtkRTStructSetProperties, vtkObject)
vtkRTStructSetProperties::GetContourReferencedFrameOfReferenceClassUID
const char * GetContourReferencedFrameOfReferenceClassUID(vtkIdType pdnum, vtkIdType id)
vtkRTStructSetProperties::vtkSetStringMacro
vtkSetStringMacro(StructureSetDate)
vtkRTStructSetProperties::Internals
vtkRTStructSetPropertiesInternals * Internals
Definition vtkRTStructSetProperties.h:125
vtkRTStructSetProperties::vtkGetStringMacro
vtkGetStringMacro(StructureSetName)
vtkRTStructSetProperties::vtkSetStringMacro
vtkSetStringMacro(SOPInstanceUID)
vtkRTStructSetProperties::AddReferencedFrameOfReference
void AddReferencedFrameOfReference(const char *classuid, const char *instanceuid)
vtkRTStructSetProperties::GetStructureSetObservationNumber
int GetStructureSetObservationNumber(vtkIdType id)
vtkRTStructSetProperties::StructureSetName
char * StructureSetName
Definition vtkRTStructSetProperties.h:111
vtkRTStructSetProperties::GetStructureSetROIDescription
const char * GetStructureSetROIDescription(vtkIdType id)
vtkRTStructSetProperties::StudyInstanceUID
char * StudyInstanceUID
Definition vtkRTStructSetProperties.h:116
vtkRTStructSetProperties::vtkSetStringMacro
vtkSetStringMacro(StructureSetLabel)
vtkRTStructSetProperties::GetStructureSetROIGenerationAlgorithm
const char * GetStructureSetROIGenerationAlgorithm(vtkIdType)
vtkRTStructSetProperties::vtkGetStringMacro
vtkGetStringMacro(StructureSetLabel)
vtkRTStructSetProperties::vtkGetStringMacro
vtkGetStringMacro(StudyInstanceUID)
vtkRTStructSetProperties::vtkGetStringMacro
vtkGetStringMacro(SeriesInstanceUID)
vtkRTStructSetProperties::vtkSetStringMacro
vtkSetStringMacro(ReferenceFrameOfReferenceUID)
vtkRTStructSetProperties::GetStructureSetRTROIInterpretedType
const char * GetStructureSetRTROIInterpretedType(vtkIdType id)
vtkRTStructSetProperties::vtkGetStringMacro
vtkGetStringMacro(ReferenceSeriesInstanceUID)
vtkRTStructSetProperties::vtkRTStructSetProperties
vtkRTStructSetProperties()
vtkRTStructSetProperties::GetNumberOfContourReferencedFrameOfReferences
vtkIdType GetNumberOfContourReferencedFrameOfReferences(vtkIdType pdnum)
vtkRTStructSetProperties::GetNumberOfStructureSetROIs
vtkIdType GetNumberOfStructureSetROIs()
vtkRTStructSetProperties::GetNumberOfReferencedFrameOfReferences
vtkIdType GetNumberOfReferencedFrameOfReferences()
vtkRTStructSetProperties::StructureSetLabel
char * StructureSetLabel
Definition vtkRTStructSetProperties.h:110
vtkRTStructSetProperties::vtkSetStringMacro
vtkSetStringMacro(StructureSetName)
vtkRTStructSetProperties::vtkGetStringMacro
vtkGetStringMacro(StructureSetDate)
vtkRTStructSetProperties::GetStructureSetROIName
const char * GetStructureSetROIName(vtkIdType)
vtkRTStructSetProperties::vtkSetStringMacro
vtkSetStringMacro(ReferenceSeriesInstanceUID)
vtkRTStructSetProperties::StructureSetDate
char * StructureSetDate
Definition vtkRTStructSetProperties.h:112
vtkRTStructSetProperties::AddStructureSetROIObservation
void AddStructureSetROIObservation(int refnumber, int observationnumber, const char *rtroiinterpretedtype, const char *roiinterpreter, const char *roiobservationlabel=0)
vtkRTStructSetProperties::SOPInstanceUID
char * SOPInstanceUID
Definition vtkRTStructSetProperties.h:115
vtkRTStructSetProperties::DeepCopy
virtual void DeepCopy(vtkRTStructSetProperties *p)
vtkRTStructSetProperties::vtkSetStringMacro
vtkSetStringMacro(SeriesInstanceUID)
vtkRTStructSetProperties::GetStructureSetROIObservationLabel
const char * GetStructureSetROIObservationLabel(vtkIdType id)