Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxComponentLoader.h>
Determines which components (metrics, transforms, etc.) are available.
This file defines the class elx::ComponentLoader. This class stores pointers to the New() functions of each component in the elx::ComponentDatabase.
Each new component (a new metric for example should "make itself known" by calling the elxInstallMacro, which is defined in elxMacro.h.
Definition at line 41 of file elxComponentLoader.h.
Public Types | |
typedef ComponentDatabaseType::Pointer | ComponentDatabasePointer |
typedef ComponentDatabase | ComponentDatabaseType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::SmartPointer< Self > | Pointer |
typedef ComponentLoader | Self |
typedef itk::Object | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () const |
itkGetModifiableObjectMacro (ComponentDatabase, ComponentDatabaseType) | |
virtual int | LoadComponents (const char *argv0) |
virtual void | SetComponentDatabase (ComponentDatabaseType *_arg) |
virtual void | UnloadComponents (void) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
ComponentLoader () | |
virtual int | InstallSupportedImageTypes (void) |
~ComponentLoader () override | |
Protected Attributes | |
ComponentDatabasePointer | m_ComponentDatabase |
bool | m_ImageTypeSupportInstalled |
Private Member Functions | |
ComponentLoader (const Self &) | |
void | operator= (const Self &) |
Definition at line 57 of file elxComponentLoader.h.
Typedef's.
Definition at line 56 of file elxComponentLoader.h.
typedef itk::SmartPointer< const Self > elastix::ComponentLoader::ConstPointer |
Definition at line 49 of file elxComponentLoader.h.
typedef itk::SmartPointer< Self > elastix::ComponentLoader::Pointer |
Definition at line 48 of file elxComponentLoader.h.
Standard ITK typedef's.
Definition at line 46 of file elxComponentLoader.h.
typedef itk::Object elastix::ComponentLoader::Superclass |
Definition at line 47 of file elxComponentLoader.h.
|
protected |
Standard constructor and destructor.
|
overrideprotected |
|
private |
Standard private (copy)constructor.
|
virtual |
|
protectedvirtual |
elastix::ComponentLoader::itkGetModifiableObjectMacro | ( | ComponentDatabase | , |
ComponentDatabaseType | |||
) |
|
virtual |
Function to load components. The argv0 used to be useful to find the program directory, but is not used anymore.
|
static |
Standard ITK stuff.
|
private |
|
virtual |
Set and get the ComponentDatabase.
|
virtual |
Function to unload components.
|
protected |
Definition at line 76 of file elxComponentLoader.h.
|
protected |
Definition at line 78 of file elxComponentLoader.h.
Generated on 1667476801 for elastix by 1.9.4 |