21 #ifndef __vtkBinaryLabelmapToClosedSurfaceConversionRule_h 22 #define __vtkBinaryLabelmapToClosedSurfaceConversionRule_h 28 #include "vtkSegmentationCoreConfigure.h" 54 virtual vtkDataObject* ConstructRepresentationObjectByRepresentation(
std::
string representationName) VTK_OVERRIDE;
59 virtual vtkDataObject* ConstructRepresentationObjectByClass(
std::
string className) VTK_OVERRIDE;
62 virtual
bool Convert(vtkDataObject* sourceRepresentation, vtkDataObject* targetRepresentation) VTK_OVERRIDE;
65 virtual
unsigned int GetConversionCost(vtkDataObject* sourceRepresentation=NULL, vtkDataObject* targetRepresentation=NULL) VTK_OVERRIDE;
68 virtual const
char* GetName() VTK_OVERRIDE {
return "Binary labelmap to closed surface"; };
79 bool IsLabelmapPaddingNecessary(vtkImageData* binaryLabelMap);
87 #endif // __vtkBinaryLabelmapToClosedSurfaceConversionRule_h Convert binary labelmap representation (vtkOrientedImageData type) to closed surface representation (...
void operator=(const vtkSegmentationConverterRule &)
static const char * GetSegmentationBinaryLabelmapRepresentationName()
virtual const char * GetTargetRepresentationName() VTK_OVERRIDE
Human-readable name of the target representation.
Abstract converter rule class. Subclasses perform conversions between specific representation types...
static const char * GetSegmentationClosedSurfaceRepresentationName()
virtual const char * GetSourceRepresentationName() VTK_OVERRIDE
Human-readable name of the source representation.
virtual vtkSegmentationConverterRule * CreateRuleInstance()=0
static const std::string GetDecimationFactorParameterName()
Conversion parameter: decimation factor.
static const std::string GetSmoothingFactorParameterName()
Conversion parameter: smoothing factor.
static const std::string GetComputeSurfaceNormalsParameterName()
Conversion parameter: compute surface normals.