19 #ifndef rtkDisplacedDetectorImageFilter_h 20 #define rtkDisplacedDetectorImageFilter_h 24 #include "rtkConfiguration.h" 59 template <
class TInputImage,
class TOutputImage = TInputImage>
74 static constexpr
unsigned int NDimension = TInputImage::ImageDimension;
85 #ifdef itkOverrideGetNameOfClassMacro 99 itkGetMacro(PadOnTruncatedSide,
bool);
108 SetOffsets(
double minOffset,
double maxOffset);
109 itkGetMacro(MinimumOffset,
double);
110 itkGetMacro(MaximumOffset,
double);
115 itkGetMacro(Disable,
bool);
125 itkGetMacro(InferiorCorner,
double);
126 itkGetMacro(SuperiorCorner,
double);
131 VerifyPreconditions()
const override;
134 GenerateInputRequestedRegion()
override;
137 GenerateOutputInformation()
override;
143 bool m_PadOnTruncatedSide{
true };
154 double m_MinimumOffset{ 0. };
155 double m_MaximumOffset{ 0. };
160 bool m_OffsetsSet{
false };
165 double m_InferiorCorner{ 0. };
166 double m_SuperiorCorner{ 0. };
171 bool m_Disable{
false };
177 #ifndef ITK_MANUAL_INSTANTIATION 178 # include "rtkDisplacedDetectorImageFilter.hxx"
Weigting for displaced detectors.
TInputImage InputImageType
Projection geometry for a source and a 2-D flat panel.
#define itkSetMacro(name, type)
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
GeometryConstPointer m_Geometry