Loading...
Searching...
No Matches
elxComponentLoader.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef elxComponentLoader_h
#define elxComponentLoader_h
#include "elxComponentDatabase.h"
#include "elxlog.h"
namespace elastix
{
class ComponentLoader : public itk::Object
{
public:
ITK_DISALLOW_COPY_AND_MOVE(ComponentLoader);
using Self = ComponentLoader;
using Superclass = itk::Object;
using Pointer = itk::SmartPointer<Self>;
using ConstPointer = itk::SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(ComponentLoader, Object);
using ComponentDatabasePointer = ComponentDatabase::Pointer;
itkSetObjectMacro(ComponentDatabase, ComponentDatabase);
itkGetModifiableObjectMacro(ComponentDatabase, ComponentDatabase);
int
LoadComponents();
protected:
ComponentLoader();
~ComponentLoader() override;
ComponentDatabasePointer m_ComponentDatabase;
bool m_ImageTypeSupportInstalled;
virtual int
InstallSupportedImageTypes();
private:
};
} // end namespace elastix
#endif // #ifndef elxComponentLoader_h
elastix::ComponentDatabase
The ComponentDatabase class is a class that stores the New() functions of all components.
Definition elxComponentDatabase.h:53
elastix::ComponentDatabase::Pointer
itk::SmartPointer< Self > Pointer
Definition elxComponentDatabase.h:60
elastix::ComponentLoader::Self
ComponentLoader Self
Definition elxComponentLoader.h:47
elastix::ComponentLoader::~ComponentLoader
~ComponentLoader() override
elastix::ComponentLoader::itkGetModifiableObjectMacro
itkGetModifiableObjectMacro(ComponentDatabase, ComponentDatabase)
elastix::ComponentLoader::m_ImageTypeSupportInstalled
bool m_ImageTypeSupportInstalled
Definition elxComponentLoader.h:74
elastix::ComponentLoader::m_ComponentDatabase
ComponentDatabasePointer m_ComponentDatabase
Definition elxComponentLoader.h:72
elastix::ComponentLoader::InstallSupportedImageTypes
virtual int InstallSupportedImageTypes()
elastix::ComponentLoader::ComponentLoader
ComponentLoader()
elastix::ComponentLoader::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition elxComponentLoader.h:50
elastix::ComponentLoader::Superclass
itk::Object Superclass
Definition elxComponentLoader.h:48
elastix::ComponentLoader::LoadComponents
int LoadComponents()
elastix::ComponentLoader::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(ComponentLoader)
elastix::ComponentLoader::Pointer
itk::SmartPointer< Self > Pointer
Definition elxComponentLoader.h:49
elastix::ComponentLoader::ComponentDatabasePointer
ComponentDatabase::Pointer ComponentDatabasePointer
Definition elxComponentLoader.h:57
elxComponentDatabase.h
elxlog.h
elastix
Definition elxDefaultConstruct.h:25

Generated on 1768596610 for elastix by 1.15.0 |