RTK  2.0.0
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private 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

typedef itk::SmartPointer< const SelfConstPointer
typedef ConvexShape::Pointer ConvexShapePointer
typedef std::vector< ConvexShapePointerConvexShapeVector
typedef itk::SmartPointer< SelfPointer
typedef ConvexShape::PointType PointType
typedef ConvexShape::RotationMatrixType RotationMatrixType
typedef ConvexShape::ScalarType ScalarType
typedef GeometricPhantom Self
typedef itk::DataObject Superclass
typedef ConvexShape::VectorType 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 ()
 ~GeometricPhantom ()

Private Member Functions

 GeometricPhantom (const Self &)
void operator= (const Self &)

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.

Simon Rit

Definition at line 36 of file rtkGeometricPhantom.h.

Member Typedef Documentation

Definition at line 43 of file rtkGeometricPhantom.h.

Convenient typedefs.

Definition at line 46 of file rtkGeometricPhantom.h.

Definition at line 47 of file rtkGeometricPhantom.h.

Definition at line 42 of file rtkGeometricPhantom.h.

Definition at line 48 of file rtkGeometricPhantom.h.

Definition at line 51 of file rtkGeometricPhantom.h.

Definition at line 50 of file rtkGeometricPhantom.h.

Standard class typedefs.

Definition at line 40 of file rtkGeometricPhantom.h.

Definition at line 41 of file rtkGeometricPhantom.h.

Definition at line 49 of file rtkGeometricPhantom.h.

Constructor & Destructor Documentation

rtk::GeometricPhantom::GeometricPhantom ( )

Definition at line 80 of file rtkGeometricPhantom.h.

rtk::GeometricPhantom::~GeometricPhantom ( )

Definition at line 81 of file rtkGeometricPhantom.h.

rtk::GeometricPhantom::GeometricPhantom ( const Self )

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

Get reference to vector of objects.

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

Run-time type information (and related methods).

Reimplemented from itk::DataObject.

Reimplemented in rtk::SheppLoganPhantom.

static Pointer rtk::GeometricPhantom::New ( )

Method for creation through the object factory.

void rtk::GeometricPhantom::operator= ( const Self )
virtual void rtk::GeometricPhantom::Rescale ( const VectorType r)

Rescale object along each direction by a 3D vector.

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

Rotate object according to a 3D rotation matrix.

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

Translate object by a given 3D vector.

Member Data Documentation

ConvexShapeVector rtk::GeometricPhantom::m_ConvexShapes

Definition at line 87 of file rtkGeometricPhantom.h.

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

Definition at line 88 of file rtkGeometricPhantom.h.

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

Definition at line 89 of file rtkGeometricPhantom.h.

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