RTK  1.4.0
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
rtk::ForbildPhantomFileReader Class Reference

#include <rtkForbildPhantomFileReader.h>

+ Inheritance diagram for rtk::ForbildPhantomFileReader:
+ Collaboration diagram for rtk::ForbildPhantomFileReader:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef GeometricPhantom::ConvexShapeVector ConvexShapeVectorType
 
typedef GeometricPhantom::Pointer GeometricPhantomPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef ConvexShape::PointType PointType
 
typedef ConvexShape::RotationMatrixType RotationMatrixType
 
typedef ConvexShape::ScalarType ScalarType
 
typedef ForbildPhantomFileReader Self
 
typedef itk::Object Superclass
 
typedef ConvexShape::VectorType VectorType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual void GenerateOutputInformation ()
 
virtual const char * GetNameOfClass () const
 
virtual GeometricPhantomGetModifiableGeometricPhantom ()
 
virtual const GeometricPhantomGetGeometricPhantom () const
 
virtual void SetGeometricPhantom (GeometricPhantom *_arg)
 
virtual const char * GetFilename () const
 
virtual void SetFilename (const char *_arg)
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int Dimension = ConvexShape::Dimension
 

Protected Member Functions

RotationMatrixType ComputeRotationMatrixBetweenVectors (const VectorType &source, const VectorType &dest) const
 
void CreateForbildBox (const std::string &s)
 
void CreateForbildCone (const std::string &s, const std::string &fig)
 
void CreateForbildCylinder (const std::string &s, const std::string &fig)
 
void CreateForbildEllipsoid (const std::string &s, const std::string &fig)
 
void CreateForbildElliptCyl (const std::string &s, const std::string &fig)
 
void CreateForbildSphere (const std::string &s)
 
void CreateForbildTetrahedron (const std::string &s)
 
void FindClipPlanes (const std::string &s)
 
bool FindParameterInString (const std::string &name, const std::string &s, ScalarType &param)
 
void FindUnions (const std::string &s)
 
bool FindVectorInString (const std::string &name, const std::string &s, VectorType &vec)
 
 ForbildPhantomFileReader ()
 
 ~ForbildPhantomFileReader ()
 

Private Member Functions

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

Private Attributes

PointType m_Center
 
ConvexShape::Pointer m_ConvexShape
 
std::string m_Filename
 
GeometricPhantomPointer m_GeometricPhantom
 
ConvexShapeVectorType m_Unions
 

Detailed Description

Reads GeometricPhantom from a Forbild file.

See http://www.imp.uni-erlangen.de/phantoms/. In addition to the original parameters, the parameter "union=N", allows defining the union with a previous shape. For example, union=-1 will create a union with the previous shape.

Test:
rtkforbildtest.cxx
Author
Simon Rit

Definition at line 41 of file rtkForbildPhantomFileReader.h.

Member Typedef Documentation

Definition at line 49 of file rtkForbildPhantomFileReader.h.

Definition at line 58 of file rtkForbildPhantomFileReader.h.

Definition at line 53 of file rtkForbildPhantomFileReader.h.

Definition at line 48 of file rtkForbildPhantomFileReader.h.

Definition at line 55 of file rtkForbildPhantomFileReader.h.

Definition at line 57 of file rtkForbildPhantomFileReader.h.

Definition at line 54 of file rtkForbildPhantomFileReader.h.

Standard class typedefs.

Definition at line 46 of file rtkForbildPhantomFileReader.h.

Definition at line 47 of file rtkForbildPhantomFileReader.h.

Definition at line 56 of file rtkForbildPhantomFileReader.h.

Constructor & Destructor Documentation

rtk::ForbildPhantomFileReader::ForbildPhantomFileReader ( )
inlineprotected

Constructor.

Definition at line 81 of file rtkForbildPhantomFileReader.h.

rtk::ForbildPhantomFileReader::~ForbildPhantomFileReader ( )
inlineprotected

Destructor.

