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

#include <rtkThreeDCircularProjectionGeometryXMLFileReader.h>

+ Inheritance diagram for rtk::ThreeDCircularProjectionGeometryXMLFileReader:
+ Collaboration diagram for rtk::ThreeDCircularProjectionGeometryXMLFileReader:

Public Types

using GeometryPointer = GeometryType::Pointer
 
using GeometryType = ThreeDCircularProjectionGeometry
 
using Pointer = itk::SmartPointer< Self >
 
using Self = ThreeDCircularProjectionGeometryXMLFileReader
 
using Superclass = itk::XMLReader< ThreeDCircularProjectionGeometry >
 

Public Member Functions

int CanReadFile (const char *name) override
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const GeometryTypeGetGeometry () const
 
virtual GeometryTypeGetModifiableGeometry ()
 
virtual const char * GetNameOfClass () const
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int CurrentVersion = 3
 

Protected Member Functions

void CharacterDataHandler (const char *inData, int inLength) override
 
void EndElement (const char *name) override
 
void StartElement (const char *name, const char **atts) override
 
void StartElement (const char *name)
 
 ThreeDCircularProjectionGeometryXMLFileReader ()
 
 ~ThreeDCircularProjectionGeometryXMLFileReader () override=default
 

Private Attributes

std::string m_CurCharacterData { "" }
 
GeometryPointer m_Geometry { GeometryType::New() }
 
ThreeDCircularProjectionGeometry::MatrixType m_Matrix
 
unsigned int m_Version { 0 }
 
double m_InPlaneAngle { 0. }
 
double m_OutOfPlaneAngle { 0. }
 
double m_GantryAngle { 0. }
 
double m_SourceToIsocenterDistance { 0. }
 
double m_SourceOffsetX { 0. }
 
double m_SourceOffsetY { 0. }
 
double m_SourceToDetectorDistance { 0. }
 
double m_ProjectionOffsetX { 0. }
 
double m_ProjectionOffsetY { 0. }
 
double m_CollimationUInf { std::numeric_limits<double>::max() }
 
double m_CollimationUSup { std::numeric_limits<double>::max() }
 
double m_CollimationVInf { std::numeric_limits<double>::max() }
 
double m_CollimationVSup { std::numeric_limits<double>::max() }
 

Detailed Description

Reads an XML-format file containing geometry for reconstruction

Test:
rtkgeometryfiletest.cxx, rtkvariantest.cxx, rtkxradtest.cxx, rtkdigisenstest.cxx, rtkelektatest.cxx
Author
Simon Rit

Definition at line 44 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

Member Typedef Documentation

◆ GeometryPointer

◆ GeometryType

Convenient type alias

Definition at line 55 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

◆ Pointer

◆ Self

Standard type alias

Definition at line 50 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

◆ Superclass

Constructor & Destructor Documentation

◆ ThreeDCircularProjectionGeometryXMLFileReader()

rtk::ThreeDCircularProjectionGeometryXMLFileReader::ThreeDCircularProjectionGeometryXMLFileReader ( )
protected

◆ ~ThreeDCircularProjectionGeometryXMLFileReader()

rtk::ThreeDCircularProjectionGeometryXMLFileReader::~ThreeDCircularProjectionGeometryXMLFileReader ( )
overrideprotecteddefault

Member Function Documentation

◆ CanReadFile()

int rtk::ThreeDCircularProjectionGeometryXMLFileReader::CanReadFile ( const char *  name)
overridevirtual

Determine if a file can be read

Implements itk::XMLReaderBase.

◆ CharacterDataHandler()

void rtk::ThreeDCircularProjectionGeometryXMLFileReader::CharacterDataHandler ( const char *  inData,
int  inLength 
)
overrideprotectedvirtual

Implements itk::XMLReaderBase.

◆ CreateAnother()

virtual::itk::LightObject::Pointer rtk::ThreeDCircularProjectionGeometryXMLFileReader::CreateAnother ( ) const
virtual

Reimplemented from itk::Object.

◆ EndElement()

void rtk::ThreeDCircularProjectionGeometryXMLFileReader::EndElement ( const char *  name)
overrideprotectedvirtual

Implements itk::XMLReaderBase.

◆ GetGeometry()

virtual const GeometryType* rtk::ThreeDCircularProjectionGeometryXMLFileReader::GetGeometry ( ) const
virtual

◆ GetModifiableGeometry()

virtual GeometryType* rtk::ThreeDCircularProjectionGeometryXMLFileReader::GetModifiableGeometry ( )
virtual

Get smart pointer to projection geometry.

◆ GetNameOfClass()

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

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

◆ New()

static Pointer rtk::ThreeDCircularProjectionGeometryXMLFileReader::New ( )
static

Method for creation through the object factory.

◆ StartElement() [1/2]

void rtk::ThreeDCircularProjectionGeometryXMLFileReader::StartElement ( const char *  name,
const char **  atts 
)
overrideprotectedvirtual

Callback function – called from XML parser with start-of-element information.

Implements itk::XMLReaderBase.

◆ StartElement() [2/2]

void rtk::ThreeDCircularProjectionGeometryXMLFileReader::StartElement ( const char *  name)
protected

Member Data Documentation

◆ CurrentVersion

const unsigned int rtk::ThreeDCircularProjectionGeometryXMLFileReader::CurrentVersion = 3
static

Latest version

Definition at line 59 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

◆ m_CollimationUInf

double rtk::ThreeDCircularProjectionGeometryXMLFileReader::m_CollimationUInf { std::numeric_limits<double>::max() }
private

Projection parameters

Definition at line 113 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

◆ m_CollimationUSup

double rtk::ThreeDCircularProjectionGeometryXMLFileReader::m_CollimationUSup { std::numeric_limits<double>::max() }
private

Projection parameters

Definition at line 114 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

◆ m_CollimationVInf

double rtk::ThreeDCircularProjectionGeometryXMLFileReader::m_CollimationVInf { std::numeric_limits<double>::max() }
private

Projection parameters

Definition at line 115 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

◆ m_CollimationVSup

double rtk::ThreeDCircularProjectionGeometryXMLFileReader::m_CollimationVSup { std::numeric_limits<double>::max() }
private

Projection parameters

Definition at line 116 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

◆ m_CurCharacterData

std::string rtk::ThreeDCircularProjectionGeometryXMLFileReader::m_CurCharacterData { "" }
private

◆ m_GantryAngle

double rtk::ThreeDCircularProjectionGeometryXMLFileReader::m_GantryAngle { 0. }
private

Projection parameters

Definition at line 106 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

◆ m_Geometry

GeometryPointer rtk::ThreeDCircularProjectionGeometryXMLFileReader::m_Geometry { GeometryType::New() }
private

◆ m_InPlaneAngle

double rtk::ThreeDCircularProjectionGeometryXMLFileReader::m_InPlaneAngle { 0. }
private

Projection parameters

Definition at line 104 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

◆ m_Matrix

ThreeDCircularProjectionGeometry::MatrixType rtk::ThreeDCircularProjectionGeometryXMLFileReader::m_Matrix
private

Projection matrix

Definition at line 120 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

◆ m_OutOfPlaneAngle

double rtk::ThreeDCircularProjectionGeometryXMLFileReader::m_OutOfPlaneAngle { 0. }
private

Projection parameters

Definition at line 105 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

◆ m_ProjectionOffsetX

double rtk::ThreeDCircularProjectionGeometryXMLFileReader::m_ProjectionOffsetX { 0. }
private

Projection parameters

Definition at line 111 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

◆ m_ProjectionOffsetY

double rtk::ThreeDCircularProjectionGeometryXMLFileReader::m_ProjectionOffsetY { 0. }
private

Projection parameters

Definition at line 112 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

◆ m_SourceOffsetX

double rtk::ThreeDCircularProjectionGeometryXMLFileReader::m_SourceOffsetX { 0. }
private

Projection parameters

Definition at line 108 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

◆ m_SourceOffsetY

double rtk::ThreeDCircularProjectionGeometryXMLFileReader::m_SourceOffsetY { 0. }
private

Projection parameters

Definition at line 109 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

◆ m_SourceToDetectorDistance

double rtk::ThreeDCircularProjectionGeometryXMLFileReader::m_SourceToDetectorDistance { 0. }
private

Projection parameters

Definition at line 110 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

◆ m_SourceToIsocenterDistance

double rtk::ThreeDCircularProjectionGeometryXMLFileReader::m_SourceToIsocenterDistance { 0. }
private

Projection parameters

Definition at line 107 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.

◆ m_Version

unsigned int rtk::ThreeDCircularProjectionGeometryXMLFileReader::m_Version { 0 }
private

File format version

Definition at line 123 of file rtkThreeDCircularProjectionGeometryXMLFileReader.h.


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