Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
#include <mitkCoreObjectFactory.h>
Public Types | |
typedef CoreObjectFactory | Self |
typedef CoreObjectFactoryBase | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Types inherited from mitk::CoreObjectFactoryBase | |
typedef std::list< mitk::FileWriterWithInformation::Pointer > | FileWriterList |
typedef std::multimap< std::string, std::string > | MultimapType |
typedef CoreObjectFactoryBase | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
Mapper::Pointer | CreateMapper (mitk::DataNode *node, MapperSlotId slotId) override |
void | SetDefaultProperties (mitk::DataNode *node) override |
virtual void | MapEvent (const mitk::Event *event, const int eventID) |
virtual void | RegisterExtraFactory (CoreObjectFactoryBase *factory) |
virtual void | UnRegisterExtraFactory (CoreObjectFactoryBase *factory) |
~CoreObjectFactory () override | |
virtual std::string | GetFileExtensions () override |
This method gets the supported (open) file extensions as string. More... | |
virtual MultimapType | GetFileExtensionsMap () override |
get the defined (open) file extension map More... | |
virtual std::string | GetSaveFileExtensions () override |
This method gets the supported (save) file extensions as string. More... | |
MultimapType | GetSaveFileExtensionsMap () override |
get the defined (save) file extension map More... | |
virtual FileWriterList | GetFileWriters () |
std::string | GetDescriptionForExtension (const std::string &extension) |
Public Member Functions inherited from mitk::CoreObjectFactoryBase | |
virtual const char * | GetITKSourceVersion () const |
virtual const char * | GetDescription () const |
FileWriterList | GetFileWriters () |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
static Pointer | GetInstance () |
Static Public Member Functions inherited from mitk::CoreObjectFactoryBase | |
static const char * | GetStaticNameOfClass () |
Protected Types | |
typedef std::set< mitk::CoreObjectFactoryBase::Pointer > | ExtraFactoriesContainer |
Protected Member Functions | |
CoreObjectFactory () | |
void | MergeFileExtensions (MultimapType &fileExtensionsMap, MultimapType inputMap) |
Merge the input map into the fileExtensionsMap. Duplicate entries are removed. More... | |
void | CreateFileExtensionsMap () |
initialize the file extension entries for open and save More... | |
void | CreateSaveFileExtensions () |
Protected Attributes | |
ExtraFactoriesContainer | m_ExtraFactories |
FileWriterList | m_FileWriters |
std::string | m_FileExtensions |
MultimapType | m_FileExtensionsMap |
std::string | m_SaveFileExtensions |
MultimapType | m_SaveFileExtensionsMap |
Protected Attributes inherited from mitk::CoreObjectFactoryBase | |
FileWriterList | m_FileWriters |
Additional Inherited Members | |
Static Protected Member Functions inherited from mitk::CoreObjectFactoryBase | |
static void | CreateFileExtensions (MultimapType fileExtensionsMap, std::string &fileExtensions) |
create a string from a map that contains the file extensions More... | |
Definition at line 28 of file mitkCoreObjectFactory.h.
typedef itk::SmartPointer<const Self> mitk::CoreObjectFactory::ConstPointer |
Definition at line 31 of file mitkCoreObjectFactory.h.
|
protected |
Definition at line 118 of file mitkCoreObjectFactory.h.
Definition at line 31 of file mitkCoreObjectFactory.h.
Definition at line 31 of file mitkCoreObjectFactory.h.
Definition at line 31 of file mitkCoreObjectFactory.h.
|
override |
|
protected |
|
protected |
initialize the file extension entries for open and save
|
overridevirtual |
Implements mitk::CoreObjectFactoryBase.
|
protected |
|
inlineoverridevirtual |
Reimplemented from mitk::CoreObjectFactoryBase.
Definition at line 31 of file mitkCoreObjectFactory.h.
|
virtual |
Reimplemented from mitk::CoreObjectFactoryBase.
std::string mitk::CoreObjectFactory::GetDescriptionForExtension | ( | const std::string & | extension | ) |
|
overridevirtual |
This method gets the supported (open) file extensions as string.
This string can then used by the Qt QFileDialog widget.
Implements mitk::CoreObjectFactoryBase.
|
overridevirtual |
get the defined (open) file extension map
Implements mitk::CoreObjectFactoryBase.
|
virtual |
|
static |
|
overridevirtual |
This method gets the supported (save) file extensions as string.
This string can then used by the Qt QFileDialog widget.
Implements mitk::CoreObjectFactoryBase.
|
overridevirtual |
get the defined (save) file extension map
Implements mitk::CoreObjectFactoryBase.
|
inlinestatic |
Definition at line 31 of file mitkCoreObjectFactory.h.
|
virtual |
|
protected |
Merge the input map into the fileExtensionsMap. Duplicate entries are removed.
fileExtensionsMap | the existing map, it contains value pairs like ("*.dcm", "DICOM files"),("*.dc3", "DICOM files"). This map is extended/merged with the values from the input map. |
inputMap | the input map, it contains value pairs like ("*.dcm", "DICOM files"),("*.dc3", "DICOM files") returned by the extra factories. |
|
static |
|
virtual |
|
overridevirtual |
Implements mitk::CoreObjectFactoryBase.
|
virtual |
|
protected |
Definition at line 120 of file mitkCoreObjectFactory.h.
|
protected |
Definition at line 122 of file mitkCoreObjectFactory.h.
|
protected |
Definition at line 123 of file mitkCoreObjectFactory.h.
|
protected |
Definition at line 121 of file mitkCoreObjectFactory.h.
|
protected |
Definition at line 124 of file mitkCoreObjectFactory.h.
|
protected |
Definition at line 125 of file mitkCoreObjectFactory.h.