19#ifndef rtkDisplacedDetectorImageFilter_h
20#define rtkDisplacedDetectorImageFilter_h
22#include "rtkConfiguration.h"
59template <
class TInputImage,
class TOutputImage = TInputImage>
74 static constexpr unsigned int NDimension = TInputImage::ImageDimension;
93 itkGetMacro(PadOnTruncatedSide,
bool);
102 itkGetMacro(MinimumOffset,
double);
103 itkGetMacro(MaximumOffset,
double);
107 itkGetMacro(Disable,
bool);
116 itkGetMacro(InferiorCorner,
double);
117 itkGetMacro(SuperiorCorner,
double);
120 itkGetMacro(OffsetsSet,
bool);
172#if defined(RTK_USE_CUDA) && defined(RTK_EXTERN_TEMPLATES)
173ITK_GCC_PRAGMA_DIAG_PUSH()
174ITK_GCC_PRAGMA_DIAG(ignored
"-Wattributes")
175extern template class RTK_EXPORT_EXPLICIT
rtk::DisplacedDetectorImageFilter<
itk::CudaImage<
float, 3>>;
176ITK_GCC_PRAGMA_DIAG_POP()
179#ifndef ITK_MANUAL_INSTANTIATION
180# include "rtkDisplacedDetectorImageFilter.hxx"
Base class for filters that take an image as input and produce an image as output.
Templated n-dimensional image class.
Base class for filters that take an image as input and overwrite that image as the output.
Implements transparent reference counting.
void VerifyPreconditions() const override
void GenerateInputRequestedRegion() override
TOutputImage InputImageType
bool m_PadOnTruncatedSide
itk::ImageToImageFilter< TOutputImage, TOutputImage > Superclass
~DisplacedDetectorImageFilter() override=default
itk::SmartPointer< const Self > ConstPointer
void GenerateOutputInformation() override
itk::SmartPointer< Self > Pointer
static constexpr unsigned int NDimension
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
itk::Image< double, 1 > WeightImageType
TOutputImage OutputImageType
ThreeDCircularProjectionGeometry GeometryType
typename OutputImageType::RegionType OutputImageRegionType
DisplacedDetectorImageFilter Self
DisplacedDetectorImageFilter()=default
void SetOffsets(double minOffset, double maxOffset)
GeometryConstPointer m_Geometry
GeometryType::ConstPointer GeometryConstPointer
Projection geometry for a source and a 2-D flat panel.
itk::SmartPointer< const Self > ConstPointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
#define itkSetMacro(name, type)