vtkRTStructSetProperties.h
Go to the documentation of this file.
/*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkRTStructSetProperties - some rtstruct properties.
// .SECTION Description
//
// .SECTION See Also
// vtkGDCMPolyDataReader vtkGDCMPolyDataWriter
#ifndef VTKRTSTRUCTSETPROPERTIES_H
#define VTKRTSTRUCTSETPROPERTIES_H
#include "vtkgdcmModule.h"
#include "vtkObject.h"
class vtkRTStructSetPropertiesInternals;
class VTKGDCM_EXPORT vtkRTStructSetProperties : public vtkObject
{
public:
static vtkRTStructSetProperties *New();
vtkTypeMacro(vtkRTStructSetProperties,vtkObject);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Convenience method to reset all fields to an empty string/value
virtual void Clear();
// Description:
//
vtkSetStringMacro(StructureSetLabel);
vtkGetStringMacro(StructureSetLabel);
vtkSetStringMacro(StructureSetName);
vtkGetStringMacro(StructureSetName);
vtkSetStringMacro(StructureSetDate);
vtkGetStringMacro(StructureSetDate);
vtkSetStringMacro(StructureSetTime);
vtkGetStringMacro(StructureSetTime);
vtkSetStringMacro(SOPInstanceUID);
vtkGetStringMacro(SOPInstanceUID);
vtkSetStringMacro(StudyInstanceUID);
vtkGetStringMacro(StudyInstanceUID);
vtkSetStringMacro(SeriesInstanceUID);
vtkGetStringMacro(SeriesInstanceUID);
vtkSetStringMacro(ReferenceSeriesInstanceUID);
vtkGetStringMacro(ReferenceSeriesInstanceUID);
vtkSetStringMacro(ReferenceFrameOfReferenceUID);
vtkGetStringMacro(ReferenceFrameOfReferenceUID);
// Description:
// Copy the contents of p to this instance.
virtual void DeepCopy(vtkRTStructSetProperties *p);
void AddContourReferencedFrameOfReference( vtkIdType pdnum, const char *classuid , const char * instanceuid );
const char *GetContourReferencedFrameOfReferenceClassUID( vtkIdType pdnum, vtkIdType id );
const char *GetContourReferencedFrameOfReferenceInstanceUID( vtkIdType pdnum, vtkIdType id );
vtkIdType GetNumberOfContourReferencedFrameOfReferences();
vtkIdType GetNumberOfContourReferencedFrameOfReferences(vtkIdType pdnum);
void AddReferencedFrameOfReference( const char *classuid , const char * instanceuid );
const char *GetReferencedFrameOfReferenceClassUID( vtkIdType id );
const char *GetReferencedFrameOfReferenceInstanceUID( vtkIdType id );
vtkIdType GetNumberOfReferencedFrameOfReferences();
void AddStructureSetROI( int roinumber,
const char* refframerefuid,
const char* roiname,
const char* ROIGenerationAlgorithm,
const char* ROIDescription = 0
);
void AddStructureSetROIObservation( int refnumber,
int observationnumber,
const char *rtroiinterpretedtype,
const char *roiinterpreter,
const char *roiobservationlabel = 0
);
vtkIdType GetNumberOfStructureSetROIs();
int GetStructureSetObservationNumber(vtkIdType id);
int GetStructureSetROINumber(vtkIdType id);
const char *GetStructureSetROIRefFrameRefUID(vtkIdType);
const char *GetStructureSetROIName(vtkIdType);
const char *GetStructureSetROIGenerationAlgorithm(vtkIdType);
const char *GetStructureSetROIDescription(vtkIdType id);
const char *GetStructureSetRTROIInterpretedType(vtkIdType id);
const char *GetStructureSetROIObservationLabel(vtkIdType id);
protected:
vtkRTStructSetProperties();
~vtkRTStructSetProperties();
char *StructureSetLabel;
char *StructureSetName;
char *StructureSetDate;
char *StructureSetTime;
char *SOPInstanceUID;
char *StudyInstanceUID;
char *SeriesInstanceUID;
char *ReferenceSeriesInstanceUID;
char *ReferenceFrameOfReferenceUID;
// Description:
// PIMPL Encapsulation for STL containers
//BTX
vtkRTStructSetPropertiesInternals *Internals;
//ETX
private:
vtkRTStructSetProperties(const vtkRTStructSetProperties&); // Not implemented.
void operator=(const vtkRTStructSetProperties&); // Not implemented.
};
#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)