Convert binary labelmap representation (vtkOrientedImageData type) to closed surface representation (vtkPolyData type). The conversion algorithm performs a marching cubes operation on the image data followed by an optional decimation step.
More...
#include <Libs/vtkSegmentationCore/vtkBinaryLabelmapToClosedSurfaceConversionRule.h>
Convert binary labelmap representation (vtkOrientedImageData type) to closed surface representation (vtkPolyData type). The conversion algorithm performs a marching cubes operation on the image data followed by an optional decimation step.
Definition at line 35 of file vtkBinaryLabelmapToClosedSurfaceConversionRule.h.
◆ Superclass
◆ vtkBinaryLabelmapToClosedSurfaceConversionRule()
vtkBinaryLabelmapToClosedSurfaceConversionRule::vtkBinaryLabelmapToClosedSurfaceConversionRule |
( |
| ) |
|
|
protected |
◆ ~vtkBinaryLabelmapToClosedSurfaceConversionRule()
vtkBinaryLabelmapToClosedSurfaceConversionRule::~vtkBinaryLabelmapToClosedSurfaceConversionRule |
( |
| ) |
|
|
protected |
◆ ConstructRepresentationObjectByClass()
virtual vtkDataObject* vtkBinaryLabelmapToClosedSurfaceConversionRule::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
Implements vtkSegmentationConverterRule.
Reimplemented in vtkFractionalLabelmapToClosedSurfaceConversionRule.
◆ ConstructRepresentationObjectByRepresentation()
virtual vtkDataObject* vtkBinaryLabelmapToClosedSurfaceConversionRule::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
Implements vtkSegmentationConverterRule.
Reimplemented in vtkFractionalLabelmapToClosedSurfaceConversionRule.
◆ Convert()
virtual bool vtkBinaryLabelmapToClosedSurfaceConversionRule::Convert |
( |
vtkDataObject * |
sourceRepresentation, |
|
|
vtkDataObject * |
targetRepresentation |
|
) |
| |
|
virtual |
◆ CreateRuleInstance()
◆ GetClassName()
virtual const char* vtkBinaryLabelmapToClosedSurfaceConversionRule::GetClassName |
( |
| ) |
|
|
virtual |
◆ GetComputeSurfaceNormalsParameterName()
static const std::string vtkBinaryLabelmapToClosedSurfaceConversionRule::GetComputeSurfaceNormalsParameterName |
( |
| ) |
|
|
inlinestatic |
◆ GetConversionCost()
virtual unsigned int vtkBinaryLabelmapToClosedSurfaceConversionRule::GetConversionCost |
( |
vtkDataObject * |
sourceRepresentation = NULL , |
|
|
vtkDataObject * |
targetRepresentation = NULL |
|
) |
| |
|
virtual |
◆ GetDecimationFactorParameterName()
static const std::string vtkBinaryLabelmapToClosedSurfaceConversionRule::GetDecimationFactorParameterName |
( |
| ) |
|
|
inlinestatic |
◆ GetName()
virtual const char* vtkBinaryLabelmapToClosedSurfaceConversionRule::GetName |
( |
| ) |
|
|
inlinevirtual |
◆ GetSmoothingFactorParameterName()
static const std::string vtkBinaryLabelmapToClosedSurfaceConversionRule::GetSmoothingFactorParameterName |
( |
| ) |
|
|
inlinestatic |
◆ GetSourceRepresentationName()
virtual const char* vtkBinaryLabelmapToClosedSurfaceConversionRule::GetSourceRepresentationName |
( |
| ) |
|
|
inlinevirtual |
◆ GetTargetRepresentationName()
virtual const char* vtkBinaryLabelmapToClosedSurfaceConversionRule::GetTargetRepresentationName |
( |
| ) |
|
|
inlinevirtual |
◆ IsA()
virtual int vtkBinaryLabelmapToClosedSurfaceConversionRule::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ IsLabelmapPaddingNecessary()
bool vtkBinaryLabelmapToClosedSurfaceConversionRule::IsLabelmapPaddingNecessary |
( |
vtkImageData * |
binaryLabelMap | ) |
|
|
protected |
If input labelmap has non-background border voxels, then those regions remain open in the output closed surface. This function checks whether this is the case.
◆ IsTypeOf()
static int vtkBinaryLabelmapToClosedSurfaceConversionRule::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ New()
◆ operator=()
◆ SafeDownCast()
The documentation for this class was generated from the following file: