RTK  2.6.0
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
 
void SetBoxFromImage (const ImageBaseType *_arg, bool bWithExternalHalfPixelBorder=true)
 
virtual const char * GetNameOfClass () const
 
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)
 
virtual double GetAttenuation ()
 
virtual void SetAttenuation (double _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
 
void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread) override
 
 RayConvexIntersectionImageFilter ()
 
void VerifyPreconditions () const override
 
 ~RayConvexIntersectionImageFilter () override=default
 

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

◆ ConstPointer

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

Definition at line 49 of file rtkRayBoxIntersectionImageFilter.h.

◆ ImageBaseType

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

Definition at line 56 of file rtkRayBoxIntersectionImageFilter.h.

◆ Pointer

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

Definition at line 48 of file rtkRayBoxIntersectionImageFilter.h.

◆ PointType

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

Convenient type alias.

Definition at line 52 of file rtkRayBoxIntersectionImageFilter.h.

◆ RotationMatrixType

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

Definition at line 55 of file rtkRayBoxIntersectionImageFilter.h.

◆ ScalarType

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

Definition at line 54 of file rtkRayBoxIntersectionImageFilter.h.

◆ Self

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

Standard class type alias.

Definition at line 46 of file rtkRayBoxIntersectionImageFilter.h.

◆ Superclass

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

Definition at line 47 of file rtkRayBoxIntersectionImageFilter.h.

◆ VectorType

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

Definition at line 53 of file rtkRayBoxIntersectionImageFilter.h.

Constructor & Destructor Documentation

◆ RayBoxIntersectionImageFilter()

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

◆ ~RayBoxIntersectionImageFilter()

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

Member Function Documentation

◆ AddClipPlane()

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.

◆ BeforeThreadedGenerateData()

template<class TInputImage , class TOutputImage >
void rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData ( )
overrideprotectedvirtual

Reimplemented from itk::ImageSource< TOutputImage >.

◆ CreateAnother()

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >::CreateAnother ( ) const
virtual

Reimplemented from itk::Object.

◆ GetBoxMax()

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

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

◆ GetBoxMin()

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

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

◆ GetDensity()

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

Get / Set the constant density of the volume

◆ GetDirection()

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

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

◆ GetNameOfClass()

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 >.

◆ GetPlaneDirections()

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

Get reference to vector of plane parameters.

◆ GetPlanePositions()

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

Get reference to vector of plane parameters.

◆ New()

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

Method for creation through the object factory.

◆ SetBoxFromImage()

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

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

◆ SetBoxMax()

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

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

◆ SetBoxMin()

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

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

◆ SetDensity()

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

Get / Set the constant density of the volume

◆ SetDirection()

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

◆ m_BoxMax

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

Definition at line 109 of file rtkRayBoxIntersectionImageFilter.h.

◆ m_BoxMin

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

Definition at line 108 of file rtkRayBoxIntersectionImageFilter.h.

◆ m_Density

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

Definition at line 104 of file rtkRayBoxIntersectionImageFilter.h.

◆ m_Direction

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

Definition at line 110 of file rtkRayBoxIntersectionImageFilter.h.

◆ m_PlaneDirections

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

Definition at line 105 of file rtkRayBoxIntersectionImageFilter.h.

◆ m_PlanePositions

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

Definition at line 106 of file rtkRayBoxIntersectionImageFilter.h.


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