ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtk::ProjectionsRegionConstIteratorRayBasedWithFlatPanel< TImage > Class Template Reference

#include <rtkProjectionsRegionConstIteratorRayBasedWithFlatPanel.h>

Detailed Description

template<typename TImage>
class rtk::ProjectionsRegionConstIteratorRayBasedWithFlatPanel< TImage >

Implements a ray-based iterator for a point source and a flat panel.

Author
Simon Rit

Definition at line 35 of file rtkProjectionsRegionConstIteratorRayBasedWithFlatPanel.h.

+ Inheritance diagram for rtk::ProjectionsRegionConstIteratorRayBasedWithFlatPanel< TImage >:
+ Collaboration diagram for rtk::ProjectionsRegionConstIteratorRayBasedWithFlatPanel< TImage >:

Public Types

using HomogeneousMatrixType = itk::Matrix<double, 4, 4>
 
using MatrixType = typename Superclass::MatrixType
 
using OffsetValueType = typename Superclass::OffsetValueType
 
using PointType = typename itk::Point<double, 3>
 
using RegionType = typename Superclass::RegionType
 
using Self = ProjectionsRegionConstIteratorRayBasedWithFlatPanel
 
using Superclass = ProjectionsRegionConstIteratorRayBased<TImage>
 
using VectorType = typename itk::Vector<double, 3>
 
- Public Types inherited from rtk::ProjectionsRegionConstIteratorRayBased< TImage >
using HomogeneousMatrixType = itk::Matrix<double, 4, 4>
 
using IndexValueType = typename Superclass::IndexValueType
 
using MatrixType = itk::Matrix<double, 3, 4>
 
using OffsetValueType = typename Superclass::OffsetValueType
 
using PointType = typename itk::Point<double, 3>
 
using RegionType = typename Superclass::RegionType
 
using Self = ProjectionsRegionConstIteratorRayBased
 
using Superclass = itk::ImageConstIteratorWithIndex<TImage>
 
using VectorType = typename itk::Vector<double, 3>
 
- Public Types inherited from itk::ImageConstIteratorWithIndex< TImage >
using Self = ImageConstIteratorWithIndex
 
using Superclass = ImageIteratorWithIndex<std::add_const_t<TImage>>
 
- Public Types inherited from itk::ImageIteratorWithIndex< std::add_const_t< TImage > >
using AccessorFunctorType
 
using AccessorType
 
using ImageType
 
using IndexType
 
using IndexValueType
 
using InternalPixelType
 
using OffsetType
 
using OffsetValueType
 
using PixelContainer
 
using PixelContainerPointer
 
using PixelType
 
using RegionType
 
using Self
 
using SizeType
 
using SizeValueType
 

Public Member Functions

 ProjectionsRegionConstIteratorRayBasedWithFlatPanel (const TImage *ptr, const RegionType &region, const ThreeDCircularProjectionGeometry *geometry, const MatrixType &postMat)
 
- Public Member Functions inherited from rtk::ProjectionsRegionConstIteratorRayBased< TImage >
VectorType GetDirection ()
 
const PointType & GetPixelPosition ()
 
const PointType & GetSourcePosition ()
 
const VectorType & GetSourceToPixel ()
 
void Next ()
 
Self & operator++ ()
 
 ProjectionsRegionConstIteratorRayBased (const TImage *ptr, const RegionType &region, const ThreeDCircularProjectionGeometry *geometry, const MatrixType &postMat)
 
- Public Member Functions inherited from itk::ImageConstIteratorWithIndex< TImage >
 ImageConstIteratorWithIndex ()=default
 
 ImageConstIteratorWithIndex (const Superclass &it)
 
- Public Member Functions inherited from itk::ImageIteratorWithIndex< std::add_const_t< TImage > >
PixelType Get () const
 
PixelType Get () const
 
const IndexType & GetIndex () const
 
const IndexType & GetIndex () const
 
const RegionType & GetRegion () const
 
const RegionType & GetRegion () const
 
void GoToBegin ()
 
void GoToBegin ()
 
void GoToReverseBegin ()
 
void GoToReverseBegin ()
 
 ImageIteratorWithIndex ()=default
 
 ImageIteratorWithIndex ()=default
 
 ImageIteratorWithIndex (const ImageIteratorWithIndex< TOtherImage > &it)
 
 ImageIteratorWithIndex (const ImageIteratorWithIndex< TOtherImage > &it)
 
 ImageIteratorWithIndex (const Self &)=default
 
 ImageIteratorWithIndex (const Self &)=default
 
 ImageIteratorWithIndex (TImage *ptr, const RegionType &region)
 
 ImageIteratorWithIndex (TImage *ptr, const RegionType &region)
 
bool IsAtEnd () const
 
bool IsAtEnd () const
 
bool IsAtReverseEnd () const
 
bool IsAtReverseEnd () const
 
bool operator!= (const ImageIteratorWithIndex< TOtherImage > &it) const
 
bool operator!= (const ImageIteratorWithIndex< TOtherImage > &it) const
 
bool operator< (const ImageIteratorWithIndex< TOtherImage > &it) const
 
bool operator< (const ImageIteratorWithIndex< TOtherImage > &it) const
 
bool operator<= (const ImageIteratorWithIndex< TOtherImage > &it) const
 
bool operator<= (const ImageIteratorWithIndex< TOtherImage > &it) const
 
Self & operator= (const Self &)=default
 
Self & operator= (const Self &)=default
 
bool operator== (const ImageIteratorWithIndex< TOtherImage > &it) const
 
bool operator== (const ImageIteratorWithIndex< TOtherImage > &it) const
 
bool operator> (const ImageIteratorWithIndex< TOtherImage > &it) const
 
bool operator> (const ImageIteratorWithIndex< TOtherImage > &it) const
 
bool operator>= (const ImageIteratorWithIndex< TOtherImage > &it) const
 
bool operator>= (const ImageIteratorWithIndex< TOtherImage > &it) const
 
bool Remaining ()
 
bool Remaining ()
 
void Set (const PixelType &value) const
 
void Set (const PixelType &value) const
 
void SetIndex (const IndexType &ind)
 
void SetIndex (const IndexType &ind)
 
PixelType & Value ()
 
PixelType & Value ()
 
const PixelType & Value () const
 
const PixelType & Value () const
 
virtual ~ImageIteratorWithIndex ()=default
 
virtual ~ImageIteratorWithIndex ()=default
 

Protected Member Functions

void NewPixel () override
 
void NewProjection () override
 

Protected Attributes

MatrixType m_ProjectionIndexTransformMatrix
 
- Protected Attributes inherited from rtk::ProjectionsRegionConstIteratorRayBased< TImage >
ThreeDCircularProjectionGeometry::ConstPointer m_Geometry
 
PointType m_PixelPosition {}
 
MatrixType m_PostMultiplyMatrix
 
PointType m_SourcePosition {}
 
VectorType m_SourceToPixel {}
 
- Protected Attributes inherited from itk::ImageIteratorWithIndex< std::add_const_t< TImage > >
QualifiedInternalPixelType * m_Begin
 
QualifiedInternalPixelType * m_Begin
 
IndexType m_BeginIndex
 
IndexType m_BeginIndex
 
QualifiedInternalPixelType * m_End
 
QualifiedInternalPixelType * m_End
 
IndexType m_EndIndex
 
IndexType m_EndIndex
 
WeakPointer< TImage > m_Image
 
WeakPointer< TImage > m_Image
 
OffsetValueType m_OffsetTable [ImageDimension+1]
 
OffsetValueType m_OffsetTable [ImageDimension+1]
 
AccessorType m_PixelAccessor
 
AccessorType m_PixelAccessor
 
AccessorFunctorType m_PixelAccessorFunctor
 
AccessorFunctorType m_PixelAccessorFunctor
 
QualifiedInternalPixelType * m_Position
 
QualifiedInternalPixelType * m_Position
 
IndexType m_PositionIndex
 
IndexType m_PositionIndex
 
RegionType m_Region
 
RegionType m_Region
 
bool m_Remaining
 
bool m_Remaining
 

Additional Inherited Members

- Static Public Member Functions inherited from rtk::ProjectionsRegionConstIteratorRayBased< TImage >
static Self * New (const TImage *ptr, const RegionType &region, const ThreeDCircularProjectionGeometry *geometry)
 
static Self * New (const TImage *ptr, const RegionType &region, const ThreeDCircularProjectionGeometry *geometry, const HomogeneousMatrixType &postMat)
 
