RTK  2.0.1
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <rtkRayBoxIntersectionImageFilter.h>

+ Inheritance diagram for rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >:

Public Types

using ConstPointer = itk::SmartPointer< const Self >
 
using ImageBaseType = BoxShape::ImageBaseType
 
using Pointer = itk::SmartPointer< Self >
 
using PointType = BoxShape::PointType
 
using RotationMatrixType = BoxShape::RotationMatrixType
 
using ScalarType = BoxShape::ScalarType
 
using Self = RayBoxIntersectionImageFilter
 
using Superclass = RayConvexIntersectionImageFilter< TInputImage, TOutputImage >
 
using VectorType = BoxShape::VectorType
 
- Public Types inherited from rtk::RayConvexIntersectionImageFilter< TInputImage, TOutputImage >
using ConstPointer = itk::SmartPointer< const Self >
 
using ConvexShapePointer = ConvexShape::Pointer
 
using GeometryConstPointer = typename GeometryType::ConstPointer
 
using GeometryType = rtk::ThreeDCircularProjectionGeometry
 
using OutputImageRegionType = typename TOutputImage::RegionType
 
using Pointer = itk::SmartPointer< Self >
 
using PointType = ConvexShape::PointType
 
using ScalarType = ConvexShape::ScalarType
 
using Self = RayConvexIntersectionImageFilter
 
using Superclass = itk::InPlaceImageFilter< TInputImage, TOutputImage >
 

Public Member Functions

void AddClipPlane (const VectorType &dir, const ScalarType &pos)
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
void SetBoxFromImage (const ImageBaseType *img, bool bWithExternalHalfPixelBorder=true)
 
virtual ScalarType GetDensity ()
 
virtual void SetDensity (ScalarType _arg)
 
virtual const std::vector< VectorType > & GetPlaneDirections () const
 
virtual const std::vector< ScalarType > & GetPlanePositions () const
 
virtual PointType GetBoxMin ()
 
virtual void SetBoxMin (PointType _arg)
 
virtual PointType GetBoxMax ()
 
virtual void SetBoxMax (PointType _arg)
 
virtual RotationMatrixType GetDirection ()
 
virtual void SetDirection (RotationMatrixType _arg)
 
- Public Member Functions inherited from rtk::RayConvexIntersectionImageFilter< TInputImage, TOutputImage >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual ConvexShapeGetModifiableConvexShape ()
 
virtual const ConvexShapeGetConvexShape () const
 
virtual void SetConvexShape (ConvexShape *_arg)
 
virtual const GeometryTypeGetGeometry () const
 
virtual void SetGeometry (const GeometryType *_arg)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from rtk::RayConvexIntersectionImageFilter< TInputImage, TOutputImage >
static Pointer New ()
 

Protected Member Functions

void BeforeThreadedGenerateData () override
 
 RayBoxIntersectionImageFilter ()
 
 ~RayBoxIntersectionImageFilter () override=default
 
- Protected Member Functions inherited from rtk::RayConvexIntersectionImageFilter< TInputImage, TOutputImage >
void BeforeThreadedGenerateData () override
 
 RayConvexIntersectionImageFilter ()
 
 ~RayConvexIntersectionImageFilter () override=default
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
 

Private Attributes

PointType m_BoxMax {0.}
 
PointType m_BoxMin {0.}
 
ScalarType m_Density {1.}
 
RotationMatrixType m_Direction
 
std::vector< VectorTypem_PlaneDirections
 
std::vector< ScalarTypem_PlanePositions
 

Detailed Description

template<class TInputImage, class TOutputImage>
class rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >

Analytical projection of a BoxShape.

Test:
rtkdrawgeometricphantomtest.cxx, rtkforbildtest.cxx
Author
Marc Vila, Simon Rit

Definition at line 39 of file rtkRayBoxIntersectionImageFilter.h.

Member Typedef Documentation

template<class TInputImage , class TOutputImage >
using rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::ConstPointer = itk::SmartPointer<const Self>

Definition at line 49 of file rtkRayBoxIntersectionImageFilter.h.

template<class TInputImage , class TOutputImage >
using rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::ImageBaseType = BoxShape::ImageBaseType

Definition at line 56 of file rtkRayBoxIntersectionImageFilter.h.

template<class TInputImage , class TOutputImage >
using rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::Pointer = itk::SmartPointer<Self>

Definition at line 48 of file rtkRayBoxIntersectionImageFilter.h.

template<class TInputImage , class TOutputImage >
using rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::PointType = BoxShape::PointType

Convenient type alias.

Definition at line 52 of file rtkRayBoxIntersectionImageFilter.h.

