21 #ifndef __vtkClosedSurfaceToFractionalLabelmapConversionRule_h 22 #define __vtkClosedSurfaceToFractionalLabelmapConversionRule_h 27 #include <vtkSegmentationCoreConfigure.h> 31 #include "vtkSegmentationCoreConfigure.h" 34 #include <vtkPolyDataToImageStencil.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 "Closed surface to fractional labelmap (simple image stencil)"; };
86 #endif // __vtkClosedSurfaceToFractionalLabelmapConversionRule_h virtual const char * GetTargetRepresentationName() VTK_OVERRIDE
Human-readable name of the target representation.
virtual vtkSegmentationConverterRule * CreateRuleInstance() VTK_OVERRIDE
static vtkClosedSurfaceToBinaryLabelmapConversionRule * New()
void operator=(const vtkClosedSurfaceToBinaryLabelmapConversionRule &)
Abstract converter rule class. Subclasses perform conversions between specific representation types...
Convert closed surface representation (vtkPolyData type) to binary labelmap representation (vtkOrient...
static const char * GetSegmentationClosedSurfaceRepresentationName()
static const char * GetSegmentationFractionalLabelmapRepresentationName()
virtual const char * GetSourceRepresentationName() VTK_OVERRIDE
Human-readable name of the source representation.
Convert closed surface representation (vtkPolyData type) to fractional labelmap representation (vtkOr...