ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkSpatialObjectFactoryBase.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef SpatialObjectFactoryBase | Self |
typedef ObjectFactoryBase | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetDescription (void) const |
virtual const char * | GetITKSourceVersion (void) const |
virtual const char * | GetNameOfClass () const |
void | RegisterSpatialObject (const char *classOverride, const char *overrideClassName, const char *description, bool enableFlag, CreateObjectFunctionBase *createFunction) |
Static Public Member Functions | |
static Pointer | New (void) |
static void | RegisterDefaultSpatialObjects () |
static SpatialObjectFactoryBase * | GetFactory () |
Protected Member Functions | |
SpatialObjectFactoryBase () | |
virtual | ~SpatialObjectFactoryBase () |
Private Member Functions | |
void | operator= (const Self &) |
SpatialObjectFactoryBase (const Self &) | |
Static Private Attributes | |
static SpatialObjectFactoryBase * | m_Factory |
Create instances of SpatialObjects.
Definition at line 40 of file itkSpatialObjectFactoryBase.h.
typedef SmartPointer< const Self > itk::SpatialObjectFactoryBase::ConstPointer |
Reimplemented from itk::ObjectFactoryBase.
Definition at line 47 of file itkSpatialObjectFactoryBase.h.
Reimplemented from itk::ObjectFactoryBase.
Definition at line 46 of file itkSpatialObjectFactoryBase.h.
Standard class typedefs.
Reimplemented from itk::ObjectFactoryBase.
Definition at line 44 of file itkSpatialObjectFactoryBase.h.
Reimplemented from itk::ObjectFactoryBase.
Definition at line 45 of file itkSpatialObjectFactoryBase.h.
itk::SpatialObjectFactoryBase::SpatialObjectFactoryBase | ( | ) | [protected] |
virtual itk::SpatialObjectFactoryBase::~SpatialObjectFactoryBase | ( | ) | [protected, virtual] |
itk::SpatialObjectFactoryBase::SpatialObjectFactoryBase | ( | const Self & | ) | [private] |
virtual ::itk::LightObject::Pointer itk::SpatialObjectFactoryBase::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
virtual const char* itk::SpatialObjectFactoryBase::GetDescription | ( | void | ) | const [virtual] |
Return a descriptive string describing the factory.
Implements itk::ObjectFactoryBase.
static SpatialObjectFactoryBase* itk::SpatialObjectFactoryBase::GetFactory | ( | ) | [inline, static] |
Register this SpatialObject
Definition at line 64 of file itkSpatialObjectFactoryBase.h.
References itk::SmartPointer< TObjectType >::GetPointer(), New(), and itk::ObjectFactoryBase::RegisterFactory().
Referenced by itk::SpatialObjectFactory< T >::RegisterSpatialObject().
virtual const char* itk::SpatialObjectFactoryBase::GetITKSourceVersion | ( | void | ) | const [virtual] |
Class methods used to interface with the registered factories.
Implements itk::ObjectFactoryBase.
virtual const char* itk::SpatialObjectFactoryBase::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ObjectFactoryBase.
static Pointer itk::SpatialObjectFactoryBase::New | ( | void | ) | [static] |
void itk::SpatialObjectFactoryBase::operator= | ( | const Self & | ) | [private] |
Mutex lock to protect modification to the reference count
Reimplemented from itk::ObjectFactoryBase.
static void itk::SpatialObjectFactoryBase::RegisterDefaultSpatialObjects | ( | ) | [static] |
Register all builtin SpatialObjects
void itk::SpatialObjectFactoryBase::RegisterSpatialObject | ( | const char * | classOverride, |
const char * | overrideClassName, | ||
const char * | description, | ||
bool | enableFlag, | ||
CreateObjectFunctionBase * | createFunction | ||
) | [inline] |
Definition at line 78 of file itkSpatialObjectFactoryBase.h.
SpatialObjectFactoryBase* itk::SpatialObjectFactoryBase::m_Factory [static, private] |
Definition at line 95 of file itkSpatialObjectFactoryBase.h.