static Self * New (const TImage *ptr, const RegionType &region, const ThreeDCircularProjectionGeometry *geometry, const MatrixType &postMat)
 
- Static Public Member Functions inherited from itk::ImageIteratorWithIndex< std::add_const_t< TImage > >
static constexpr unsigned int GetImageDimension ()
 
static constexpr unsigned int GetImageDimension ()
 
- Static Public Attributes inherited from itk::ImageIteratorWithIndex< std::add_const_t< TImage > >
static constexpr unsigned int ImageDimension
 
static constexpr unsigned int ImageDimension
 
static constexpr unsigned int ImageIteratorDimension
 
static constexpr unsigned int ImageIteratorDimension
 
- Protected Types inherited from itk::ImageIteratorWithIndex< std::add_const_t< TImage > >
using QualifiedInternalPixelType
 

Member Typedef Documentation

◆ HomogeneousMatrixType

template<typename TImage>
using rtk::ProjectionsRegionConstIteratorRayBasedWithFlatPanel< TImage >::HomogeneousMatrixType = itk::Matrix<double, 4, 4>

◆ MatrixType

template<typename TImage>
using rtk::ProjectionsRegionConstIteratorRayBasedWithFlatPanel< TImage >::MatrixType = typename Superclass::MatrixType

◆ OffsetValueType

template<typename TImage>
using rtk::ProjectionsRegionConstIteratorRayBasedWithFlatPanel< TImage >::OffsetValueType = typename Superclass::OffsetValueType

Index type alias support While these were already typdef'ed in the superclass they need to be redone here for this subclass to compile properly with gcc. Types inherited from the Superclass

Definition at line 48 of file rtkProjectionsRegionConstIteratorRayBasedWithFlatPanel.h.

◆ PointType

template<typename TImage>
using rtk::ProjectionsRegionConstIteratorRayBasedWithFlatPanel< TImage >::PointType = typename itk::Point<double, 3>

◆ RegionType

template<typename TImage>
using rtk::ProjectionsRegionConstIteratorRayBasedWithFlatPanel< TImage >::RegionType = typename Superclass::RegionType

◆ Self

Standard class type alias.

Definition at line 40 of file rtkProjectionsRegionConstIteratorRayBasedWithFlatPanel.h.

◆ Superclass

◆ VectorType

template<typename TImage>
using rtk::ProjectionsRegionConstIteratorRayBasedWithFlatPanel< TImage >::VectorType = typename itk::Vector<double, 3>

Constructor & Destructor Documentation

◆ ProjectionsRegionConstIteratorRayBasedWithFlatPanel()

template<typename TImage>
rtk::ProjectionsRegionConstIteratorRayBasedWithFlatPanel< TImage >::ProjectionsRegionConstIteratorRayBasedWithFlatPanel ( const TImage * ptr,
const RegionType & region,
const ThreeDCircularProjectionGeometry * geometry,
const MatrixType & postMat )

Constructor establishes an iterator to walk a particular image and a particular region of that image. Set the matrix by which the 3D coordinates of the projection can be multiplied. A typical example is the conversion from 3D physical coordinates to voxel indices in an itk Image.

Member Function Documentation

◆ NewPixel()

template<typename TImage>
void rtk::ProjectionsRegionConstIteratorRayBasedWithFlatPanel< TImage >::NewPixel ( )
inlineoverrideprotectedvirtual

Init a new pixel position in a 2D projection, assuming that the NewProjection method has already been called.

Implements rtk::ProjectionsRegionConstIteratorRayBased< TImage >.

◆ NewProjection()

template<typename TImage>
void rtk::ProjectionsRegionConstIteratorRayBasedWithFlatPanel< TImage >::NewProjection ( )
inlineoverrideprotectedvirtual

Init the parameters common to a new 2D projection in the 3D stack.

Implements rtk::ProjectionsRegionConstIteratorRayBased< TImage >.

Member Data Documentation

◆ m_ProjectionIndexTransformMatrix

template<typename TImage>
MatrixType rtk::ProjectionsRegionConstIteratorRayBasedWithFlatPanel< TImage >::m_ProjectionIndexTransformMatrix
protected

The documentation for this class was generated from the following files: