Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkClosedSurfaceToFractionalLabelmapConversionRule Class Reference

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>

Inheritance diagram for vtkClosedSurfaceToFractionalLabelmapConversionRule:
Inheritance graph
[legend]
Collaboration diagram for vtkClosedSurfaceToFractionalLabelmapConversionRule:
Collaboration graph
[legend]

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 vtkSegmentationConverterRuleCreateRuleInstance () 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 vtkSegmentationConverterRuleClone ()
 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 vtkClosedSurfaceToFractionalLabelmapConversionRuleNew ()
 
static vtkClosedSurfaceToFractionalLabelmapConversionRuleSafeDownCast (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 vtkClosedSurfaceToBinaryLabelmapConversionRuleNew ()
 
static vtkClosedSurfaceToBinaryLabelmapConversionRuleSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkSegmentationConverterRule
static unsigned int GetConversionInfiniteCost ()
 
static int IsTypeOf (const char *type)
 
static vtkSegmentationConverterRuleSafeDownCast (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
 

Detailed Description

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.

Member Typedef Documentation

◆ Superclass

Constructor & Destructor Documentation

◆ vtkClosedSurfaceToFractionalLabelmapConversionRule()

vtkClosedSurfaceToFractionalLabelmapConversionRule::vtkClosedSurfaceToFractionalLabelmapConversionRule ( )
protected

◆ ~vtkClosedSurfaceToFractionalLabelmapConversionRule()

vtkClosedSurfaceToFractionalLabelmapConversionRule::~vtkClosedSurfaceToFractionalLabelmapConversionRule ( )
protected

Member Function Documentation

◆ ConstructRepresentationObjectByClass()

virtual vtkDataObject* vtkClosedSurfaceToFractionalLabelmapConversionRule::ConstructRepresentationObjectByClass ( std::string  className)
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.

◆ ConstructRepresentationObjectByRepresentation()

virtual vtkDataObject* vtkClosedSurfaceToFractionalLabelmapConversionRule::ConstructRepresentationObjectByRepresentation ( std::string  representationName)
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.

◆ Convert()

virtual bool vtkClosedSurfaceToFractionalLabelmapConversionRule::Convert ( vtkDataObject *  sourceRepresentation,
vtkDataObject *  targetRepresentation 
)
virtual

Update the target representation based on the source representation.

Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.

◆ CreateRuleInstance()

virtual vtkSegmentationConverterRule* vtkClosedSurfaceToFractionalLabelmapConversionRule::CreateRuleInstance ( )
virtual

Create instance of the default node. Similar to New but virtual method. Subclasses should implement this method by

Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.

◆ GetClassName()

virtual const char* vtkClosedSurfaceToFractionalLabelmapConversionRule::GetClassName ( )
virtual

◆ GetConversionCost()

virtual unsigned int vtkClosedSurfaceToFractionalLabelmapConversionRule::GetConversionCost ( vtkDataObject *  sourceRepresentation = NULL,
vtkDataObject *  targetRepresentation = NULL 
)
virtual

Get the cost of the conversion.

Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.

◆ GetName()

virtual const char* vtkClosedSurfaceToFractionalLabelmapConversionRule::GetName ( )
inlinevirtual

Human-readable name of the converter rule.

Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.

Definition at line 68 of file vtkClosedSurfaceToFractionalLabelmapConversionRule.h.

◆ GetSourceRepresentationName()

virtual const char* vtkClosedSurfaceToFractionalLabelmapConversionRule::GetSourceRepresentationName ( )
inlinevirtual

Human-readable name of the source representation.

Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.

Definition at line 71 of file vtkClosedSurfaceToFractionalLabelmapConversionRule.h.

◆ GetTargetRepresentationName()

virtual const char* vtkClosedSurfaceToFractionalLabelmapConversionRule::GetTargetRepresentationName ( )
inlinevirtual

Human-readable name of the target representation.

Reimplemented from vtkClosedSurfaceToBinaryLabelmapConversionRule.

Definition at line 74 of file vtkClosedSurfaceToFractionalLabelmapConversionRule.h.

◆ IsA()

virtual int vtkClosedSurfaceToFractionalLabelmapConversionRule::IsA ( const char *  type)
virtual

◆ IsTypeOf()

static int vtkClosedSurfaceToFractionalLabelmapConversionRule::IsTypeOf ( const char *  type)
static

◆ New()

static vtkClosedSurfaceToFractionalLabelmapConversionRule* vtkClosedSurfaceToFractionalLabelmapConversionRule::New ( )
static

◆ operator=()

void vtkClosedSurfaceToFractionalLabelmapConversionRule::operator= ( const vtkClosedSurfaceToFractionalLabelmapConversionRule )
protected

◆ SafeDownCast()

static vtkClosedSurfaceToFractionalLabelmapConversionRule* vtkClosedSurfaceToFractionalLabelmapConversionRule::SafeDownCast ( vtkObject *  o)
static

Member Data Documentation

◆ NumberOfOffsets

int vtkClosedSurfaceToFractionalLabelmapConversionRule::NumberOfOffsets
protected

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