Medical Imaging Interaction Toolkit
2016.11.0
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 |
virtual Mapper::Pointer | CreateMapper (mitk::DataNode *node, MapperSlotId slotId) override |
virtual 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 () | |
virtual const char * | 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 const char * | GetSaveFileExtensions () override |
This method gets the supported (save) file extensions as string. More... | |
virtual 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 32 of file mitkCoreObjectFactory.h.
typedef itk::SmartPointer<const Self> mitk::CoreObjectFactory::ConstPointer |
Definition at line 35 of file mitkCoreObjectFactory.h.
|
protected |
Definition at line 121 of file mitkCoreObjectFactory.h.
Definition at line 35 of file mitkCoreObjectFactory.h.
Definition at line 35 of file mitkCoreObjectFactory.h.
Definition at line 35 of file mitkCoreObjectFactory.h.
mitk::CoreObjectFactory::~CoreObjectFactory | ( | ) |
Definition at line 91 of file mitkCoreObjectFactory.cpp.
References mitk::ImageMappingHelper::map().
|
protected |
Definition at line 154 of file mitkCoreObjectFactory.cpp.
|
protected |
initialize the file extension entries for open and save
Definition at line 275 of file mitkCoreObjectFactory.cpp.
|
overridevirtual |
Implements mitk::CoreObjectFactoryBase.
Definition at line 168 of file mitkCoreObjectFactory.cpp.
References mitk::DataNode::GetData(), mitk::PlaneGeometryDataMapper2D::New(), mitk::SurfaceVtkMapper2D::New(), mitk::SurfaceVtkMapper3D::New(), mitk::PointSetVtkMapper3D::New(), mitk::PlaneGeometryDataVtkMapper3D::New(), mitk::PointSetVtkMapper2D::New(), mitk::ImageVtkMapper2D::New(), mitk::Mapper::SetDataNode(), mitk::BaseRenderer::Standard2D, and mitk::BaseRenderer::Standard3D.
|
protected |
|
inlineoverridevirtual |
Reimplemented from mitk::CoreObjectFactoryBase.
Definition at line 35 of file mitkCoreObjectFactory.h.
|
virtual |
Reimplemented from mitk::CoreObjectFactoryBase.
std::string mitk::CoreObjectFactory::GetDescriptionForExtension | ( | const std::string & | extension | ) |
Definition at line 336 of file mitkCoreObjectFactory.cpp.
|
overridevirtual |
This method gets the supported (open) file extensions as string.
This string can then used by the Qt QFileDialog widget.
Implements mitk::CoreObjectFactoryBase.
Definition at line 233 of file mitkCoreObjectFactory.cpp.
|
overridevirtual |
get the defined (open) file extension map
Implements mitk::CoreObjectFactoryBase.
Definition at line 270 of file mitkCoreObjectFactory.cpp.
|
virtual |
Definition at line 307 of file mitkCoreObjectFactory.cpp.
|
static |
Definition at line 81 of file mitkCoreObjectFactory.cpp.
References New().
Referenced by mitk::DataNodeFactory::DataNodeFactory(), mitk::CollectionWriter::ExportCollectionToFolder(), mitk::DataNode::GetMapper(), main(), mitkCoreObjectFactoryTest(), QmitkSlicesInterpolator::QmitkSlicesInterpolator(), mitk::RegisterBoundingShapeObjectFactory(), mitk::RegisterSimulationObjectFactory(), mitk::CollectionWriter::SaveCollection(), mitk::DataNode::SetData(), and mitk::ToolManager::ToolManager().
|
overridevirtual |
This method gets the supported (save) file extensions as string.
This string can then used by the Qt QFileDialog widget.
Implements mitk::CoreObjectFactoryBase.
Definition at line 290 of file mitkCoreObjectFactory.cpp.
|
overridevirtual |
get the defined (save) file extension map
Implements mitk::CoreObjectFactoryBase.
Definition at line 302 of file mitkCoreObjectFactory.cpp.
|
inlinestatic |
Definition at line 35 of file mitkCoreObjectFactory.h.
|
virtual |
Definition at line 332 of file mitkCoreObjectFactory.cpp.
|
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 extented/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. |
Definition at line 245 of file mitkCoreObjectFactory.cpp.
|
static |
Referenced by GetInstance().
|
virtual |
Definition at line 57 of file mitkCoreObjectFactory.cpp.
References m_ExtraFactories, and MITK_DEBUG.
|
overridevirtual |
Implements mitk::CoreObjectFactoryBase.
Definition at line 116 of file mitkCoreObjectFactory.cpp.
References mitk::DataNode::GetData(), mitk::PlaneGeometryDataMapper2D::SetDefaultProperties(), mitk::SurfaceVtkMapper2D::SetDefaultProperties(), mitk::SurfaceVtkMapper3D::SetDefaultProperties(), mitk::PointSetVtkMapper3D::SetDefaultProperties(), mitk::PointSetVtkMapper2D::SetDefaultProperties(), and mitk::ImageVtkMapper2D::SetDefaultProperties().
|
virtual |
Definition at line 66 of file mitkCoreObjectFactory.cpp.
References MITK_DEBUG, and MITK_ERROR.
|
protected |
Definition at line 123 of file mitkCoreObjectFactory.h.
Referenced by RegisterExtraFactory().
|
protected |
Definition at line 125 of file mitkCoreObjectFactory.h.
|
protected |
Definition at line 126 of file mitkCoreObjectFactory.h.
|
protected |
Definition at line 124 of file mitkCoreObjectFactory.h.
|
protected |
Definition at line 127 of file mitkCoreObjectFactory.h.
|
protected |
Definition at line 128 of file mitkCoreObjectFactory.h.