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

Derived from MaskGenerator. This class is used to convert a mitk::PlanarFigure into a binary image mask. More...

#include <mitkPlanarFigureMaskGenerator.h>

Inheritance diagram for mitk::PlanarFigureMaskGenerator:
Collaboration diagram for mitk::PlanarFigureMaskGenerator:

Public Types

typedef PlanarFigureMaskGenerator Self
 
typedef MaskGenerator Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Public Types inherited from mitk::MaskGenerator
typedef MaskGenerator Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

Public Member Functions

virtual const char * GetClassName () const
 
mitk::Image::Pointer GetMask ()
 GetMask Computes and returns the mask. More...
 
void SetPlanarFigure (mitk::PlanarFigure::Pointer planarFigure)
 
mitk::Image::Pointer GetReferenceImage ()
 GetReferenceImage per default returns the inputImage (as set by SetInputImage). If no input image is set it will return a nullptr. More...
 
void SetTimeStep (unsigned int timeStep)
 SetTimeStep is used to set the time step for which the mask is to be generated. More...
 
- Public Member Functions inherited from mitk::MaskGenerator
void SetInputImage (mitk::Image::Pointer inputImg)
 SetInputImage is used to set the input image to the mask generator. Some subclasses require an input image, others don't. See the documentation of the specific Mask Generator for more information. More...
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from mitk::MaskGenerator
static Pointer New ()
 

Protected Member Functions

 PlanarFigureMaskGenerator ()
 
- Protected Member Functions inherited from mitk::MaskGenerator
 MaskGenerator ()
 

Additional Inherited Members

- Protected Attributes inherited from mitk::MaskGenerator
unsigned int m_TimeStep
 
mitk::Image::Pointer m_InternalMask
 
mitk::Image::Pointer m_inputImage
 

Detailed Description

Derived from MaskGenerator. This class is used to convert a mitk::PlanarFigure into a binary image mask.

Definition at line 21 of file mitkPlanarFigureMaskGenerator.h.

Member Typedef Documentation

Constructor & Destructor Documentation

mitk::PlanarFigureMaskGenerator::PlanarFigureMaskGenerator ( )
inlineprotected

Definition at line 54 of file mitkPlanarFigureMaskGenerator.h.

References mitk::Image::New().

Member Function Documentation

virtual const char* mitk::PlanarFigureMaskGenerator::GetClassName ( ) const
virtual

Runtime information support.

Reimplemented from mitk::MaskGenerator.

mitk::Image::Pointer mitk::PlanarFigureMaskGenerator::GetMask ( )
virtual

GetMask Computes and returns the mask.

Returns
mitk::Image::Pointer of the generated mask

Reimplemented from mitk::MaskGenerator.

Definition at line 361 of file mitkPlanarFigureMaskGenerator.cpp.

References mitk::MaskGenerator::m_InternalMask.

mitk::Image::Pointer mitk::PlanarFigureMaskGenerator::GetReferenceImage ( )
virtual

GetReferenceImage per default returns the inputImage (as set by SetInputImage). If no input image is set it will return a nullptr.

Reimplemented from mitk::MaskGenerator.

Definition at line 61 of file mitkPlanarFigureMaskGenerator.cpp.

static Pointer mitk::PlanarFigureMaskGenerator::New ( )
static

Method for creation through the object factory.

Referenced by compute_statistics(), and main().

void mitk::PlanarFigureMaskGenerator::SetPlanarFigure ( mitk::PlanarFigure::Pointer  planarFigure)

Definition at line 29 of file mitkPlanarFigureMaskGenerator.cpp.

void mitk::PlanarFigureMaskGenerator::SetTimeStep ( unsigned int  timeStep)
virtual

SetTimeStep is used to set the time step for which the mask is to be generated.

Parameters
timeStep

Reimplemented from mitk::MaskGenerator.

Definition at line 353 of file mitkPlanarFigureMaskGenerator.cpp.

References mitk::MaskGenerator::m_TimeStep.


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