Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::RTStructureSetReader Class Reference

#include <mitkRTStructureSetReader.h>

Inheritance diagram for mitk::RTStructureSetReader:
Collaboration diagram for mitk::RTStructureSetReader:

Public Member Functions

 mitkClassMacroItkParent (RTStructureSetReader, itk::Object) static Pointer New()
 
ContourModelSetNodes ReadStructureSet (const char *filepath)
 Reading a RT StructureSet from the DICOM file and returns the ROIs (region of interest) as a ContourModelSet. One ContourModelSet represent one ROI. A ContourModelSet contains ContourModels which represent the single structures. More...
 

Protected Member Functions

 RTStructureSetReader ()
 
virtual ~RTStructureSetReader ()
 
vcl_size_t GetNumberOfROIs ()
 
RoiEntry * FindRoiByNumber (unsigned int roiNum)
 

Protected Attributes

std::vector< RoiEntry > ROISequenceVector
 

Detailed Description

Definition at line 33 of file mitkRTStructureSetReader.h.

Constructor & Destructor Documentation

mitk::RTStructureSetReader::RTStructureSetReader ( )
protected

Definition at line 25 of file mitkRTStructureSetReader.cpp.

mitk::RTStructureSetReader::~RTStructureSetReader ( )
protectedvirtual

Definition at line 27 of file mitkRTStructureSetReader.cpp.

Member Function Documentation

RTStructureSetReader::RoiEntry * mitk::RTStructureSetReader::FindRoiByNumber ( unsigned int  roiNum)
protected

Returns the relevant ROI from the ROISequenceVector by its number

Definition at line 82 of file mitkRTStructureSetReader.cpp.

References ROISequenceVector.

Referenced by ReadStructureSet().

vcl_size_t mitk::RTStructureSetReader::GetNumberOfROIs ( )
protected

Returns the number of ROIs from the ROISequenceVector

Definition at line 76 of file mitkRTStructureSetReader.cpp.

References ROISequenceVector.

mitk::RTStructureSetReader::mitkClassMacroItkParent ( RTStructureSetReader  ,
itk::Object   
)
RTStructureSetReader::ContourModelSetNodes mitk::RTStructureSetReader::ReadStructureSet ( const char *  filepath)

Reading a RT StructureSet from the DICOM file and returns the ROIs (region of interest) as a ContourModelSet. One ContourModelSet represent one ROI. A ContourModelSet contains ContourModels which represent the single structures.

Parameters
filepathto the RT StructureSet (.dmc) file
Returns
Returns a std::deque filled with ContourModelSet::Pointer the deque contains all ROIs from the DICOM file

Definition at line 96 of file mitkRTStructureSetReader.cpp.

References mitk::DICOMTagPathToPropertyName(), FindRoiByNumber(), mitk::BaseRenderer::GetInstance(), mitk::BaseRenderer::GetRenderWindowByName(), MITK_ERROR, mitk::BoolProperty::New(), mitk::ContourModelSet::New(), mitk::StringProperty::New(), mitk::ContourModel::New(), mitk::ColorProperty::New(), mitk::DataNode::New(), and ROISequenceVector.

Member Data Documentation

std::vector<RoiEntry> mitk::RTStructureSetReader::ROISequenceVector
protected

containing the ROIs meta information like name number and description

Definition at line 76 of file mitkRTStructureSetReader.h.

Referenced by FindRoiByNumber(), GetNumberOfROIs(), and ReadStructureSet().


The documentation for this class was generated from the following files: