15 #ifndef itkInvRayCastInterpolateImageFunction_h
16 #define itkInvRayCastInterpolateImageFunction_h
18 #include <itkInterpolateImageFunction.h>
19 #include <itkTransform.h>
20 #include <itkVector.h>
37 template <
class TInputImage,
class TCoordRep =
double>
39 public InterpolateImageFunction<TInputImage,TCoordRep>
44 typedef InterpolateImageFunction<TInputImage,TCoordRep>
Superclass;
49 itkStaticConstMacro(InputImageDimension,
unsigned int,
50 TInputImage::ImageDimension);
83 typedef typename Superclass::OutputType
OutputType;
89 typedef typename Superclass::RealType
RealType;
92 itkStaticConstMacro(ImageDimension,
unsigned int,Superclass::ImageDimension);
113 virtual OutputType Evaluate(
const PointType& point )
const;
126 virtual OutputType EvaluateAtContinuousIndex(
127 const ContinuousIndexType &
index )
const;
131 itkSetObjectMacro( Transform, TransformType );
133 itkGetObjectMacro( Transform, TransformType );
136 itkSetObjectMacro( Interpolator, InterpolatorType );
138 itkGetObjectMacro( Interpolator, InterpolatorType );
141 itkSetMacro( FocalPoint, InputPointType );
143 itkGetConstMacro( FocalPoint, InputPointType );
146 itkSetMacro( Threshold,
double );
148 itkGetConstMacro( Threshold,
double );
175 void PrintSelf(std::ostream& os, Indent indent)
const;
192 void operator=(
const Self& );
199 #ifndef ITK_MANUAL_INSTANTIATION
200 #include "itkInvRayCastInterpolateImageFunction.txx"
InputPointType m_FocalPoint
The focal point or position of the ray source.
Definition: itkInvRayCastInterpolateImageFunction.h:181
Superclass::ContinuousIndexType ContinuousIndexType
Definition: itkInvRayCastInterpolateImageFunction.h:101
Transform< TCoordRep, 3, 3 > TransformType
Definition: itkInvRayCastInterpolateImageFunction.h:56
Superclass::InputPixelType PixelType
Definition: itkInvRayCastInterpolateImageFunction.h:64
TransformPointer m_Transform
Transformation used to calculate the new focal point position.
Definition: itkInvRayCastInterpolateImageFunction.h:178
ImageType::SizeType SizeType
Definition: niftkMakeLapUSProbeBasicModel.cxx:31
TInputImage::SizeType SizeType
Definition: itkInvRayCastInterpolateImageFunction.h:66
InterpolateImageFunction< TInputImage, TCoordRep > InterpolatorType
Definition: itkInvRayCastInterpolateImageFunction.h:71
InterpolatorPointer m_Interpolator
Pointer to the interpolator.
Definition: itkInvRayCastInterpolateImageFunction.h:187
Definition: niftkITKAffineResampleImage.cxx:74
bool IsInsideBuffer(const ContinuousIndexType &) const
Definition: itkInvRayCastInterpolateImageFunction.h:157
ImageType::IndexType IndexType
Definition: niftkMakeLapUSProbeBasicModel.cxx:32
TransformType::Pointer TransformPointer
Definition: itkInvRayCastInterpolateImageFunction.h:58
float InputPixelType
Definition: niftkCTEPrepareVolumes.cxx:33
Superclass::RealType RealType
Definition: itkInvRayCastInterpolateImageFunction.h:89
Superclass::OutputType OutputType
Definition: itkInvRayCastInterpolateImageFunction.h:80
InterpolateImageFunction< TInputImage, TCoordRep > Superclass
Definition: itkInvRayCastInterpolateImageFunction.h:44
TransformType::ParametersType TransformParametersType
Definition: itkInvRayCastInterpolateImageFunction.h:61
bool IsInsideBuffer(const IndexType &) const
Definition: itkInvRayCastInterpolateImageFunction.h:161
TransformType::JacobianType TransformJacobianType
Definition: itkInvRayCastInterpolateImageFunction.h:62
TransformType::InputPointType InputPointType
Definition: itkInvRayCastInterpolateImageFunction.h:59
SmartPointer< Self > Pointer
Definition: itkInvRayCastInterpolateImageFunction.h:45
Superclass::InputImageType InputImageType
Definition: itkInvRayCastInterpolateImageFunction.h:86
InterpolatorType::Pointer InterpolatorPointer
Definition: itkInvRayCastInterpolateImageFunction.h:73
GLuint index
Definition: glew.h:1798
Superclass::PointType PointType
Definition: itkInvRayCastInterpolateImageFunction.h:95
~InvRayCastInterpolateImageFunction()
Destructor.
Definition: itkInvRayCastInterpolateImageFunction.h:172
double m_Threshold
The threshold above which voxels along the ray path are integrated.
Definition: itkInvRayCastInterpolateImageFunction.h:184
TransformType::OutputPointType OutputPointType
Definition: itkInvRayCastInterpolateImageFunction.h:60
Vector< TCoordRep, 3 > DirectionType
Definition: itkInvRayCastInterpolateImageFunction.h:68
Superclass::IndexType IndexType
Definition: itkInvRayCastInterpolateImageFunction.h:98
SmartPointer< const Self > ConstPointer
Definition: itkInvRayCastInterpolateImageFunction.h:46
Definition: itkInvRayCastInterpolateImageFunction.h:38
InvRayCastInterpolateImageFunction Self
Definition: itkInvRayCastInterpolateImageFunction.h:43
bool IsInsideBuffer(const PointType &) const
Definition: itkInvRayCastInterpolateImageFunction.h:153