19 #ifndef rtkProjectGeometricPhantomImageFilter_h 20 #define rtkProjectGeometricPhantomImageFilter_h 22 #include <itkInPlaceImageFilter.h> 23 #include <itkAddImageFilter.h> 39 template <
class TInputImage,
class TOutputImage>
47 using Superclass = itk::InPlaceImageFilter<TInputImage, TOutputImage>;
96 itkGetMacro(OriginOffset, VectorType);
101 itkGetMacro(RotationMatrix, RotationMatrixType);
107 AddClipPlane(
const VectorType & dir,
const ScalarType & pos);
109 SetClipPlanes(
const std::vector<VectorType> & dir,
const std::vector<ScalarType> & pos);
118 VerifyPreconditions()
const override;
121 GenerateData()
override;
136 #ifndef ITK_MANUAL_INSTANTIATION 137 # include "rtkProjectGeometricPhantomImageFilter.hxx" Container for a geometric phantom, i.e., a set of ConvexShapes.
itk::Vector< ScalarType, Dimension > VectorType
Analytical projection a GeometricPhantom.
ConvexShape::RotationMatrixType RotationMatrixType
itk::SmartPointer< const Self > ConstPointer
ConvexShape::ScalarType ScalarType
itk::SmartPointer< const Self > ConstPointer
itk::InPlaceImageFilter< TInputImage, TOutputImage > Superclass
typename GeometryType::ConstPointer GeometryConstPointer
RotationMatrixType m_RotationMatrix
virtual void SetPhantomScale(const ScalarType _arg)
ConvexShape::VectorType VectorType
Projection geometry for a source and a 2-D flat panel.
itk::SmartPointer< const Self > ConstPointer
#define itkSetMacro(name, type)
std::vector< ScalarType > m_PlanePositions
std::vector< VectorType > m_PlaneDirections
GeometryConstPointer m_Geometry
GeometricPhantomConstPointer m_GeometricPhantom
GeometricPhantom::ConstPointer GeometricPhantomConstPointer
itk::SmartPointer< Self > Pointer
itk::Matrix< ScalarType, Dimension, Dimension > RotationMatrixType