35 std::string classname(
"FiberBundle");
36 if(node->
GetData() && classname.compare(node->
GetData()->GetNameOfClass())==0)
39 newMapper->SetDataNode(node);
45 std::string classname(
"FiberBundle");
46 if(node->
GetData() && classname.compare(node->
GetData()->GetNameOfClass())==0)
49 newMapper->SetDataNode(node);
58 std::string classname(
"FiberBundle");
59 if(node->
GetData() && classname.compare(node->
GetData()->GetNameOfClass())==0)
68 std::string fileExtension;
69 this->CreateFileExtensions(m_FileExtensionsMap, fileExtension);
70 return fileExtension.c_str();
75 return m_FileExtensionsMap;
80 std::string fileExtension;
81 this->CreateFileExtensions(m_SaveFileExtensionsMap, fileExtension);
82 return fileExtension.c_str();
87 return m_SaveFileExtensionsMap;
90 void mitk::FiberTrackingObjectFactory::CreateFileExtensionsMap()
99 struct RegisterFiberTrackingObjectFactory{
100 RegisterFiberTrackingObjectFactory()
106 ~RegisterFiberTrackingObjectFactory()
~FiberTrackingObjectFactory()
static void SetDefaultProperties(DataNode *node, BaseRenderer *renderer=NULL, bool overwrite=false)
static Pointer GetInstance()
static void SetDefaultProperties(DataNode *node, BaseRenderer *renderer=NULL, bool overwrite=false)
DataCollection - Class to facilitate loading/accessing structured data.
BaseData * GetData() const
Get the data object (instance of BaseData, e.g., an Image) managed by this DataNode.
virtual const char * GetFileExtensions() override
virtual void SetDefaultProperties(mitk::DataNode *node) override
void RegisterIOFactories()
static RegisterFiberTrackingObjectFactory registerFiberTrackingObjectFactory
virtual const char * GetSaveFileExtensions() override
virtual Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override
virtual mitk::CoreObjectFactoryBase::MultimapType GetFileExtensionsMap() override
FiberTrackingObjectFactory()
unsigned int MapperSlotId
std::multimap< std::string, std::string > MultimapType
Class for nodes of the DataTree.
virtual mitk::CoreObjectFactoryBase::MultimapType GetSaveFileExtensionsMap() override
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.