Slicer
5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Convert closed surface representation (vtkPolyData type) to fractional labelmap representation (vtkOrientedImageData type). The conversion algorithm is based on image stencil. More...
#include <Libs/vtkSegmentationCore/vtkClosedSurfaceToFractionalLabelmapConversionRule.h>
Public Types | |
typedef vtkClosedSurfaceToBinaryLabelmapConversionRule | Superclass |
Public Types inherited from vtkClosedSurfaceToBinaryLabelmapConversionRule | |
typedef vtkSegmentationConverterRule | Superclass |
Public Types inherited from vtkSegmentationConverterRule | |
typedef vtkObject | Superclass |
Public Member Functions | |
vtkDataObject * | ConstructRepresentationObjectByClass (std::string className) override |
vtkDataObject * | ConstructRepresentationObjectByRepresentation (std::string representationName) override |
bool | Convert (vtkSegment *segment) override |
Update the target representation based on the source representation. More... | |
vtkSegmentationConverterRule * | CreateRuleInstance () override |
virtual const char * | GetClassName () |
unsigned int | GetConversionCost (vtkDataObject *sourceRepresentation=nullptr, vtkDataObject *targetRepresentation=nullptr) override |
Get the cost of the conversion. More... | |
const char * | GetName () override |
Human-readable name of the converter rule. More... | |
const char * | GetSourceRepresentationName () override |
Human-readable name of the source representation. More... | |
const char * | GetTargetRepresentationName () override |
Human-readable name of the target representation. More... | |
virtual int | IsA (const char *type) |
bool | PostConvert (vtkSegmentation *vtkNotUsed(segmentation)) override |
Overridden to prevent vtkClosedSurfaceToBinaryLabelmapConversionRule::PostConvert. More... | |
Public Member Functions inherited from vtkClosedSurfaceToBinaryLabelmapConversionRule | |
bool | PostConvert (vtkSegmentation *segmentation) override |
virtual void | SetUseOutputImageDataGeometry (bool) |
Public Member Functions inherited from vtkSegmentationConverterRule | |
virtual vtkSegmentationConverterRule * | Clone () |
Create a new instance of this rule and copy its contents. More... | |
virtual std::string | GetConversionParameter (const std::string &name) |
Get a conversion parameter value. More... | |
virtual std::string | GetConversionParameterDescription (const std::string &name) |
Get a conversion parameter description. More... | |
virtual void | GetRuleConversionParameters (vtkSegmentationConversionParameters *conversionParameters) VTK_EXPECTS(conversionParameters ! |
bool | HasConversionParameter (const std::string &name) |
Determine if the rule has a parameter with a certain name. More... | |
virtual bool | PreConvert (vtkSegmentation *vtkNotUsed(segmentation)) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
virtual void | SetConversionParameter (const std::string &name, const std::string &value, const std::string &description="") |
Set a conversion parameter. More... | |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkClosedSurfaceToFractionalLabelmapConversionRule * | New () |
static vtkClosedSurfaceToFractionalLabelmapConversionRule * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkClosedSurfaceToBinaryLabelmapConversionRule | |
static const std::string | GetCollapseLabelmapsParameterName () |
static const std::string | GetCropToReferenceImageGeometryParameterName () |
static const std::string | GetOversamplingFactorParameterName () |
static int | IsTypeOf (const char *type) |
static vtkClosedSurfaceToBinaryLabelmapConversionRule * | New () |
static vtkClosedSurfaceToBinaryLabelmapConversionRule * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkSegmentationConverterRule | |
static unsigned int | GetConversionInfiniteCost () |
static int | IsTypeOf (const char *type) |
static vtkSegmentationConverterRule * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkClosedSurfaceToFractionalLabelmapConversionRule () | |
~vtkClosedSurfaceToFractionalLabelmapConversionRule () override | |
Protected Member Functions inherited from vtkClosedSurfaceToBinaryLabelmapConversionRule | |
bool | CalculateOutputGeometry (vtkPolyData *closedSurfacePolyData, vtkOrientedImageData *geometryImageData) |
std::string | GetDefaultImageGeometryStringForPolyData (vtkPolyData *polyData) |
vtkClosedSurfaceToBinaryLabelmapConversionRule () | |
~vtkClosedSurfaceToBinaryLabelmapConversionRule () override | |
Protected Member Functions inherited from vtkSegmentationConverterRule | |
virtual bool | CreateTargetRepresentation (vtkSegment *segment) |
Update the target representation based on the source representation. More... | |
void | operator= (const vtkSegmentationConverterRule &) |
vtkSegmentationConverterRule () | |
~vtkSegmentationConverterRule () override | |
Protected Attributes | |
int | NumberOfOffsets |
Protected Attributes inherited from vtkClosedSurfaceToBinaryLabelmapConversionRule | |
bool | UseOutputImageDataGeometry {false} |
Protected Attributes inherited from vtkSegmentationConverterRule | |
vtkNew< vtkSegmentationConversionParameters > | ConversionParameters |
bool | ReplaceTargetRepresentation {false} |
Convert closed surface representation (vtkPolyData type) to fractional labelmap representation (vtkOrientedImageData type). The conversion algorithm is based on image stencil.
Definition at line 42 of file vtkClosedSurfaceToFractionalLabelmapConversionRule.h.
typedef vtkClosedSurfaceToBinaryLabelmapConversionRule vtkClosedSurfaceToFractionalLabelmapConversionRule::Superclass |
Definition at line 48 of file vtkClosedSurfaceToFractionalLabelmapConversionRule.h.
|
protected |
|
overrideprotected |
|
overridevirtual |
Constructs representation object from class name for the supported representation classes (typically source and target representation VTK classes, subclasses of vtkDataObject) Note: Need to take ownership of the created object! For example using vtkSmartPointer<vtkDataObject>::Take
Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.
|
overridevirtual |
Constructs representation object from representation name for the supported representation classes (typically source and target representation VTK classes, subclasses of vtkDataObject) Note: Need to take ownership of the created object! For example using vtkSmartPointer<vtkDataObject>::Take
Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.
|
overridevirtual |
Update the target representation based on the source representation.
Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.
|
overridevirtual |
Create instance of the default node. Similar to New but virtual method. Subclasses should implement this method by
Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.
|
virtual |
Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.
|
overridevirtual |
Get the cost of the conversion.
Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.
|
inlineoverridevirtual |
Human-readable name of the converter rule.
Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.
Definition at line 71 of file vtkClosedSurfaceToFractionalLabelmapConversionRule.h.
|
inlineoverridevirtual |
Human-readable name of the source representation.
Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.
Definition at line 74 of file vtkClosedSurfaceToFractionalLabelmapConversionRule.h.
|
inlineoverridevirtual |
Human-readable name of the target representation.
Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.
Definition at line 77 of file vtkClosedSurfaceToFractionalLabelmapConversionRule.h.
|
virtual |
Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.
|
static |
|
static |
|
inlineoverridevirtual |
Overridden to prevent vtkClosedSurfaceToBinaryLabelmapConversionRule::PostConvert.
Reimplemented from vtkSegmentationConverterRule.
Definition at line 65 of file vtkClosedSurfaceToFractionalLabelmapConversionRule.h.
|
static |
|
protected |
Definition at line 77 of file vtkClosedSurfaceToFractionalLabelmapConversionRule.h.