19 #ifndef rtkDrawGeometricPhantomImageFilter_h 20 #define rtkDrawGeometricPhantomImageFilter_h 22 #include <itkInPlaceImageFilter.h> 23 #include <itkAddImageFilter.h> 38 template <
class TInputImage,
class TOutputImage>
46 using Superclass = itk::InPlaceImageFilter<TInputImage, TOutputImage>;
88 itkGetMacro(OriginOffset, VectorType);
93 itkGetMacro(RotationMatrix, RotationMatrixType);
99 AddClipPlane(
const VectorType & dir,
const ScalarType & pos);
101 SetClipPlanes(
const std::vector<VectorType> & dir,
const std::vector<ScalarType> & pos);
109 GenerateData()
override;
123 #ifndef ITK_MANUAL_INSTANTIATION 124 # include "rtkDrawGeometricPhantomImageFilter.hxx" ConvexShape::VectorType VectorType
Container for a geometric phantom, i.e., a set of ConvexShapes.
itk::Vector< ScalarType, Dimension > VectorType
GeometricPhantomConstPointer m_GeometricPhantom
std::vector< ScalarType > m_PlanePositions
GeometricPhantom::ConstPointer GeometricPhantomConstPointer
std::vector< VectorType > m_PlaneDirections
virtual void SetPhantomScale(const ScalarType _arg)
itk::SmartPointer< Self > Pointer
itk::SmartPointer< const Self > ConstPointer
Draws a GeometricPhantom in a 3D image.
#define itkSetMacro(name, type)
ConvexShape::RotationMatrixType RotationMatrixType
RotationMatrixType m_RotationMatrix
itk::InPlaceImageFilter< TInputImage, TOutputImage > Superclass
ConvexShape::ScalarType ScalarType
itk::SmartPointer< const Self > ConstPointer
itk::Matrix< ScalarType, Dimension, Dimension > RotationMatrixType