21 #ifndef __vtkFractionalLabelmapToClosedSurfaceConversionRule_h 22 #define __vtkFractionalLabelmapToClosedSurfaceConversionRule_h 27 #include "vtkSegmentationCoreConfigure.h" 61 unsigned int GetConversionCost(vtkDataObject* sourceRepresentation=
nullptr, vtkDataObject* targetRepresentation=
nullptr)
override;
64 const char*
GetName()
override {
return "Fractional labelmap to closed surface"; };
88 #endif // __vtkFractionalLabelmapToClosedSurfaceConversionRule_h Convert binary labelmap representation (vtkOrientedImageData type) to closed surface representation (...
This class encapsulates a segment that is part of a segmentation.
Convert Fractional labelmap representation (vtkOrientedImageData type) to closed surface representati...
static vtkBinaryLabelmapToClosedSurfaceConversionRule * New()
const char * GetSourceRepresentationName() override
Human-readable name of the source representation.
const char * GetName() override
Human-readable name of the converter rule.
Abstract converter rule class. Subclasses perform conversions between specific representation types...
Image data containing orientation information.
vtkDataObject * ConstructRepresentationObjectByRepresentation(std::string representationName) override
static const char * GetSegmentationClosedSurfaceRepresentationName()
static const std::string GetThresholdFractionParameterName()
bool Convert(vtkSegment *segment) override
Update the target representation based on the source representation.
unsigned int GetConversionCost(vtkDataObject *sourceRepresentation=nullptr, vtkDataObject *targetRepresentation=nullptr) override
Get the cost of the conversion.
static const char * GetSegmentationFractionalLabelmapRepresentationName()
static const std::string GetFractionalLabelMapOversamplingFactorParameterName()
Conversion parameter: magnification factor.
vtkDataObject * ConstructRepresentationObjectByClass(std::string className) override
vtkSegmentationConverterRule * CreateRuleInstance() override
const char * GetTargetRepresentationName() override
Human-readable name of the target representation.