Definition at line 84 of file rtkForbildPhantomFileReader.h.

rtk::ForbildPhantomFileReader::ForbildPhantomFileReader ( const Self )
private

Member Function Documentation

RotationMatrixType rtk::ForbildPhantomFileReader::ComputeRotationMatrixBetweenVectors ( const VectorType source,
const VectorType dest 
) const
protected
virtual::itk::LightObject::Pointer rtk::ForbildPhantomFileReader::CreateAnother ( ) const
void rtk::ForbildPhantomFileReader::CreateForbildBox ( const std::string &  s)
protected
void rtk::ForbildPhantomFileReader::CreateForbildCone ( const std::string &  s,
const std::string &  fig 
)
protected
void rtk::ForbildPhantomFileReader::CreateForbildCylinder ( const std::string &  s,
const std::string &  fig 
)
protected
void rtk::ForbildPhantomFileReader::CreateForbildEllipsoid ( const std::string &  s,
const std::string &  fig 
)
protected
void rtk::ForbildPhantomFileReader::CreateForbildElliptCyl ( const std::string &  s,
const std::string &  fig 
)
protected
void rtk::ForbildPhantomFileReader::CreateForbildSphere ( const std::string &  s)
protected
void rtk::ForbildPhantomFileReader::CreateForbildTetrahedron ( const std::string &  s)
protected
void rtk::ForbildPhantomFileReader::FindClipPlanes ( const std::string &  s)
protected
bool rtk::ForbildPhantomFileReader::FindParameterInString ( const std::string &  name,
const std::string &  s,
ScalarType param 
)
protected
void rtk::ForbildPhantomFileReader::FindUnions ( const std::string &  s)
protected
bool rtk::ForbildPhantomFileReader::FindVectorInString ( const std::string &  name,
const std::string &  s,
VectorType vec 
)
protected
virtual void rtk::ForbildPhantomFileReader::GenerateOutputInformation ( )
virtual

do the actual parsing of the input file

virtual const char* rtk::ForbildPhantomFileReader::GetFilename ( ) const
virtual

Get/Set path to phantom definition file.

virtual const GeometricPhantom* rtk::ForbildPhantomFileReader::GetGeometricPhantom ( ) const
virtual

Get / Set the object pointer to geometric phantom.

virtual GeometricPhantom* rtk::ForbildPhantomFileReader::GetModifiableGeometricPhantom ( )
virtual

Get / Set the object pointer to geometric phantom.

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

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

static Pointer rtk::ForbildPhantomFileReader::New ( )
static

Method for creation through the object factory.

void rtk::ForbildPhantomFileReader::operator= ( const Self )
private
virtual void rtk::ForbildPhantomFileReader::SetFilename ( const char *  _arg)
virtual

Get/Set path to phantom definition file.

virtual void rtk::ForbildPhantomFileReader::SetGeometricPhantom ( GeometricPhantom _arg)
virtual

Get / Set the object pointer to geometric phantom.

Member Data Documentation

const unsigned int rtk::ForbildPhantomFileReader::Dimension = ConvexShape::Dimension
static

Convenient typedefs.

Definition at line 52 of file rtkForbildPhantomFileReader.h.

PointType rtk::ForbildPhantomFileReader::m_Center
private

Definition at line 106 of file rtkForbildPhantomFileReader.h.

ConvexShape::Pointer rtk::ForbildPhantomFileReader::m_ConvexShape
private

Definition at line 107 of file rtkForbildPhantomFileReader.h.

std::string rtk::ForbildPhantomFileReader::m_Filename
private

Definition at line 105 of file rtkForbildPhantomFileReader.h.

GeometricPhantomPointer rtk::ForbildPhantomFileReader::m_GeometricPhantom
private

Definition at line 104 of file rtkForbildPhantomFileReader.h.

ConvexShapeVectorType rtk::ForbildPhantomFileReader::m_Unions
private

Definition at line 108 of file rtkForbildPhantomFileReader.h.


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