Loading...
Searching...
No Matches
elxDefaultResampler.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 elxDefaultResampler_h
#define elxDefaultResampler_h
#include "elxIncludes.h" // include first to avoid MSVS warning
#include "itkResampleImageFilter.h"
namespace elastix
{
template <class TElastix>
class ITK_TEMPLATE_EXPORT DefaultResampler
: public ResamplerBase<TElastix>::ITKBaseType
, public ResamplerBase<TElastix>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(DefaultResampler);
using Self = DefaultResampler;
using Superclass1 = typename ResamplerBase<TElastix>::ITKBaseType;
using Superclass2 = ResamplerBase<TElastix>;
using Pointer = itk::SmartPointer<Self>;
using ConstPointer = itk::SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(DefaultResampler, ResampleImageFilter);
elxClassNameMacro("DefaultResampler");
using typename Superclass1::InputImageType;
using typename Superclass1::OutputImageType;
using typename Superclass1::InputImagePointer;
using typename Superclass1::OutputImagePointer;
using typename Superclass1::InputImageRegionType;
using typename Superclass1::TransformType;
using typename Superclass1::TransformPointerType;
using typename Superclass1::InterpolatorType;
using typename Superclass1::InterpolatorPointerType;
using typename Superclass1::SizeType;
using typename Superclass1::IndexType;
using typename Superclass1::PixelType;
using typename Superclass1::OutputImageRegionType;
using typename Superclass1::SpacingType;
using typename Superclass1::OriginPointType;
using typename Superclass2::ElastixType;
using typename Superclass2::RegistrationType;
using ITKBaseType = typename Superclass2::ITKBaseType;
/* Nothing to add. In the baseclass already everything is done what should be done. */
protected:
DefaultResampler() = default;
~DefaultResampler() override = default;
private:
elxOverrideGetSelfMacro;
};
} // end namespace elastix
#ifndef ITK_MANUAL_INSTANTIATION
# include "elxDefaultResampler.hxx"
#endif
#endif // end #ifndef elxDefaultResampler_h
elastix::DefaultResampler::Superclass2
ResamplerBase< TElastix > Superclass2
Definition elxDefaultResampler.h:49
elastix::DefaultResampler::Superclass1
typename ResamplerBase< TElastix >::ITKBaseType Superclass1
Definition elxDefaultResampler.h:48
elastix::DefaultResampler::elxOverrideGetSelfMacro
elxOverrideGetSelfMacro
Definition elxDefaultResampler.h:96
elastix::DefaultResampler::~DefaultResampler
~DefaultResampler() override=default
elastix::DefaultResampler::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition elxDefaultResampler.h:51
elastix::DefaultResampler::Pointer
itk::SmartPointer< Self > Pointer
Definition elxDefaultResampler.h:50
elastix::DefaultResampler::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(DefaultResampler)
elastix::DefaultResampler::ITKBaseType
typename Superclass2::ITKBaseType ITKBaseType
Definition elxDefaultResampler.h:85
elastix::DefaultResampler::DefaultResampler
DefaultResampler()=default
elastix::DefaultResampler::elxClassNameMacro
elxClassNameMacro("DefaultResampler")
elastix::DefaultResampler::Self
DefaultResampler Self
Definition elxDefaultResampler.h:47
elastix::ResamplerBase::ResamplerBase
ResamplerBase()=default
elastix::ResamplerBase::RegistrationType
typename ElastixType::RegistrationBaseType RegistrationType
Definition elxBaseComponentSE.h:62
elastix::ResamplerBase::ElastixType
TElastix ElastixType
Definition elxBaseComponentSE.h:57
elastix::ResamplerBase::ITKBaseType
itk::ResampleImageFilter< InputImageType, OutputImageType, CoordRepType > ITKBaseType
Definition elxResamplerBase.h:101
elxIncludes.h
elastix
Definition elxDefaultConstruct.h:25

Generated on 1768596610 for elastix by 1.15.0 |