19#ifndef rtkProjectGeometricPhantomImageFilter_h
20#define rtkProjectGeometricPhantomImageFilter_h
39template <
class TInputImage,
class TOutputImage>
103 SetClipPlanes(
const std::vector<VectorType> & dir,
const std::vector<ScalarType> & pos);
129#ifndef ITK_MANUAL_INSTANTIATION
130# include "rtkProjectGeometricPhantomImageFilter.hxx"
Base class for filters that take an image as input and overwrite that image as the output.
Implements transparent reference counting.
itk::Vector< ScalarType, Dimension > VectorType
itk::Matrix< ScalarType, Dimension, Dimension > RotationMatrixType
Container for a geometric phantom, i.e., a set of ConvexShapes.
itk::SmartPointer< const Self > ConstPointer
void SetClipPlanes(const std::vector< VectorType > &dir, const std::vector< ScalarType > &pos)
void VerifyPreconditions() const override
virtual void SetPhantomScale(VectorType _arg)
itk::SmartPointer< Self > Pointer
GeometricPhantomConstPointer m_GeometricPhantom
itk::InPlaceImageFilter< TInputImage, TOutputImage > Superclass
~ProjectGeometricPhantomImageFilter() override=default
rtk::ThreeDCircularProjectionGeometry GeometryType
VectorType m_PhantomScale
typename GeometryType::ConstPointer GeometryConstPointer
ProjectGeometricPhantomImageFilter()
ConvexShape::ScalarType ScalarType
RotationMatrixType m_RotationMatrix
itk::SmartPointer< const Self > ConstPointer
ConvexShape::VectorType VectorType
ProjectGeometricPhantomImageFilter Self
VectorType m_OriginOffset
std::vector< ScalarType > m_PlanePositions
virtual void SetPhantomScale(const ScalarType _arg)
GeometryConstPointer m_Geometry
ConvexShape::RotationMatrixType RotationMatrixType
std::vector< VectorType > m_PlaneDirections
GeometricPhantom::ConstPointer GeometricPhantomConstPointer
void AddClipPlane(const VectorType &dir, const ScalarType &pos)
void GenerateData() override
Projection geometry for a source and a 2-D flat panel.
itk::SmartPointer< const Self > ConstPointer
#define itkSetMacro(name, type)