Typedefs | Functions

mitkPlanarFigureObjectFactory.cpp File Reference

#include "mitkPlanarFigureObjectFactory.h"
#include "mitkCoreObjectFactory.h"
#include "mitkPlanarFigureIOFactory.h"
#include "mitkPlanarFigureWriterFactory.h"
#include "mitkPlanarFigure.h"
#include "mitkPlanarFigureMapper2D.h"

Go to the source code of this file.

Typedefs

typedef std::multimap
< std::string, std::string > 
MultimapType

Functions

void RegisterPlanarFigureObjectFactory ()

Typedef Documentation

typedef std::multimap<std::string, std::string> MultimapType

Definition at line 27 of file mitkPlanarFigureObjectFactory.cpp.


Function Documentation

void RegisterPlanarFigureObjectFactory (  )

Definition at line 116 of file mitkPlanarFigureObjectFactory.cpp.

References mitk::CoreObjectFactory::GetInstance(), MITK_INFO, and mitk::PlanarFigureObjectFactory::New().

Referenced by mitkPlanarFigureObjectFactoryTest(), and mitk::PlanarFigureActivator::Start().

{
  static bool oneObjectFactoryRegistered = false;
  if ( !oneObjectFactoryRegistered ) 
  {
    MITK_INFO << "Registering PlanarFigureObjectFactory..." << std::endl;
    mitk::CoreObjectFactory::GetInstance()->RegisterExtraFactory( mitk::PlanarFigureObjectFactory::New() );
    oneObjectFactoryRegistered = true;
  }
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines