#include <rtkElektaXVI5GeometryXMLFileReader.h>
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.
Inheritance diagram for rtk::ElektaXVI5GeometryXMLFileReader:
Collaboration diagram for rtk::ElektaXVI5GeometryXMLFileReader:Public Types | |
| using | GeometryPointer = GeometryType::Pointer |
| using | GeometryType = ThreeDCircularProjectionGeometry |
| using | Pointer = itk::SmartPointer<Self> |
| using | Self = ElektaXVI5GeometryXMLFileReader |
| using | Superclass = itk::XMLReader<ThreeDCircularProjectionGeometry> |
Public Types inherited from itk::XMLReader< ThreeDCircularProjectionGeometry > | |
| using | Self |
Public Types inherited from itk::XMLReaderBase | |
| using | Self = XMLReaderBase |
Public Types inherited from itk::LightProcessObject | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = LightProcessObject |
| using | Superclass = Object |
Public Types inherited from itk::Object | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = Object |
| using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = LightObject |
Public Member Functions | |
| int | CanReadFile (const char *name) override |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| virtual GeometryPointer | GetGeometry () |
| virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from itk::XMLReader< ThreeDCircularProjectionGeometry > | |
| ThreeDCircularProjectionGeometry * | GetOutputObject () |
| ThreeDCircularProjectionGeometry * | GetOutputObject () |
| void | SetOutputObject (ThreeDCircularProjectionGeometry *obj) |
| void | SetOutputObject (ThreeDCircularProjectionGeometry *obj) |
Public Member Functions inherited from itk::XMLReaderBase | |
| virtual void | GenerateOutputInformation () |
| virtual const char * | GetFilename () const |
| virtual void | SetFilename (const char *_arg) |
Public Member Functions inherited from itk::LightProcessObject | |
| virtual void | AbortGenerateDataOff () |
| virtual void | AbortGenerateDataOn () |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| virtual const bool & | GetAbortGenerateData () const |
| virtual void | SetAbortGenerateData (bool _arg) |
| virtual void | UpdateOutputData () |
| void | UpdateProgress (float amount) |
| virtual void | SetProgress (float _arg) |
| virtual const float & | GetProgress () const |
Public Member Functions inherited from itk::Object | |
| unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
| unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
| LightObject::Pointer | CreateAnother () const override |
| virtual void | DebugOff () const |
| virtual void | DebugOn () const |
| Command * | GetCommand (unsigned long tag) |
| bool | GetDebug () const |
| MetaDataDictionary & | GetMetaDataDictionary () |
| const MetaDataDictionary & | GetMetaDataDictionary () const |
| virtual ModifiedTimeType | GetMTime () const |
| virtual const TimeStamp & | GetTimeStamp () const |
| bool | HasObserver (const EventObject &event) const |
| void | InvokeEvent (const EventObject &) |
| void | InvokeEvent (const EventObject &) const |
| virtual void | Modified () const |
| void | Register () const override |
| void | RemoveAllObservers () |
| void | RemoveObserver (unsigned long tag) const |
| void | SetDebug (bool debugFlag) const |
| void | SetReferenceCount (int) override |
| void | UnRegister () const noexcept override |
| void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
| void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
| virtual void | SetObjectName (std::string _arg) |
| virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
| Pointer | Clone () const |
| virtual void | Delete () |
| virtual int | GetReferenceCount () const |
| void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::LightProcessObject | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
| static bool | GetGlobalWarningDisplay () |
| static void | GlobalWarningDisplayOff () |
| static void | GlobalWarningDisplayOn () |
| static Pointer | New () |
| static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
| static void | BreakOnError () |
| 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) |
| void | StartElement (const char *name, const char **atts) override |
| ~ElektaXVI5GeometryXMLFileReader () override=default | |
Protected Member Functions inherited from itk::XMLReader< ThreeDCircularProjectionGeometry > | |
| XMLReader () | |
| XMLReader () | |
| ~XMLReader () override=default | |
| ~XMLReader () override=default | |
Protected Member Functions inherited from itk::XMLReaderBase | |
| void | parse () |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| XMLReaderBase ()=default | |
| ~XMLReaderBase () override=default | |
Protected Member Functions inherited from itk::LightProcessObject | |
| virtual void | GenerateData () |
| LightProcessObject () | |
| ~LightProcessObject () override | |
Protected Member Functions inherited from itk::Object | |
| Object () | |
| bool | PrintObservers (std::ostream &os, Indent indent) const |
| virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
| ~Object () override | |
Protected Member Functions inherited from itk::LightObject | |
| virtual LightObject::Pointer | InternalClone () const |
| LightObject () | |
| virtual void | PrintHeader (std::ostream &os, Indent indent) const |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
| virtual | ~LightObject () |
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. } |
Additional Inherited Members | |
Protected Attributes inherited from itk::XMLReader< ThreeDCircularProjectionGeometry > | |
| ThreeDCircularProjectionGeometry * | m_OutputObject |
| ThreeDCircularProjectionGeometry * | m_OutputObject |
Protected Attributes inherited from itk::XMLReaderBase | |
| std::string | m_Filename {} |
Protected Attributes inherited from itk::LightObject | |
| std::atomic< int > | m_ReferenceCount {} |
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 |
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
overridevirtual |
Determine if a file can be read
Implements itk::XMLReaderBase.
|
overrideprotectedvirtual |
Callback function – called from XML parser with the character data for an XML element
Implements itk::XMLReaderBase.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::LightObject.
|
overrideprotectedvirtual |
Callback function – called from XML parser when ending tag encountered
Implements itk::XMLReaderBase.
|
virtual |
Get smart pointer to projection geometry.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::LightProcessObject.
References ElektaXVI5GeometryXMLFileReader().
|
static |
Method for creation through the object factory.
|
protected |
|
overrideprotectedvirtual |
Callback function – called from XML parser with start-of-element information.
Implements itk::XMLReaderBase.
|
static |
Latest version
Definition at line 61 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 98 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 103 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 96 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Projection parameters
Definition at line 101 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Projection matrix
Definition at line 112 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 102 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 108 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 109 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 105 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 106 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 107 of file rtkElektaXVI5GeometryXMLFileReader.h.
|
private |
Definition at line 104 of file rtkElektaXVI5GeometryXMLFileReader.h.