Derived from MaskGenerator. This class is used to convert a mitk::PlanarFigure into a binary image mask.
More...
#include <mitkPlanarFigureMaskGenerator.h>
Derived from MaskGenerator. This class is used to convert a mitk::PlanarFigure into a binary image mask.
Definition at line 29 of file mitkPlanarFigureMaskGenerator.h.
◆ ConstPointer
◆ Pointer
◆ Self
◆ Superclass
◆ PlanarFigureMaskGenerator()
mitk::PlanarFigureMaskGenerator::PlanarFigureMaskGenerator |
( |
| ) |
|
|
inlineprotected |
◆ CheckPlanarFigureIsNotTilted()
static bool mitk::PlanarFigureMaskGenerator::CheckPlanarFigureIsNotTilted |
( |
const PlaneGeometry * |
planarGeometry, |
|
|
const BaseGeometry * |
geometry |
|
) |
| |
|
static |
Helper function that indicates if a passed planar geometry is tilted regarding a given geometry and its main axis.
- Precondition
- If either planarGeometry or geometry is nullptr it will return false.
◆ GetClassName()
virtual const char* mitk::PlanarFigureMaskGenerator::GetClassName |
( |
| ) |
const |
|
virtual |
◆ GetMask()
◆ GetPlanarFigureAxis()
virtual unsigned int mitk::PlanarFigureMaskGenerator::GetPlanarFigureAxis |
( |
| ) |
const |
|
virtual |
◆ GetPlanarFigureSlice()
virtual unsigned int mitk::PlanarFigureMaskGenerator::GetPlanarFigureSlice |
( |
| ) |
const |
|
virtual |
◆ GetReferenceImage()
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.
◆ New()
static Pointer mitk::PlanarFigureMaskGenerator::New |
( |
| ) |
|
|
static |
Method for creation through the object factory.
◆ SetPlanarFigure()
void mitk::PlanarFigureMaskGenerator::SetPlanarFigure |
( |
mitk::PlanarFigure * |
planarFigure | ) |
|
◆ SetTimeStep()
void mitk::PlanarFigureMaskGenerator::SetTimeStep |
( |
unsigned int |
timeStep | ) |
|
|
overridevirtual |
SetTimeStep is used to set the time step for which the mask is to be generated.
- Parameters
-
Reimplemented from mitk::MaskGenerator.
The documentation for this class was generated from the following file: