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

#include <rtkProjectGeometricPhantomImageFilter.h>

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

Public Types

using ConstPointer = itk::SmartPointer< const Self >
 
using GeometricPhantomConstPointer = GeometricPhantom::ConstPointer
 
using GeometryConstPointer = typename GeometryType::ConstPointer
 
using GeometryType = rtk::ThreeDCircularProjectionGeometry
 
using Pointer = itk::SmartPointer< Self >
 
using RotationMatrixType = ConvexShape::RotationMatrixType
 
using ScalarType = ConvexShape::ScalarType
 
using Self = ProjectGeometricPhantomImageFilter
 
using StringType = std::string
 
using Superclass = itk::InPlaceImageFilter< TInputImage, TOutputImage >
 
using VectorType = ConvexShape::VectorType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
virtual const GeometricPhantomGetGeometricPhantom () const
 
virtual void SetGeometricPhantom (const GeometricPhantom *_arg)
 
virtual const GeometryTypeGetGeometry () const
 
virtual void SetGeometry (const GeometryType *_arg)
 
virtual void SetConfigFile (StringType _arg)
 
virtual StringType GetConfigFile ()
 
virtual void SetPhantomScale (VectorType _arg)
 
virtual VectorType GetPhantomScale ()
 
virtual void SetOriginOffset (VectorType _arg)
 
virtual VectorType GetOriginOffset ()
 
virtual void SetIsForbildConfigFile (bool _arg)
 
virtual bool GetIsForbildConfigFile () const
 
virtual void IsForbildConfigFileOn ()
 
virtual void IsForbildConfigFileOff ()
 
virtual void SetRotationMatrix (RotationMatrixType _arg)
 
virtual RotationMatrixType GetRotationMatrix ()
 
void AddClipPlane (const VectorType &dir, const ScalarType &pos)
 
void SetClipPlanes (const std::vector< VectorType > &dir, const std::vector< ScalarType > &pos)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

void GenerateData () override
 
 ProjectGeometricPhantomImageFilter ()
 
void VerifyPreconditions () ITKv5_CONST override
 
 ~ProjectGeometricPhantomImageFilter () override=default
 

Private Attributes

StringType m_ConfigFile
 
GeometricPhantomConstPointer m_GeometricPhantom
 
GeometryConstPointer m_Geometry
 
bool m_IsForbildConfigFile { false }
 
VectorType m_OriginOffset { 0. }
 
VectorType m_PhantomScale { 1. }
 
std::vector< VectorTypem_PlaneDirections
 
std::vector< ScalarTypem_PlanePositions
 
RotationMatrixType m_RotationMatrix
 

Detailed Description

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

Analytical projection a GeometricPhantom.

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

Definition at line 40 of file rtkProjectGeometricPhantomImageFilter.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 49 of file rtkProjectGeometricPhantomImageFilter.h.

◆ GeometricPhantomConstPointer

template<class TInputImage , class TOutputImage >
using rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::GeometricPhantomConstPointer = GeometricPhantom::ConstPointer

Definition at line 54 of file rtkProjectGeometricPhantomImageFilter.h.

◆ GeometryConstPointer

template<class TInputImage , class TOutputImage >
using rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::GeometryConstPointer = typename GeometryType::ConstPointer

Definition at line 53 of file rtkProjectGeometricPhantomImageFilter.h.

◆ GeometryType

template<class TInputImage , class TOutputImage >
using rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::GeometryType = rtk::ThreeDCircularProjectionGeometry

Convenient type alias.

Definition at line 52 of file rtkProjectGeometricPhantomImageFilter.h.

◆ Pointer

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

Definition at line 48 of file rtkProjectGeometricPhantomImageFilter.h.

◆ RotationMatrixType

template<class TInputImage , class TOutputImage >
using rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::RotationMatrixType = ConvexShape::RotationMatrixType

Definition at line 57 of file rtkProjectGeometricPhantomImageFilter.h.

◆ ScalarType

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

Definition at line 58 of file rtkProjectGeometricPhantomImageFilter.h.

◆ Self

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

Standard class type alias.

Definition at line 46 of file rtkProjectGeometricPhantomImageFilter.h.

◆ StringType

template<class TInputImage , class TOutputImage >
using rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::StringType = std::string

Definition at line 55 of file rtkProjectGeometricPhantomImageFilter.h.

◆ Superclass

template<class TInputImage , class TOutputImage >
using rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::Superclass = itk::InPlaceImageFilter<TInputImage, TOutputImage>

Definition at line 47 of file rtkProjectGeometricPhantomImageFilter.h.

◆ VectorType

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

Definition at line 56 of file rtkProjectGeometricPhantomImageFilter.h.

Constructor & Destructor Documentation

◆ ProjectGeometricPhantomImageFilter()

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

◆ ~ProjectGeometricPhantomImageFilter()

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

Member Function Documentation

◆ AddClipPlane()

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

Add clipping plane to the object. The plane is defined by the equation dir * (x,y,z)' + pos = 0.

◆ CreateAnother()

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

◆ GenerateData()

template<class TInputImage , class TOutputImage >
void rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::GenerateData ( )
overrideprotectedvirtual

◆ GetConfigFile()

template<class TInputImage , class TOutputImage >
virtual StringType rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::GetConfigFile ( )
virtual

Get/Set the phantom file path.

◆ GetGeometricPhantom()

template<class TInputImage , class TOutputImage >
virtual const GeometricPhantom* rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::GetGeometricPhantom ( ) const
virtual

Get / Set the object pointer to the geometry.

◆ GetGeometry()

template<class TInputImage , class TOutputImage >
virtual const GeometryType* rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::GetGeometry ( ) const
virtual

Get / Set the object pointer to projection geometry

◆ GetIsForbildConfigFile()

template<class TInputImage , class TOutputImage >
virtual bool rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::GetIsForbildConfigFile ( ) const
virtual

Interpret config file as Forbild file (see http://www.imp.uni-erlangen.de/phantoms/).

◆ GetNameOfClass()

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

Run-time type information (and related methods).

Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.

Reimplemented in rtk::SheppLoganPhantomFilter< TInputImage, TOutputImage >.

◆ GetOriginOffset()

template<class TInputImage , class TOutputImage >
virtual VectorType rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::GetOriginOffset ( )
virtual

Get / Set the spatial offset of the phantom relative to its center. The default value is (0, 0, 0).

◆ GetPhantomScale()

template<class TInputImage , class TOutputImage >
virtual VectorType rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::GetPhantomScale ( )
virtual

Multiplicative scaling factor along each 3D component.

◆ GetRotationMatrix()

template<class TInputImage , class TOutputImage >
virtual RotationMatrixType rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::GetRotationMatrix ( )
virtual

Get / Set a rotation matrix for the phantom. Default is identity.

◆ IsForbildConfigFileOff()

template<class TInputImage , class TOutputImage >
virtual void rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::IsForbildConfigFileOff ( )
virtual

Interpret config file as Forbild file (see http://www.imp.uni-erlangen.de/phantoms/).

◆ IsForbildConfigFileOn()

template<class TInputImage , class TOutputImage >
virtual void rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::IsForbildConfigFileOn ( )
virtual

Interpret config file as Forbild file (see http://www.imp.uni-erlangen.de/phantoms/).

◆ New()

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

Method for creation through the object factory.

◆ SetClipPlanes()

template<class TInputImage , class TOutputImage >
void rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::SetClipPlanes ( const std::vector< VectorType > &  dir,
const std::vector< ScalarType > &  pos 
)

Add clipping plane to the object. The plane is defined by the equation dir * (x,y,z)' + pos = 0.

◆ SetConfigFile()

template<class TInputImage , class TOutputImage >
virtual void rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::SetConfigFile ( StringType  _arg)
virtual

Get/Set the phantom file path.

◆ SetGeometricPhantom()

template<class TInputImage , class TOutputImage >
virtual void rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::SetGeometricPhantom ( const GeometricPhantom _arg)
virtual

Get / Set the object pointer to the geometry.

◆ SetGeometry()

template<class TInputImage , class TOutputImage >
virtual void rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::SetGeometry ( const GeometryType _arg)
virtual

Get / Set the object pointer to projection geometry

◆ SetIsForbildConfigFile()

template<class TInputImage , class TOutputImage >
virtual void rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::SetIsForbildConfigFile ( bool  _arg)
virtual

Interpret config file as Forbild file (see http://www.imp.uni-erlangen.de/phantoms/).

◆ SetOriginOffset()

template<class TInputImage , class TOutputImage >
virtual void rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::SetOriginOffset ( VectorType  _arg)
virtual

Get / Set the spatial offset of the phantom relative to its center. The default value is (0, 0, 0).

◆ SetPhantomScale()

template<class TInputImage , class TOutputImage >
virtual void rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::SetPhantomScale ( VectorType  _arg)
virtual

Multiplicative scaling factor along each 3D component.

◆ SetRotationMatrix()

template<class TInputImage , class TOutputImage >
virtual void rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::SetRotationMatrix ( RotationMatrixType  _arg)
virtual

Get / Set a rotation matrix for the phantom. Default is identity.

◆ VerifyPreconditions()

template<class TInputImage , class TOutputImage >
void rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::VerifyPreconditions ( )
overrideprotectedvirtual

Checks that inputs are correctly set.

Reimplemented from itk::ProcessObject.

Member Data Documentation

◆ m_ConfigFile

template<class TInputImage , class TOutputImage >
StringType rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::m_ConfigFile
private

Definition at line 126 of file rtkProjectGeometricPhantomImageFilter.h.

◆ m_GeometricPhantom

template<class TInputImage , class TOutputImage >
GeometricPhantomConstPointer rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::m_GeometricPhantom
private

Definition at line 124 of file rtkProjectGeometricPhantomImageFilter.h.

◆ m_Geometry

template<class TInputImage , class TOutputImage >
GeometryConstPointer rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::m_Geometry
private

Definition at line 125 of file rtkProjectGeometricPhantomImageFilter.h.

◆ m_IsForbildConfigFile

template<class TInputImage , class TOutputImage >
bool rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::m_IsForbildConfigFile { false }
private

Definition at line 129 of file rtkProjectGeometricPhantomImageFilter.h.

◆ m_OriginOffset

template<class TInputImage , class TOutputImage >
VectorType rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::m_OriginOffset { 0. }
private

Definition at line 128 of file rtkProjectGeometricPhantomImageFilter.h.

◆ m_PhantomScale

template<class TInputImage , class TOutputImage >
VectorType rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::m_PhantomScale { 1. }
private

Definition at line 127 of file rtkProjectGeometricPhantomImageFilter.h.

◆ m_PlaneDirections

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

Definition at line 131 of file rtkProjectGeometricPhantomImageFilter.h.

◆ m_PlanePositions

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

Definition at line 132 of file rtkProjectGeometricPhantomImageFilter.h.

◆ m_RotationMatrix

template<class TInputImage , class TOutputImage >
RotationMatrixType rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::m_RotationMatrix
private

Definition at line 130 of file rtkProjectGeometricPhantomImageFilter.h.


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