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::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 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 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
 
- 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 ()
 
void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread) override
 
 ~DrawConvexImageFilter () 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::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

◆ ConstPointer

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

Definition at line 47 of file rtkDrawQuadricImageFilter.h.

◆ Pointer

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

Definition at line 46 of file rtkDrawQuadricImageFilter.h.

◆ ScalarType

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

Definition at line 51 of file rtkDrawQuadricImageFilter.h.

◆ Self

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

Standard class type alias.

Definition at line 44 of file rtkDrawQuadricImageFilter.h.

◆ Superclass

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

Definition at line 45 of file rtkDrawQuadricImageFilter.h.

◆ VectorType

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

Convenient type alias.

Definition at line 50 of file rtkDrawQuadricImageFilter.h.

Constructor & Destructor Documentation

◆ DrawQuadricImageFilter()

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

◆ ~DrawQuadricImageFilter()

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

Member Function Documentation

◆ AddClipPlane()

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.

◆ BeforeThreadedGenerateData()

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

◆ CreateAnother()

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

◆ GetA()

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

◆ GetB()

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

◆ GetC()

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

◆ GetD()

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

◆ GetDensity()

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

Get / Set the constant density of the QuadricShape

◆ GetE()

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

◆ GetF()

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

◆ GetG()

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

◆ GetH()

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

◆ GetI()

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

◆ GetJ()

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

◆ GetNameOfClass()

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

◆ GetPlaneDirections()

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

Get reference to vector of plane parameters.

◆ GetPlanePositions()

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

Get reference to vector of plane parameters.

◆ New()

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

Method for creation through the object factory.

◆ SetA()

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

◆ SetB()

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

◆ SetC()

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

◆ SetD()

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

◆ SetDensity()

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

Get / Set the constant density of the QuadricShape

◆ SetE()

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

◆ SetF()

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

◆ SetG()

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

◆ SetH()

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

◆ SetI()

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

◆ SetJ()

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

Member Data Documentation

◆ m_A

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

Definition at line 111 of file rtkDrawQuadricImageFilter.h.

◆ m_B

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

Definition at line 112 of file rtkDrawQuadricImageFilter.h.

◆ m_C

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

Definition at line 113 of file rtkDrawQuadricImageFilter.h.

◆ m_D

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

Definition at line 114 of file rtkDrawQuadricImageFilter.h.

◆ m_Density

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

Definition at line 107 of file rtkDrawQuadricImageFilter.h.

◆ m_E

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

Definition at line 115 of file rtkDrawQuadricImageFilter.h.

◆ m_F

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

Definition at line 116 of file rtkDrawQuadricImageFilter.h.

◆ m_G

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

Definition at line 117 of file rtkDrawQuadricImageFilter.h.

◆ m_H

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

Definition at line 118 of file rtkDrawQuadricImageFilter.h.

◆ m_I

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

Definition at line 119 of file rtkDrawQuadricImageFilter.h.

◆ m_J

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

Definition at line 120 of file rtkDrawQuadricImageFilter.h.

◆ m_PlaneDirections

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

Definition at line 108 of file rtkDrawQuadricImageFilter.h.

◆ m_PlanePositions

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

Definition at line 109 of file rtkDrawQuadricImageFilter.h.


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