34 #ifndef __itkAdvancedRayCastInterpolateImageFunction_h 35 #define __itkAdvancedRayCastInterpolateImageFunction_h 37 #include "itkInterpolateImageFunction.h" 38 #include "itkTransform.h" 39 #include "itkVector.h" 55 template<
class TInputImage,
class TCoordRep =
double >
57 public InterpolateImageFunction< TInputImage, TCoordRep >
63 typedef InterpolateImageFunction< TInputImage, TCoordRep >
Superclass;
69 TInputImage::ImageDimension );
75 typedef Transform< TCoordRep, InputImageDimension, InputImageDimension >
TransformType;
83 typedef typename Superclass::InputPixelType
PixelType;
85 typedef typename TInputImage::SizeType
SizeType;
101 typedef typename Superclass::OutputType
OutputType;
131 virtual OutputType
Evaluate(
const PointType & point )
const;
145 const ContinuousIndexType & index )
const;
148 itkSetObjectMacro( Transform, TransformType );
150 itkGetObjectMacro( Transform, TransformType );
153 itkSetObjectMacro( Interpolator, InterpolatorType );
155 itkGetObjectMacro( Interpolator, InterpolatorType );
158 itkSetMacro( FocalPoint, InputPointType );
160 itkGetConstMacro( FocalPoint, InputPointType );
163 itkSetMacro( Threshold,
double );
165 itkGetConstMacro( Threshold,
double );
197 void PrintSelf( std::ostream & os, Indent indent )
const;
220 #ifndef ITK_MANUAL_INSTANTIATION 221 #include "itkAdvancedRayCastInterpolateImageFunction.hxx" Superclass::RealType RealType
Superclass::ContinuousIndexType ContinuousIndexType
void PrintSelf(std::ostream &os, Indent indent) const
Print the object.
Transform< TCoordRep, InputImageDimension, InputImageDimension > TransformType
TransformType::JacobianType TransformJacobianType
AdvancedRayCastInterpolateImageFunction()
Constructor.
virtual OutputType Evaluate(const PointType &point) const
Interpolate the image at a point position.
InterpolateImageFunction< TInputImage, TCoordRep > Superclass
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension)
TransformPointer m_Transform
Transformation used to calculate the new focal point position.
TransformType::Pointer TransformPointer
bool IsInsideBuffer(const PointType &) const
SmartPointer< const Self > ConstPointer
Superclass::IndexType IndexType
InputPointType m_FocalPoint
The focal point or position of the ray source.
Superclass::InputPixelType PixelType
SmartPointer< Self > Pointer
void operator=(const Self &)
bool IsInsideBuffer(const IndexType &) const
InterpolatorType::Pointer InterpolatorPointer
InterpolateImageFunction< TInputImage, TCoordRep > InterpolatorType
double m_Threshold
The threshold above which voxels along the ray path are integrated.
Vector< TCoordRep, InputImageDimension > DirectionType
Superclass::PointType PointType
AdvancedRayCastInterpolateImageFunction Self
InterpolatorPointer m_Interpolator
Pointer to the interpolator.
Projective interpolation of an image at specified positions.
TransformType::ParametersType TransformParametersType
bool IsInsideBuffer(const ContinuousIndexType &) const
TransformType::OutputPointType OutputPointType
Superclass::OutputType OutputType
virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &index) const
TransformType::InputPointType InputPointType
TInputImage::SizeType SizeType
Superclass::InputImageType InputImageType
~AdvancedRayCastInterpolateImageFunction()
Destructor.