RTK  1.4.0
Reconstruction Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
rtk::ImagXGeometryReader< TInputImage > Class Template Reference

#include <rtkImagXGeometryReader.h>

+ Inheritance diagram for rtk::ImagXGeometryReader< TInputImage >:
+ Collaboration diagram for rtk::ImagXGeometryReader< TInputImage >:

Classes

struct  CalibrationModelType
 
struct  FlexmapType
 
struct  InterpResultType
 

Public Types

typedef std::vector< std::string > FileNamesContainer
 
typedef ThreeDCircularProjectionGeometry GeometryType
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ImagXGeometryReader Self
 
typedef itk::LightProcessObject Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual GeometryType::Pointer GetGeometry ()
 
virtual const char * GetNameOfClass () const
 
virtual std::string GetCalibrationXMLFileName ()
 
virtual void SetCalibrationXMLFileName (std::string _arg)
 
virtual std::string GetRoomXMLFileName ()
 
virtual void SetRoomXMLFileName (std::string _arg)
 
void SetProjectionsFileNames (const FileNamesContainer &name)
 
const FileNamesContainerGetProjectionsFileNames () const
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 ImagXGeometryReader ()
 
virtual ~ImagXGeometryReader () override
 

Private Member Functions

void addEntryToGeometry (float gantryAngleDegree, float nozzleToRadAngleOffset, float sid, float sdd, std::vector< float > &P, std::vector< float > &R, std::vector< float > &T)
 
void addEntryToGeometry (const FlexmapType &flex, float gantryAngleDegree)
 
void addEntryToGeometry (const CalibrationModelType &calibModel, float gantryAngleDegree)
 
void GenerateData () override
 
std::string getAIversion ()
 
std::vector< float > getDeformations (float gantryAngle, const std::vector< float > &Dx, const std::vector< float > &Dy, const std::vector< float > &Dz)
 
CalibrationModelType GetGeometryForAI1p5 ()
 
CalibrationModelType GetGeometryForAI1p5FromXMLFiles ()
 
FlexmapType GetGeometryForAI2p1 ()
 
std::vector< float > getInterpolatedValue (const InterpResultType &ires, const std::vector< float > &Dx, const std::vector< float > &Dy, const std::vector< float > &Dz)
 
 ImagXGeometryReader (const Self &)
 
InterpResultType interpolate (const std::vector< float > &flexAngles, bool isCW, float angleDegree)
 
bool isCW (const std::vector< float > &angles)
 
void operator= (const Self &)
 

Private Attributes

std::string m_CalibrationXMLFileName
 
GeometryType::Pointer m_Geometry
 
FileNamesContainer m_ProjectionsFileNames
 
std::string m_RoomXMLFileName
 

Static Private Attributes

static const std::string m_AI_VERSION_1p2
 
static const std::string m_AI_VERSION_1p5
 
static const std::string m_AI_VERSION_2pX
 

Detailed Description

template<typename TInputImage>
class rtk::ImagXGeometryReader< TInputImage >

Creates a 3D circular geometry from the IBA data set.

Test:
rtkimagxtest.cxx
Author
Marc Vila, C. Mory, S. Brousmiche (IBA)

Definition at line 41 of file rtkImagXGeometryReader.h.

Member Typedef Documentation

template<typename TInputImage >
typedef std::vector<std::string> rtk::ImagXGeometryReader< TInputImage >::FileNamesContainer

Definition at line 66 of file rtkImagXGeometryReader.h.

template<typename TInputImage >
typedef ThreeDCircularProjectionGeometry rtk::ImagXGeometryReader< TInputImage >::GeometryType

Convenient typedefs

Definition at line 50 of file rtkImagXGeometryReader.h.

template<typename TInputImage >
typedef InputImageType::PixelType rtk::ImagXGeometryReader< TInputImage >::InputImagePixelType

Definition at line 65 of file rtkImagXGeometryReader.h.

template<typename TInputImage >
typedef InputImageType::Pointer rtk::ImagXGeometryReader< TInputImage >::InputImagePointer

Definition at line 63 of file rtkImagXGeometryReader.h.

template<typename TInputImage >
typedef InputImageType::RegionType rtk::ImagXGeometryReader< TInputImage >::InputImageRegionType

Definition at line 64 of file rtkImagXGeometryReader.h.

template<typename TInputImage >
typedef TInputImage rtk::ImagXGeometryReader< TInputImage >::InputImageType

Some convenient typedefs.

Definition at line 59 of file rtkImagXGeometryReader.h.

template<typename TInputImage >
typedef itk::SmartPointer<Self> rtk::ImagXGeometryReader< TInputImage >::Pointer

Definition at line 47 of file rtkImagXGeometryReader.h.

template<typename TInputImage >
typedef ImagXGeometryReader rtk::ImagXGeometryReader< TInputImage >::Self

Standard typedefs

Definition at line 45 of file rtkImagXGeometryReader.h.

template<typename TInputImage >
typedef itk::LightProcessObject rtk::ImagXGeometryReader< TInputImage >::Superclass

Definition at line 46 of file rtkImagXGeometryReader.h.

Constructor & Destructor Documentation

template<typename TInputImage >
rtk::ImagXGeometryReader< TInputImage >::ImagXGeometryReader ( )
inlineprotected
template<typename TInputImage >
virtual rtk::ImagXGeometryReader< TInputImage >::~ImagXGeometryReader ( )
inlineoverrideprotectedvirtual
template<typename TInputImage >
rtk::ImagXGeometryReader< TInputImage >::ImagXGeometryReader ( const Self )
private

Member Function Documentation

