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::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 ()
 
 ~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

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

Definition at line 50 of file rtkProjectGeometricPhantomImageFilter.h.

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

Definition at line 55 of file rtkProjectGeometricPhantomImageFilter.h.

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

Definition at line 54 of file rtkProjectGeometricPhantomImageFilter.h.

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

Convenient type alias.

Definition at line 53 of file rtkProjectGeometricPhantomImageFilter.h.

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

Definition at line 49 of file rtkProjectGeometricPhantomImageFilter.h.

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

Definition at line 58 of file rtkProjectGeometricPhantomImageFilter.h.

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

Definition at line 59 of file rtkProjectGeometricPhantomImageFilter.h.

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

Standard class type alias.

Definition at line 47 of file rtkProjectGeometricPhantomImageFilter.h.

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

Definition at line 56 of file rtkProjectGeometricPhantomImageFilter.h.

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

Definition at line 48 of file rtkProjectGeometricPhantomImageFilter.h.

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

Definition at line 57 of file rtkProjectGeometricPhantomImageFilter.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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.

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::CreateAnother ( ) const
virtual
template<class TInputImage , class TOutputImage >
void rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::GenerateData ( )
overrideprotectedvirtual
template<class TInputImage , class TOutputImage >
virtual StringType rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >::GetConfigFile ( )
virtual

Get/Set the phantom file path.

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

Get / Set the object pointer to the geometry.

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

Get / Set the object pointer to projection geometry

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

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

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

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

Multiplicative scaling factor along each 3D component.

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

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

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

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

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

Method for creation through the object factory.

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.

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

Get/Set the phantom file path.

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

Get / Set the object pointer to the geometry.

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

Get / Set the object pointer to projection geometry

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

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

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

Multiplicative scaling factor along each 3D component.

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.

Member Data Documentation

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

Definition at line 120 of file rtkProjectGeometricPhantomImageFilter.h.

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

Definition at line 118 of file rtkProjectGeometricPhantomImageFilter.h.

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

Definition at line 119 of file rtkProjectGeometricPhantomImageFilter.h.

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

Definition at line 123 of file rtkProjectGeometricPhantomImageFilter.h.

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

Definition at line 122 of file rtkProjectGeometricPhantomImageFilter.h.

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

Definition at line 121 of file rtkProjectGeometricPhantomImageFilter.h.

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

Definition at line 125 of file rtkProjectGeometricPhantomImageFilter.h.

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

Definition at line 126 of file rtkProjectGeometricPhantomImageFilter.h.

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

Definition at line 124 of file rtkProjectGeometricPhantomImageFilter.h.


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