34 if (dynamic_cast<GeometryData *>(node->
GetData()) !=
nullptr)
45 if (mapper.IsNotNull())
46 mapper->SetDataNode(node);
54 return "BoundingShape Object Factory";
82 if (dynamic_cast<GeometryData *>(node->
GetData()) !=
nullptr)
91 static bool alreadyRegistered =
false;
93 if (!alreadyRegistered)
96 alreadyRegistered =
true;
std::multimap< std::string, std::string > MultimapType
virtual CoreObjectFactoryBase::MultimapType GetFileExtensionsMap() override
virtual CoreObjectFactoryBase::MultimapType GetSaveFileExtensionsMap() override
static void SetDefaultProperties(DataNode *node, BaseRenderer *renderer=nullptr, bool overwrite=false)
static Pointer GetInstance()
virtual Mapper::Pointer CreateMapper(DataNode *node, MapperSlotId slotId) override
BaseData * GetData() const
Get the data object (instance of BaseData, e.g., an Image) managed by this DataNode.
MITKBOUNDINGSHAPE_EXPORT void RegisterBoundingShapeObjectFactory()
BoundingShapeObjectFactory()
virtual const char * GetDescription() const override
virtual const char * GetSaveFileExtensions() override
virtual void SetDefaultProperties(DataNode *node) override
static void SetDefaultProperties(DataNode *node, BaseRenderer *renderer=nullptr, bool overwrite=false)
virtual const char * GetFileExtensions() override
unsigned int MapperSlotId
std::multimap< std::string, std::string > MultimapType
Class for nodes of the DataTree.
virtual ~BoundingShapeObjectFactory()
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.