template<class TInputImage , class TOutputImage >
using rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::RotationMatrixType = BoxShape::RotationMatrixType

Definition at line 55 of file rtkRayBoxIntersectionImageFilter.h.

template<class TInputImage , class TOutputImage >
using rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::ScalarType = BoxShape::ScalarType

Definition at line 54 of file rtkRayBoxIntersectionImageFilter.h.

template<class TInputImage , class TOutputImage >
using rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::Self = RayBoxIntersectionImageFilter

Standard class type alias.

Definition at line 46 of file rtkRayBoxIntersectionImageFilter.h.

template<class TInputImage , class TOutputImage >
using rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::Superclass = RayConvexIntersectionImageFilter<TInputImage,TOutputImage>

Definition at line 47 of file rtkRayBoxIntersectionImageFilter.h.

template<class TInputImage , class TOutputImage >
using rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::VectorType = BoxShape::VectorType

Definition at line 53 of file rtkRayBoxIntersectionImageFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::RayBoxIntersectionImageFilter ( )
protected
template<class TInputImage , class TOutputImage >
rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::~RayBoxIntersectionImageFilter ( )
overrideprotecteddefault

Member Function Documentation

template<class TInputImage , class TOutputImage >
void rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::AddClipPlane ( const VectorType dir,
const ScalarType pos 
)

See ConvexShape for the definition of clip planes.

template<class TInputImage , class TOutputImage >
void rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData ( )
overrideprotected
template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::CreateAnother ( ) const
template<class TInputImage , class TOutputImage >
virtual PointType rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::GetBoxMax ( )
virtual

Get/Set the box parameters. See rtk::BoxShape.

template<class TInputImage , class TOutputImage >
virtual PointType rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::GetBoxMin ( )
virtual

Get/Set the box parameters. See rtk::BoxShape.

template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::GetDensity ( )
virtual

Get / Set the constant density of the volume

template<class TInputImage , class TOutputImage >
virtual RotationMatrixType rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::GetDirection ( )
virtual

Get/Set the box parameters. See rtk::BoxShape.

template<class TInputImage , class TOutputImage >
virtual const char* rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from rtk::RayConvexIntersectionImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
virtual const std::vector<VectorType>& rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::GetPlaneDirections ( ) const
virtual

Get reference to vector of plane parameters.

template<class TInputImage , class TOutputImage >
virtual const std::vector<ScalarType>& rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::GetPlanePositions ( ) const
virtual

Get reference to vector of plane parameters.

template<class TInputImage , class TOutputImage >
static Pointer rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

template<class TInputImage , class TOutputImage >
void rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::SetBoxFromImage ( const ImageBaseType img,
bool  bWithExternalHalfPixelBorder = true 
)

Set the box from an image. See rtk::BoxShape::SetBoxFromImage.

template<class TInputImage , class TOutputImage >
virtual void rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::SetBoxMax ( PointType  _arg)
virtual

Get/Set the box parameters. See rtk::BoxShape.

template<class TInputImage , class TOutputImage >
virtual void rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::SetBoxMin ( PointType  _arg)
virtual

Get/Set the box parameters. See rtk::BoxShape.

template<class TInputImage , class TOutputImage >
virtual void rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::SetDensity ( ScalarType  _arg)
virtual

Get / Set the constant density of the volume

template<class TInputImage , class TOutputImage >
virtual void rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::SetDirection ( RotationMatrixType  _arg)
virtual

Get/Set the box parameters. See rtk::BoxShape.

Member Data Documentation

template<class TInputImage , class TOutputImage >
PointType rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::m_BoxMax {0.}
private

Definition at line 101 of file rtkRayBoxIntersectionImageFilter.h.

template<class TInputImage , class TOutputImage >
PointType rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::m_BoxMin {0.}
private

Definition at line 100 of file rtkRayBoxIntersectionImageFilter.h.

template<class TInputImage , class TOutputImage >
ScalarType rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::m_Density {1.}
private

Definition at line 96 of file rtkRayBoxIntersectionImageFilter.h.

template<class TInputImage , class TOutputImage >
RotationMatrixType rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::m_Direction
private

Definition at line 102 of file rtkRayBoxIntersectionImageFilter.h.

template<class TInputImage , class TOutputImage >
std::vector<VectorType> rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::m_PlaneDirections
private

Definition at line 97 of file rtkRayBoxIntersectionImageFilter.h.

template<class TInputImage , class TOutputImage >
std::vector<ScalarType> rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::m_PlanePositions
private

Definition at line 98 of file rtkRayBoxIntersectionImageFilter.h.


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