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::DrawQuadricImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <rtkDrawQuadricImageFilter.h>

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

Public Types

using ConstPointer = itk::SmartPointer< const Self >
 
using Pointer = itk::SmartPointer< Self >
 
using ScalarType = ConvexShape::ScalarType
 
using Self = DrawQuadricImageFilter
 
using Superclass = DrawConvexImageFilter< TInputImage, TOutputImage >
 
using VectorType = ConvexShape::VectorType
 
- Public Types inherited from rtk::DrawConvexImageFilter< TInputImage, TOutputImage >
using ConstPointer = itk::SmartPointer< const Self >
 
using ConvexShapePointer = ConvexShape::Pointer
 
using OutputImageRegionType = typename TOutputImage::RegionType
 
using Pointer = itk::SmartPointer< Self >
 
using PointType = ConvexShape::PointType
 
using ScalarType = ConvexShape::ScalarType
 
using Self = DrawConvexImageFilter
 
using Superclass = itk::InPlaceImageFilter< TInputImage, TOutputImage >
 
using VectorType = ConvexShape::VectorType
 

Public Member Functions

void AddClipPlane (const VectorType &dir, const ScalarType &pos)
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual ScalarType GetA ()
 
virtual ScalarType GetB ()
 
virtual ScalarType GetC ()
 
virtual ScalarType GetD ()
 
virtual ScalarType GetE ()
 
virtual ScalarType GetF ()
 
virtual ScalarType GetG ()
 
virtual ScalarType GetH ()
 
virtual ScalarType GetI ()
 
virtual ScalarType GetJ ()
 
virtual const char * GetNameOfClass () const
 
virtual void SetA (ScalarType _arg)
 
virtual void SetB (ScalarType _arg)
 
virtual void SetC (ScalarType _arg)
 
virtual void SetD (ScalarType _arg)
 
virtual void SetE (ScalarType _arg)
 
virtual void SetF (ScalarType _arg)
 
virtual void SetG (ScalarType _arg)
 
virtual void SetH (ScalarType _arg)
 
virtual void SetI (ScalarType _arg)
 
virtual void SetJ (ScalarType _arg)
 
virtual ScalarType GetDensity ()
 
virtual void SetDensity (ScalarType _arg)
 
virtual const std::vector< VectorType > & GetPlaneDirections () const
 
virtual const std::vector< ScalarType > & GetPlanePositions () const
 
- Public Member Functions inherited from rtk::DrawConvexImageFilter< TInputImage, TOutputImage >
virtual ConvexShapeGetModifiableConvexShape ()
 
virtual const ConvexShapeGetConvexShape () const
 
virtual void SetConvexShape (ConvexShape *_arg)
 

Static Public Member Functions

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

Protected Member Functions

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

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::DrawQuadricImageFilter< TInputImage, TOutputImage >

Draws a QuadricShape in a 3D image.

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

Definition at line 38 of file rtkDrawQuadricImageFilter.h.

Member Typedef Documentation

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

Definition at line 48 of file rtkDrawQuadricImageFilter.h.

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

Definition at line 47 of file rtkDrawQuadricImageFilter.h.

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

Definition at line 52 of file rtkDrawQuadricImageFilter.h.

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

Standard class type alias.

Definition at line 45 of file rtkDrawQuadricImageFilter.h.

template<class TInputImage , class TOutputImage >
using rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::Superclass = DrawConvexImageFilter<TInputImage,TOutputImage>

Definition at line 46 of file rtkDrawQuadricImageFilter.h.

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

Convenient type alias.

Definition at line 51 of file rtkDrawQuadricImageFilter.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

See ConvexShape for the definition of clip planes.

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

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

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

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::CreateAnother ( ) const
virtual
template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::GetA ( )
virtual
template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::GetB ( )
virtual
template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::GetC ( )
virtual
template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::GetD ( )
virtual
template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::GetDensity ( )
virtual

Get / Set the constant density of the QuadricShape

template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::GetE ( )
virtual
template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::GetF ( )
virtual
template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::GetG ( )
virtual
template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::GetH ( )
virtual
template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::GetI ( )
virtual
template<class TInputImage , class TOutputImage >
virtual ScalarType rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::GetJ ( )
virtual
template<class TInputImage , class TOutputImage >
virtual const char* rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

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

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

Get reference to vector of plane parameters.

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

Get reference to vector of plane parameters.

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

Method for creation through the object factory.

template<class TInputImage , class TOutputImage >
virtual void rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::SetA ( ScalarType  _arg)
virtual
template<class TInputImage , class TOutputImage >
virtual void rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::SetB ( ScalarType  _arg)
virtual
template<class TInputImage , class TOutputImage >
virtual void rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::SetC ( ScalarType  _arg)
virtual
template<class TInputImage , class TOutputImage >
virtual void rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::SetD ( ScalarType  _arg)
virtual
template<class TInputImage , class TOutputImage >
virtual void rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::SetDensity ( ScalarType  _arg)
virtual

Get / Set the constant density of the QuadricShape

template<class TInputImage , class TOutputImage >
virtual void rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::SetE ( ScalarType  _arg)
virtual
template<class TInputImage , class TOutputImage >
virtual void rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::SetF ( ScalarType  _arg)
virtual
template<class TInputImage , class TOutputImage >
virtual void rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::SetG ( ScalarType  _arg)
virtual
template<class TInputImage , class TOutputImage >
virtual void rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::SetH ( ScalarType  _arg)
virtual
template<class TInputImage , class TOutputImage >
virtual void rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::SetI ( ScalarType  _arg)
virtual
template<class TInputImage , class TOutputImage >
virtual void rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >::SetJ ( ScalarType  _arg)
virtual

Member Data Documentation

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

Definition at line 105 of file rtkDrawQuadricImageFilter.h.

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

Definition at line 106 of file rtkDrawQuadricImageFilter.h.

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

Definition at line 107 of file rtkDrawQuadricImageFilter.h.

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

Definition at line 108 of file rtkDrawQuadricImageFilter.h.

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

Definition at line 101 of file rtkDrawQuadricImageFilter.h.

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

Definition at line 109 of file rtkDrawQuadricImageFilter.h.

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

Definition at line 110 of file rtkDrawQuadricImageFilter.h.

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

Definition at line 111 of file rtkDrawQuadricImageFilter.h.

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

Definition at line 112 of file rtkDrawQuadricImageFilter.h.

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

Definition at line 113 of file rtkDrawQuadricImageFilter.h.

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

Definition at line 114 of file rtkDrawQuadricImageFilter.h.

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

Definition at line 102 of file rtkDrawQuadricImageFilter.h.

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

Definition at line 103 of file rtkDrawQuadricImageFilter.h.


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