Loading...
Searching...
No Matches
elxLinearResampleInterpolator.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 elxLinearResampleInterpolator_h
#define elxLinearResampleInterpolator_h
#include "elxIncludes.h" // include first to avoid MSVS warning
#include "itkLinearInterpolateImageFunction.h"
namespace elastix
{
template <class TElastix>
class ITK_TEMPLATE_EXPORT LinearResampleInterpolator
: public itk::LinearInterpolateImageFunction<typename ResampleInterpolatorBase<TElastix>::InputImageType,
typename ResampleInterpolatorBase<TElastix>::CoordRepType>
, public ResampleInterpolatorBase<TElastix>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(LinearResampleInterpolator);
using Self = LinearResampleInterpolator;
using Superclass1 = itk::LinearInterpolateImageFunction<typename ResampleInterpolatorBase<TElastix>::InputImageType,
typename ResampleInterpolatorBase<TElastix>::CoordRepType>;
using Superclass2 = ResampleInterpolatorBase<TElastix>;
using Pointer = itk::SmartPointer<Self>;
using ConstPointer = itk::SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(LinearResampleInterpolator, itk::LinearInterpolateImageFunction);
elxClassNameMacro("FinalLinearInterpolator");
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension);
using typename Superclass1::OutputType;
using typename Superclass1::InputImageType;
using typename Superclass1::IndexType;
using typename Superclass1::ContinuousIndexType;
using typename Superclass2::ElastixType;
using typename Superclass2::RegistrationType;
using ITKBaseType = typename Superclass2::ITKBaseType;
protected:
LinearResampleInterpolator() = default;
~LinearResampleInterpolator() override = default;
private:
elxOverrideGetSelfMacro;
};
} // end namespace elastix
#ifndef ITK_MANUAL_INSTANTIATION
# include "elxLinearResampleInterpolator.hxx"
#endif
#endif // end elxLinearResampleInterpolator_h
elastix::LinearResampleInterpolator::Superclass1
itk::LinearInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType > Superclass1
Definition elxLinearResampleInterpolator.h:54
elastix::LinearResampleInterpolator::Pointer
itk::SmartPointer< Self > Pointer
Definition elxLinearResampleInterpolator.h:57
elastix::LinearResampleInterpolator::Superclass2
ResampleInterpolatorBase< TElastix > Superclass2
Definition elxLinearResampleInterpolator.h:56
elastix::LinearResampleInterpolator::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(LinearResampleInterpolator)
elastix::LinearResampleInterpolator::elxOverrideGetSelfMacro
elxOverrideGetSelfMacro
Definition elxLinearResampleInterpolator.h:93
elastix::LinearResampleInterpolator::ITKBaseType
typename Superclass2::ITKBaseType ITKBaseType
Definition elxLinearResampleInterpolator.h:84
elastix::LinearResampleInterpolator::elxClassNameMacro
elxClassNameMacro("FinalLinearInterpolator")
elastix::LinearResampleInterpolator::itkStaticConstMacro
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
elastix::LinearResampleInterpolator::~LinearResampleInterpolator
~LinearResampleInterpolator() override=default
elastix::LinearResampleInterpolator::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition elxLinearResampleInterpolator.h:58
elastix::LinearResampleInterpolator::Self
LinearResampleInterpolator Self
Definition elxLinearResampleInterpolator.h:53
elastix::LinearResampleInterpolator::LinearResampleInterpolator
LinearResampleInterpolator()=default
elastix::ResampleInterpolatorBase::CoordRepType
ElastixBase::CoordRepType CoordRepType
Definition elxResampleInterpolatorBase.h:61
elastix::ResampleInterpolatorBase::ITKBaseType
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
Definition elxResampleInterpolatorBase.h:64
elastix::ResampleInterpolatorBase::ResampleInterpolatorBase
ResampleInterpolatorBase()=default
elastix::ResampleInterpolatorBase::RegistrationType
typename ElastixType::RegistrationBaseType RegistrationType
Definition elxBaseComponentSE.h:62
elastix::ResampleInterpolatorBase::ElastixType
TElastix ElastixType
Definition elxBaseComponentSE.h:57
elxIncludes.h
elastix
Definition elxDefaultConstruct.h:25

Generated on 1768596610 for elastix by 1.15.0 |