21 #ifndef __vtkSegmentationConverterFactory_h 22 #define __vtkSegmentationConverterFactory_h 24 #include "vtkSegmentationCoreConfigure.h" 27 #include <vtkObject.h> 28 #include <vtkSmartPointer.h> 44 typedef std::vector< vtkSmartPointer<vtkSegmentationConverterRule> >
RuleListType;
47 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
52 void CopyConverterRules(RuleListType &rules);
64 const RuleListType& GetConverterRules();
69 bool DisableConverterRule(std::string sourceRepresentationName, std::string targetRepresentationName);
73 void DisableRepresentation(std::string representationName);
78 vtkDataObject* ConstructRepresentationObjectByClass(std::string className);
83 vtkDataObject* ConstructRepresentationObjectByRepresentation(std::string representationName);
103 static void classInitialize();
104 static void classFinalize();
122 static unsigned int Count;
vtkSegmentationConverterFactory Self
RuleListType Rules
Registered converter rules.
static vtkSegmentationConverterFactoryInitialize vtkSegmentationConverterFactoryInitializer
Abstract converter rule class. Subclasses perform conversions between specific representation types...
Class that can create vtkSegmentationConverter instances.
vtkSegmentationConverterFactoryInitialize Self
Utility class to make sure qSlicerModuleManager is initialized before it is used. ...
std::vector< vtkSmartPointer< vtkSegmentationConverterRule > > RuleListType