template<typename TInputImage >
void rtk::ImagXGeometryReader< TInputImage >::addEntryToGeometry ( float  gantryAngleDegree,
float  nozzleToRadAngleOffset,
float  sid,
float  sdd,
std::vector< float > &  P,
std::vector< float > &  R,
std::vector< float > &  T 
)
private
template<typename TInputImage >
void rtk::ImagXGeometryReader< TInputImage >::addEntryToGeometry ( const FlexmapType flex,
float  gantryAngleDegree 
)
private
template<typename TInputImage >
void rtk::ImagXGeometryReader< TInputImage >::addEntryToGeometry ( const CalibrationModelType calibModel,
float  gantryAngleDegree 
)
private
template<typename TInputImage >
virtual::itk::LightObject::Pointer rtk::ImagXGeometryReader< TInputImage >::CreateAnother ( ) const
template<typename TInputImage >
void rtk::ImagXGeometryReader< TInputImage >::GenerateData ( )
overrideprivate
template<typename TInputImage >
std::string rtk::ImagXGeometryReader< TInputImage >::getAIversion ( )
private
template<typename TInputImage >
virtual std::string rtk::ImagXGeometryReader< TInputImage >::GetCalibrationXMLFileName ( )
virtual

Set the iMagX calibration xml file

template<typename TInputImage >
std::vector<float> rtk::ImagXGeometryReader< TInputImage >::getDeformations ( float  gantryAngle,
const std::vector< float > &  Dx,
const std::vector< float > &  Dy,
const std::vector< float > &  Dz 
)
private
template<typename TInputImage >
virtual GeometryType::Pointer rtk::ImagXGeometryReader< TInputImage >::GetGeometry ( )
virtual

Get the pointer to the generated geometry object.

template<typename TInputImage >
CalibrationModelType rtk::ImagXGeometryReader< TInputImage >::GetGeometryForAI1p5 ( )
private
template<typename TInputImage >
CalibrationModelType rtk::ImagXGeometryReader< TInputImage >::GetGeometryForAI1p5FromXMLFiles ( )
private
template<typename TInputImage >
FlexmapType rtk::ImagXGeometryReader< TInputImage >::GetGeometryForAI2p1 ( )
private
template<typename TInputImage >
std::vector<float> rtk::ImagXGeometryReader< TInputImage >::getInterpolatedValue ( const InterpResultType ires,
const std::vector< float > &  Dx,
const std::vector< float > &  Dy,
const std::vector< float > &  Dz 
)
private
template<typename TInputImage >
virtual const char* rtk::ImagXGeometryReader< TInputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

template<typename TInputImage >
const FileNamesContainer& rtk::ImagXGeometryReader< TInputImage >::GetProjectionsFileNames ( ) const
inline

Set the vector of strings that contains the projection file names. Files are processed in sequential order.

Definition at line 89 of file rtkImagXGeometryReader.h.

References rtk::ImagXGeometryReader< TInputImage >::m_ProjectionsFileNames.

template<typename TInputImage >
virtual std::string rtk::ImagXGeometryReader< TInputImage >::GetRoomXMLFileName ( )
virtual

Set the iMagX room setup xml file

template<typename TInputImage >
InterpResultType rtk::ImagXGeometryReader< TInputImage >::interpolate ( const std::vector< float > &  flexAngles,
bool  isCW,
float  angleDegree 
)
private
template<typename TInputImage >
bool rtk::ImagXGeometryReader< TInputImage >::isCW ( const std::vector< float > &  angles)
private
template<typename TInputImage >
static Pointer rtk::ImagXGeometryReader< TInputImage >::New ( )
static

Method for creation through the object factory.

template<typename TInputImage >
void rtk::ImagXGeometryReader< TInputImage >::operator= ( const Self )
private
template<typename TInputImage >
virtual void rtk::ImagXGeometryReader< TInputImage >::SetCalibrationXMLFileName ( std::string  _arg)
virtual

Set the iMagX calibration xml file

template<typename TInputImage >
void rtk::ImagXGeometryReader< TInputImage >::SetProjectionsFileNames ( const FileNamesContainer name)
inline

Set the vector of strings that contains the projection file names. Files are processed in sequential order.

Definition at line 81 of file rtkImagXGeometryReader.h.

References rtk::ImagXGeometryReader< TInputImage >::m_ProjectionsFileNames.

template<typename TInputImage >
virtual void rtk::ImagXGeometryReader< TInputImage >::SetRoomXMLFileName ( std::string  _arg)
virtual

Set the iMagX room setup xml file

Member Data Documentation

template<typename TInputImage >
const std::string rtk::ImagXGeometryReader< TInputImage >::m_AI_VERSION_1p2
staticprivate

Definition at line 110 of file rtkImagXGeometryReader.h.

template<typename TInputImage >
const std::string rtk::ImagXGeometryReader< TInputImage >::m_AI_VERSION_1p5
staticprivate

Definition at line 111 of file rtkImagXGeometryReader.h.

template<typename TInputImage >
const std::string rtk::ImagXGeometryReader< TInputImage >::m_AI_VERSION_2pX
staticprivate

Definition at line 112 of file rtkImagXGeometryReader.h.

template<typename TInputImage >
std::string rtk::ImagXGeometryReader< TInputImage >::m_CalibrationXMLFileName
private

Definition at line 181 of file rtkImagXGeometryReader.h.

template<typename TInputImage >
GeometryType::Pointer rtk::ImagXGeometryReader< TInputImage >::m_Geometry
private

Definition at line 180 of file rtkImagXGeometryReader.h.

template<typename TInputImage >
FileNamesContainer rtk::ImagXGeometryReader< TInputImage >::m_ProjectionsFileNames
private
template<typename TInputImage >
std::string rtk::ImagXGeometryReader< TInputImage >::m_RoomXMLFileName
private

Definition at line 182 of file rtkImagXGeometryReader.h.


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