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.
◆ DoGetMask()
DoGetMask must be overridden by derived classes.
- Parameters
-
maskID | Parameter indicating which mask should be returned. |
- Returns
- mitk::Image::Pointer of generated mask requested
Implements mitk::MaskGenerator.
◆ GetClassName()
virtual const char* mitk::PlanarFigureMaskGenerator::GetClassName |
( |
| ) |
const |
|
virtual |
Runtime information support.
◆ GetNumberOfMasks()
unsigned int mitk::PlanarFigureMaskGenerator::GetNumberOfMasks |
( |
| ) |
const |
|
overridevirtual |
◆ 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 | ) |
|
The documentation for this class was generated from the following file: