RTK
2.6.0
Reconstruction Toolkit
|
#include <rtkElektaXVI5GeometryXMLFileReader.h>
Public Types | |
using | GeometryPointer = GeometryType::Pointer |
using | GeometryType = ThreeDCircularProjectionGeometry |
using | Pointer = itk::SmartPointer< Self > |
using | Self = ElektaXVI5GeometryXMLFileReader |
using | Superclass = itk::XMLReader< ThreeDCircularProjectionGeometry > |
Public Member Functions | |
int | CanReadFile (const char *name) override |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual GeometryPointer | GetGeometry () |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | CurrentVersion = 2 |
Protected Member Functions | |
void | CharacterDataHandler (const char *inData, int inLength) override |
ElektaXVI5GeometryXMLFileReader () | |
void | EndElement (const char *name) override |
void | StartElement (const char *name, const char **atts) override |
void | StartElement (const char *name) |
~ElektaXVI5GeometryXMLFileReader () override=default | |
Private Attributes | |
std::string | m_CurCharacterData |
double | m_GantryAngle { 0. } |
GeometryPointer | m_Geometry { GeometryType::New() } |
double | m_InPlaneAngle { 0. } |
ThreeDCircularProjectionGeometry::MatrixType | m_Matrix |
double | m_OutOfPlaneAngle { 0. } |
double | m_ProjectionOffsetX { 0. } |
double | m_ProjectionOffsetY { 0. } |
double | m_SourceOffsetX { 0. } |
double | m_SourceOffsetY { 0. } |
double | m_SourceToDetectorDistance { 1536. } |
double | m_SourceToIsocenterDistance { 1000. } |
Reads an XML-format file of XVI version = 5.0.2 (_Frame.xml in each projection directory). From XVI_v5 on, thre is no need of accessing .DBF files (FRAME.DBF / IMAGE.DBF). This class is basically inspired by ThreeDCircularProjectionGeometryXMLFileReader. Writer is not implemented. SAD = 1000 mm, SID = 1536 mm are hard-coded since _Frame.xml doesn't include these values. Regarding PanelOffset, XVI5 specifies position of the center (UCentre, VCentre) instead of offset. Therefore, negation is required to get classical m_ProjectionOffsetX and m_ProjectionOffsetY values.
Definition at line 46 of file rtkElektaXVI5GeometryXMLFileReader.h.
Definition at line 58 of file rtkElektaXVI5GeometryXMLFileReader.h.
Convenient type alias
Definition at line 57 of file rtkElektaXVI5GeometryXMLFileReader.h.
Definition at line 54 of file rtkElektaXVI5GeometryXMLFileReader.h.
Standard type alias
Definition at line 52 of file rtkElektaXVI5GeometryXMLFileReader.h.
using rtk::ElektaXVI5GeometryXMLFileReader::Superclass = itk::XMLReader<ThreeDCircularProjectionGeometry> |
Definition at line 53 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
protected |
|
overrideprotecteddefault |
|
overridevirtual |
Determine if a file can be read
Implements itk::XMLReaderBase.
|
overrideprotectedvirtual |
Implements itk::XMLReaderBase.
|
virtual |
Reimplemented from itk::Object.
|
overrideprotectedvirtual |
Implements itk::XMLReaderBase.
|
virtual |
Get smart pointer to projection geometry.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::LightProcessObject.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Callback function – called from XML parser with start-of-element information.
Implements itk::XMLReaderBase.
|
protected |
|
static |
Latest version
Definition at line 61 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 103 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 108 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 101 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Projection parameters
Definition at line 106 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Projection matrix
Definition at line 117 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 107 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 113 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 114 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 110 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 111 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 112 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 109 of file rtkElektaXVI5GeometryXMLFileReader.h.