Slicer
4.10
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 std::map< std::string, std::pair< std::string, std::string > > | ConversionParameterListType |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual vtkDataObject * | ConstructRepresentationObjectByClass (std::string className) VTK_OVERRIDE |
virtual vtkDataObject * | ConstructRepresentationObjectByRepresentation (std::string representationName) VTK_OVERRIDE |
virtual bool | Convert (vtkDataObject *sourceRepresentation, vtkDataObject *targetRepresentation) VTK_OVERRIDE |
Update the target representation based on the source representation. More... | |
virtual vtkSegmentationConverterRule * | CreateRuleInstance () VTK_OVERRIDE |
virtual const char * | GetClassName () |
virtual unsigned int | GetConversionCost (vtkDataObject *sourceRepresentation=NULL, vtkDataObject *targetRepresentation=NULL) VTK_OVERRIDE |
Get the cost of the conversion. More... | |
virtual const char * | GetName () VTK_OVERRIDE |
Human-readable name of the converter rule. More... | |
virtual const char * | GetSourceRepresentationName () VTK_OVERRIDE |
Human-readable name of the source representation. More... | |
virtual const char * | GetTargetRepresentationName () VTK_OVERRIDE |
Human-readable name of the target representation. More... | |
virtual int | IsA (const char *type) |
Public Member Functions inherited from vtkClosedSurfaceToBinaryLabelmapConversionRule | |
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 (ConversionParameterListType &conversionParameters) |
bool | HasConversionParameter (const std::string &name) |
Determine if the rule has a parameter with a certain name. More... | |
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 | 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 | |
void | operator= (const vtkClosedSurfaceToFractionalLabelmapConversionRule &) |
vtkClosedSurfaceToFractionalLabelmapConversionRule () | |
~vtkClosedSurfaceToFractionalLabelmapConversionRule () | |
Protected Member Functions inherited from vtkClosedSurfaceToBinaryLabelmapConversionRule | |
bool | CalculateOutputGeometry (vtkPolyData *closedSurfacePolyData, vtkOrientedImageData *geometryImageData) |
std::string | GetDefaultImageGeometryStringForPolyData (vtkPolyData *polyData) |
void | operator= (const vtkClosedSurfaceToBinaryLabelmapConversionRule &) |
vtkClosedSurfaceToBinaryLabelmapConversionRule () | |
~vtkClosedSurfaceToBinaryLabelmapConversionRule () | |
Protected Member Functions inherited from vtkSegmentationConverterRule | |
void | operator= (const vtkSegmentationConverterRule &) |
vtkSegmentationConverterRule () | |
~vtkSegmentationConverterRule () | |
Protected Attributes | |
int | NumberOfOffsets |
Protected Attributes inherited from vtkClosedSurfaceToBinaryLabelmapConversionRule | |
bool | UseOutputImageDataGeometry |
Protected Attributes inherited from vtkSegmentationConverterRule | |
ConversionParameterListType | ConversionParameters |
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 |
|
protected |
|
virtual |
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.
|
virtual |
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.
|
virtual |
Update the target representation based on the source representation.
Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.
|
virtual |
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.
|
virtual |
Get the cost of the conversion.
Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.
|
inlinevirtual |
Human-readable name of the converter rule.
Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.
Definition at line 68 of file vtkClosedSurfaceToFractionalLabelmapConversionRule.h.
|
inlinevirtual |
Human-readable name of the source representation.
Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.
Definition at line 71 of file vtkClosedSurfaceToFractionalLabelmapConversionRule.h.
|
inlinevirtual |
Human-readable name of the target representation.
Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.
Definition at line 74 of file vtkClosedSurfaceToFractionalLabelmapConversionRule.h.
|
virtual |
Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.
|
static |
|
static |
|
protected |
|
static |
|
protected |
Definition at line 74 of file vtkClosedSurfaceToFractionalLabelmapConversionRule.h.