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::GeometricPhantom Class Reference

#include <rtkGeometricPhantom.h>

+ Inheritance diagram for rtk::GeometricPhantom:
+ Collaboration diagram for rtk::GeometricPhantom:

Public Types

using ConstPointer = itk::SmartPointer< const Self >
 
using ConvexShapePointer = ConvexShape::Pointer
 
using ConvexShapeVector = std::vector< ConvexShapePointer >
 
using Pointer = itk::SmartPointer< Self >
 
using PointType = ConvexShape::PointType
 
using RotationMatrixType = ConvexShape::RotationMatrixType
 
using ScalarType = ConvexShape::ScalarType
 
using Self = GeometricPhantom
 
using Superclass = itk::DataObject
 
using VectorType = ConvexShape::VectorType
 

Public Member Functions

void AddClipPlane (const VectorType &dir, const ScalarType &pos)
 
void AddConvexShape (const ConvexShapePointer &co)
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const ConvexShapeVectorGetConvexShapes () const
 
virtual const char * GetNameOfClass () const
 
virtual void Rescale (const VectorType &r)
 
virtual void Rotate (const RotationMatrixType &r)
 
virtual void Translate (const VectorType &t)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 GeometricPhantom ()=default
 
 ~GeometricPhantom () override=default
 

Private Attributes

ConvexShapeVector m_ConvexShapes
 
std::vector< VectorTypem_PlaneDirections
 
std::vector< ScalarTypem_PlanePositions
 

Detailed Description

Container for a geometric phantom, i.e., a set of ConvexShapes.

Test:
rtkforbildtest.cxx
Author
Simon Rit

Definition at line 36 of file rtkGeometricPhantom.h.

Member Typedef Documentation

Definition at line 45 of file rtkGeometricPhantom.h.

Convenient type alias.

Definition at line 48 of file rtkGeometricPhantom.h.

Definition at line 49 of file rtkGeometricPhantom.h.

Definition at line 44 of file rtkGeometricPhantom.h.

Definition at line 50 of file rtkGeometricPhantom.h.

Definition at line 53 of file rtkGeometricPhantom.h.

Definition at line 52 of file rtkGeometricPhantom.h.

Standard class type alias.

Definition at line 42 of file rtkGeometricPhantom.h.

Definition at line 43 of file rtkGeometricPhantom.h.

Definition at line 51 of file rtkGeometricPhantom.h.

Constructor & Destructor Documentation

rtk::GeometricPhantom::GeometricPhantom ( )
protecteddefault
rtk::GeometricPhantom::~GeometricPhantom ( )
overrideprotecteddefault

Member Function Documentation

void rtk::GeometricPhantom::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.

void rtk::GeometricPhantom::AddConvexShape ( const ConvexShapePointer co)

Add convex object to phantom.

virtual::itk::LightObject::Pointer rtk::GeometricPhantom::CreateAnother ( ) const
virtual const ConvexShapeVector& rtk::GeometricPhantom::GetConvexShapes ( ) const
virtual

Get reference to vector of objects.

virtual const char* rtk::GeometricPhantom::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::DataObject.

Reimplemented in rtk::SheppLoganPhantom.

static Pointer rtk::GeometricPhantom::New ( )
static

Method for creation through the object factory.

virtual void rtk::GeometricPhantom::Rescale ( const VectorType r)
virtual

Rescale object along each direction by a 3D vector.

virtual void rtk::GeometricPhantom::Rotate ( const RotationMatrixType r)
virtual

Rotate object according to a 3D rotation matrix.

virtual void rtk::GeometricPhantom::Translate ( const VectorType t)
virtual

Translate object by a given 3D vector.

Member Data Documentation

ConvexShapeVector rtk::GeometricPhantom::m_ConvexShapes
private

Definition at line 86 of file rtkGeometricPhantom.h.

std::vector<VectorType> rtk::GeometricPhantom::m_PlaneDirections
private

Definition at line 87 of file rtkGeometricPhantom.h.

std::vector<ScalarType> rtk::GeometricPhantom::m_PlanePositions
private

Definition at line 88 of file rtkGeometricPhantom.h.


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