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

#include <rtkRayQuadricIntersectionImageFilter.h>

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

Public Types

using ConstPointer = itk::SmartPointer< const Self >
 
using Pointer = itk::SmartPointer< Self >
 
using PointType = ConvexShape::PointType
 
using ScalarType = ConvexShape::ScalarType
 
using Self = RayQuadricIntersectionImageFilter
 
using Superclass = RayConvexIntersectionImageFilter< TInputImage, TOutputImage >
 
using VectorType = ConvexShape::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
 
virtual ScalarType GetDensity ()
 
virtual void SetDensity (ScalarType _arg)
 
virtual const std::vector< VectorType > & GetPlaneDirections () const
 
virtual const std::vector< ScalarType > & GetPlanePositions () const
 
virtual ScalarType GetA ()
 
virtual void SetA (ScalarType _arg)
 
virtual ScalarType GetB ()
 
virtual void SetB (ScalarType _arg)
 
virtual ScalarType GetC ()
 
virtual void SetC (ScalarType _arg)
 
virtual ScalarType GetD ()
 
virtual void SetD (ScalarType _arg)
 
virtual ScalarType GetE ()
 
virtual void SetE (ScalarType _arg)
 
virtual ScalarType GetF ()
 
virtual void SetF (ScalarType _arg)
 
virtual ScalarType GetG ()
 
virtual void SetG (ScalarType _arg)
 
virtual ScalarType GetH ()
 
virtual void SetH (ScalarType _arg)
 
virtual ScalarType GetI ()
 
virtual void SetI (ScalarType _arg)
 
virtual ScalarType GetJ ()
 
virtual void SetJ (ScalarType _arg)
 
- Public Member Functions inherited from rtk::RayConvexIntersectionImageFilter< TInputImage, TOutputImage >
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
 
 RayQuadricIntersectionImageFilter ()
 
 ~RayQuadricIntersectionImageFilter () override=default
 
- Protected Member Functions inherited from rtk::RayConvexIntersectionImageFilter< TInputImage, TOutputImage >
void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread) override
 
 RayConvexIntersectionImageFilter ()
 
void VerifyPreconditions () ITKv5_CONST override
 
 ~RayConvexIntersectionImageFilter () override=default
 

Private Attributes

ScalarType m_A { 0. }
 
ScalarType m_B { 0. }
 
ScalarType m_C { 0. }
 
ScalarType m_D { 0. }
 
ScalarType m_Density { 1. }
 
ScalarType m_E { 0. }
 
ScalarType m_F { 0. }
 
ScalarType m_G { 0. }
 
ScalarType m_H { 0. }
 
ScalarType m_I { 0. }
 
ScalarType m_J { 0. }
 
std::vector< VectorTypem_PlaneDirections
 
std::vector< ScalarTypem_PlanePositions
 

Detailed Description

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

Analytical projection of a QuadricShape.

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

Definition at line 38 of file rtkRayQuadricIntersectionImageFilter.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 48 of file rtkRayQuadricIntersectionImageFilter.h.

◆ Pointer

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

Definition at line 47 of file rtkRayQuadricIntersectionImageFilter.h.

◆ PointType

template<class TInputImage , class TOutputImage >
using rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::PointType = ConvexShape::PointType

Convenient type alias.

Definition at line 51 of file rtkRayQuadricIntersectionImageFilter.h.

◆ ScalarType

template<class TInputImage , class TOutputImage >
using rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::ScalarType = ConvexShape::ScalarType

Definition at line 53 of file rtkRayQuadricIntersectionImageFilter.h.

◆ Self

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

Standard class type alias.

Definition at line 45 of file rtkRayQuadricIntersectionImageFilter.h.

◆ Superclass

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

Definition at line 46 of file rtkRayQuadricIntersectionImageFilter.h.

◆ VectorType

template<class TInputImage , class TOutputImage >
using rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::VectorType = ConvexShape::VectorType

Definition at line 52 of file rtkRayQuadricIntersectionImageFilter.h.

Constructor & Destructor Documentation

◆ RayQuadricIntersectionImageFilter()

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

◆ ~RayQuadricIntersectionImageFilter()

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

Member Function Documentation

◆ AddClipPlane()

template<class TInputImage , class TOutputImage >
void rtk::RayQuadricIntersectionImageFilter< 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::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData ( )
overrideprotectedvirtual

ConvexShape must be created in the BeforeThreadedGenerateData in the daugter classes.

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

◆ CreateAnother()

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

◆ GetA()

template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::GetA ( )
virtual

Get/Set QuadricShape parameters.

◆ GetB()

template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::GetB ( )
virtual

Get/Set QuadricShape parameters.

◆ GetC()

template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::GetC ( )
virtual

Get/Set QuadricShape parameters.

◆ GetD()

template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::GetD ( )
virtual

Get/Set QuadricShape parameters.

◆ GetDensity()

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

Get / Set the constant density of the volume

◆ GetE()

template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::GetE ( )
virtual

Get/Set QuadricShape parameters.

◆ GetF()

template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::GetF ( )
virtual

Get/Set QuadricShape parameters.

◆ GetG()

template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::GetG ( )
virtual

Get/Set QuadricShape parameters.

◆ GetH()

template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::GetH ( )
virtual

Get/Set QuadricShape parameters.

◆ GetI()

template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::GetI ( )
virtual

Get/Set QuadricShape parameters.

◆ GetJ()

template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::GetJ ( )
virtual

Get/Set QuadricShape parameters.

◆ GetNameOfClass()

template<class TInputImage , class TOutputImage >
virtual const char* rtk::RayQuadricIntersectionImageFilter< 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::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::GetPlaneDirections ( ) const
virtual

Get reference to vector of plane parameters.

◆ GetPlanePositions()

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

Get reference to vector of plane parameters.

◆ New()

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

Method for creation through the object factory.

◆ SetA()

template<class TInputImage , class TOutputImage >
virtual void rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::SetA ( ScalarType  _arg)
virtual

Get/Set QuadricShape parameters.

◆ SetB()

template<class TInputImage , class TOutputImage >
virtual void rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::SetB ( ScalarType  _arg)
virtual

Get/Set QuadricShape parameters.

◆ SetC()

template<class TInputImage , class TOutputImage >
virtual void rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::SetC ( ScalarType  _arg)
virtual

Get/Set QuadricShape parameters.

◆ SetD()

template<class TInputImage , class TOutputImage >
virtual void rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::SetD ( ScalarType  _arg)
virtual

Get/Set QuadricShape parameters.

◆ SetDensity()

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

Get / Set the constant density of the volume

◆ SetE()

template<class TInputImage , class TOutputImage >
virtual void rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::SetE ( ScalarType  _arg)
virtual

Get/Set QuadricShape parameters.

◆ SetF()

template<class TInputImage , class TOutputImage >
virtual void rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::SetF ( ScalarType  _arg)
virtual

Get/Set QuadricShape parameters.

◆ SetG()

template<class TInputImage , class TOutputImage >
virtual void rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::SetG ( ScalarType  _arg)
virtual

Get/Set QuadricShape parameters.

◆ SetH()

template<class TInputImage , class TOutputImage >
virtual void rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::SetH ( ScalarType  _arg)
virtual

Get/Set QuadricShape parameters.

◆ SetI()

template<class TInputImage , class TOutputImage >
virtual void rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::SetI ( ScalarType  _arg)
virtual

Get/Set QuadricShape parameters.

◆ SetJ()

template<class TInputImage , class TOutputImage >
virtual void rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::SetJ ( ScalarType  _arg)
virtual

Get/Set QuadricShape parameters.

Member Data Documentation

◆ m_A

template<class TInputImage , class TOutputImage >
ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::m_A { 0. }
private

Definition at line 115 of file rtkRayQuadricIntersectionImageFilter.h.

◆ m_B

template<class TInputImage , class TOutputImage >
ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::m_B { 0. }
private

Definition at line 116 of file rtkRayQuadricIntersectionImageFilter.h.

◆ m_C

template<class TInputImage , class TOutputImage >
ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::m_C { 0. }
private

Definition at line 117 of file rtkRayQuadricIntersectionImageFilter.h.

◆ m_D

template<class TInputImage , class TOutputImage >
ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::m_D { 0. }
private

Definition at line 118 of file rtkRayQuadricIntersectionImageFilter.h.

◆ m_Density

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

Definition at line 111 of file rtkRayQuadricIntersectionImageFilter.h.

◆ m_E

template<class TInputImage , class TOutputImage >
ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::m_E { 0. }
private

Definition at line 119 of file rtkRayQuadricIntersectionImageFilter.h.

◆ m_F

template<class TInputImage , class TOutputImage >
ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::m_F { 0. }
private

Definition at line 120 of file rtkRayQuadricIntersectionImageFilter.h.

◆ m_G

template<class TInputImage , class TOutputImage >
ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::m_G { 0. }
private

Definition at line 121 of file rtkRayQuadricIntersectionImageFilter.h.

◆ m_H

template<class TInputImage , class TOutputImage >
ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::m_H { 0. }
private

Definition at line 122 of file rtkRayQuadricIntersectionImageFilter.h.

◆ m_I

template<class TInputImage , class TOutputImage >
ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::m_I { 0. }
private

Definition at line 123 of file rtkRayQuadricIntersectionImageFilter.h.

◆ m_J

template<class TInputImage , class TOutputImage >
ScalarType rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >::m_J { 0. }
private

Definition at line 124 of file rtkRayQuadricIntersectionImageFilter.h.

◆ m_PlaneDirections

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

Definition at line 112 of file rtkRayQuadricIntersectionImageFilter.h.

◆ m_PlanePositions

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

Definition at line 113 of file rtkRayQuadricIntersectionImageFilter.h.


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