#include <elxInstallFunctions.h>
A class with functions that are used to install elastix components.
In elastix the metric/transform/dimension/pixeltype etc. are all selected at runtime. To make this possible, all components (metric/transform etc) have to compiled for different dimension/pixeltype. The elx::ComponentDatabase stores for each instance and each pixeltype/dimension a pointers to a function that creates a component of the specific type. The InstallFunctions class provides functions that aid in filling the elx::ComponentDatabase. The functions are called when elastix is started. Do not do this directly. Use the elxInstallMacro instead (see elxMacro.h).
Definition at line 46 of file elxInstallFunctions.h.
Public Types | |
using | AnyItkObjectType = TAnyItkObject |
using | ComponentDescriptionType = ComponentDatabase::ComponentDescriptionType |
using | IndexType = ComponentDatabase::IndexType |
using | ObjectPointer = ComponentDatabase::ObjectPointer |
using | Self = InstallFunctions |
Static Public Member Functions | |
static ObjectPointer | Creator () |
static int | InstallComponent (const ComponentDescriptionType &name, IndexType i, ComponentDatabase *cdb) |
using elastix::InstallFunctions< TAnyItkObject >::AnyItkObjectType = TAnyItkObject |
Definition at line 51 of file elxInstallFunctions.h.
using elastix::InstallFunctions< TAnyItkObject >::ComponentDescriptionType = ComponentDatabase::ComponentDescriptionType |
The type of the key in the component database (=string)
Definition at line 62 of file elxInstallFunctions.h.
using elastix::InstallFunctions< TAnyItkObject >::IndexType = ComponentDatabase::IndexType |
The type of the index in the component database. Each combination of pixeltype/dimension corresponds a specific number, the index (unsigned int).
Definition at line 59 of file elxInstallFunctions.h.
using elastix::InstallFunctions< TAnyItkObject >::ObjectPointer = ComponentDatabase::ObjectPointer |
The baseclass of all objects that are returned by the Creator.
Definition at line 54 of file elxInstallFunctions.h.
using elastix::InstallFunctions< TAnyItkObject >::Self = InstallFunctions |
Standard.
Definition at line 50 of file elxInstallFunctions.h.
|
inlinestatic |
A wrap around the New() functions of itkObjects.
Definition at line 66 of file elxInstallFunctions.h.
|
inlinestatic |
This function places the address of the New() function of AnyItkObjectType in the ComponentDatabase. Returns 0 in case of no errors.
Definition at line 76 of file elxInstallFunctions.h.
Generated on 2024-07-17 for elastix by 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) |