Loading...
Searching...
No Matches
elxTransformixMain.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 elxTransformixMain_h
#define elxTransformixMain_h
#include "elxMainBase.h"
#include <itkTransformBase.h>
namespace elastix
{
class TransformixMain : public MainBase
{
public:
ITK_DISALLOW_COPY_AND_MOVE(TransformixMain);
using Self = TransformixMain;
using Superclass = MainBase;
using Pointer = itk::SmartPointer<Self>;
using ConstPointer = itk::SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(TransformixMain, ElastixMain);
using Superclass::ObjectPointer;
using Superclass::DataObjectPointer;
using Superclass::ArgumentMapType;
using Superclass::ObjectContainerType;
using Superclass::DataObjectContainerType;
using Superclass::ObjectContainerPointer;
using Superclass::DataObjectContainerPointer;
using Superclass::ComponentDatabasePointer;
using Superclass::PtrToCreator;
using Superclass::ComponentDescriptionType;
using Superclass::PixelTypeDescriptionType;
using Superclass::ImageDimensionType;
using Superclass::DBIndexType;
using Superclass::ParameterMapType;
using Superclass::Run;
int
Run() override;
int
Run(const ArgumentMapType & argmap,
const std::vector<ParameterMapType> & transformParameterMaps,
itk::TransformBase * = nullptr);
virtual void
SetInputImageContainer(DataObjectContainerType * inputImageContainer);
protected:
TransformixMain() = default;
~TransformixMain() override;
int
InitDBIndex() override;
private:
int
RunWithTransform(itk::TransformBase *);
// Version used when transformix is used as a library.
void
EnterCommandLineArgumentsWithTransformParameterMaps(const ArgumentMapType & argmap,
const std::vector<ParameterMapType> & transformParameterMaps);
};
} // end namespace elastix
#endif // end #ifndef elxTransformixMain_h
elastix::ElastixMain
A class with all functionality to configure elastix.
Definition elxElastixMain.h:69
elastix::MainBase::ComponentDescriptionType
ComponentDatabase::ComponentDescriptionType ComponentDescriptionType
Definition elxMainBase.h:77
elastix::MainBase::ObjectContainerType
ElastixBase::ObjectContainerType ObjectContainerType
Definition elxMainBase.h:66
elastix::MainBase::ObjectContainerPointer
ElastixBase::ObjectContainerPointer ObjectContainerPointer
Definition elxMainBase.h:68
elastix::MainBase::Run
virtual int Run()=0
elastix::MainBase::ParameterMapType
itk::ParameterMapInterface::ParameterMapType ParameterMapType
Definition elxMainBase.h:83
elastix::MainBase::PtrToCreator
ComponentDatabase::PtrToCreator PtrToCreator
Definition elxMainBase.h:76
elastix::MainBase::MainBase
MainBase()
elastix::MainBase::ImageDimensionType
ComponentDatabase::ImageDimensionType ImageDimensionType
Definition elxMainBase.h:79
elastix::MainBase::DataObjectContainerType
ElastixBase::DataObjectContainerType DataObjectContainerType
Definition elxMainBase.h:67
elastix::MainBase::ComponentDatabasePointer
ComponentDatabase::Pointer ComponentDatabasePointer
Definition elxMainBase.h:75
elastix::MainBase::DataObjectContainerPointer
ElastixBase::DataObjectContainerPointer DataObjectContainerPointer
Definition elxMainBase.h:69
elastix::MainBase::DBIndexType
ComponentDatabase::IndexType DBIndexType
Definition elxMainBase.h:80
elastix::MainBase::ObjectPointer
itk::Object::Pointer ObjectPointer
Definition elxMainBase.h:61
elastix::MainBase::DataObjectPointer
itk::DataObject::Pointer DataObjectPointer
Definition elxMainBase.h:62
elastix::MainBase::PixelTypeDescriptionType
ComponentDatabase::PixelTypeDescriptionType PixelTypeDescriptionType
Definition elxMainBase.h:78
elastix::MainBase::ArgumentMapType
Configuration::CommandLineArgumentMapType ArgumentMapType
Definition elxMainBase.h:65
elastix::TransformixMain::RunWithTransform
int RunWithTransform(itk::TransformBase *)
elastix::TransformixMain::EnterCommandLineArgumentsWithTransformParameterMaps
void EnterCommandLineArgumentsWithTransformParameterMaps(const ArgumentMapType &argmap, const std::vector< ParameterMapType > &transformParameterMaps)
elastix::TransformixMain::Self
TransformixMain Self
Definition elxTransformixMain.h:45
elastix::TransformixMain::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition elxTransformixMain.h:48
elastix::TransformixMain::Run
int Run(const ArgumentMapType &argmap, const std::vector< ParameterMapType > &transformParameterMaps, itk::TransformBase *=nullptr)
elastix::TransformixMain::DataObjectContainerType
ElastixBase::DataObjectContainerType DataObjectContainerType
Definition elxMainBase.h:67
elastix::TransformixMain::Run
int Run() override
elastix::TransformixMain::Superclass
MainBase Superclass
Definition elxTransformixMain.h:46
elastix::TransformixMain::InitDBIndex
int InitDBIndex() override
elastix::TransformixMain::TransformixMain
TransformixMain()=default
elastix::TransformixMain::Pointer
itk::SmartPointer< Self > Pointer
Definition elxTransformixMain.h:47
elastix::TransformixMain::SetInputImageContainer
virtual void SetInputImageContainer(DataObjectContainerType *inputImageContainer)
elastix::TransformixMain::~TransformixMain
~TransformixMain() override
elastix::TransformixMain::ArgumentMapType
Configuration::CommandLineArgumentMapType ArgumentMapType
Definition elxMainBase.h:65
elastix::TransformixMain::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(TransformixMain)
elxMainBase.h
elastix
Definition elxDefaultConstruct.h:25

Generated on 1768596610 for elastix by 1.15.0 |