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

#include <rtkDigisensGeometryXMLFileReader.h>

+ Inheritance diagram for rtk::DigisensGeometryXMLFileReader:
+ Collaboration diagram for rtk::DigisensGeometryXMLFileReader:

Public Types

using CurrentSectionType = enum { NONE, ROTATION, XRAY, CAMERA, RADIOS, GRID, PROCESSING }
 
using Pointer = itk::SmartPointer< Self >
 
using Self = DigisensGeometryXMLFileReader
 
using Superclass = itk::XMLReader< itk::MetaDataDictionary >
 

Public Member Functions

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

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

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

Private Attributes

std::string m_CurCharacterData
 
CurrentSectionType m_CurrentSection
 
itk::MetaDataDictionary m_Dictionary
 
int m_NumberOfFiles
 
int m_TreeLevel
 

Detailed Description

Reads the XML-format file written by Digisens geometric calibration tool.

Author
Simon Rit
Test:
rtkdigisenstest.cxx

Definition at line 42 of file rtkDigisensGeometryXMLFileReader.h.

Member Typedef Documentation

◆ CurrentSectionType

using rtk::DigisensGeometryXMLFileReader::CurrentSectionType = enum { NONE, ROTATION, XRAY, CAMERA, RADIOS, GRID, PROCESSING }

Definition at line 51 of file rtkDigisensGeometryXMLFileReader.h.

◆ Pointer

Definition at line 50 of file rtkDigisensGeometryXMLFileReader.h.

◆ Self

Standard type alias

Definition at line 48 of file rtkDigisensGeometryXMLFileReader.h.

◆ Superclass

Definition at line 49 of file rtkDigisensGeometryXMLFileReader.h.

Constructor & Destructor Documentation

◆ DigisensGeometryXMLFileReader()

rtk::DigisensGeometryXMLFileReader::DigisensGeometryXMLFileReader ( )
protected

◆ ~DigisensGeometryXMLFileReader()

rtk::DigisensGeometryXMLFileReader::~DigisensGeometryXMLFileReader ( )
overrideprotecteddefault

Member Function Documentation

◆ CanReadFile()

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

Determine if a file can be read

Implements itk::XMLReaderBase.

◆ CharacterDataHandler()

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

Implements itk::XMLReaderBase.

◆ CreateAnother()

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

Reimplemented from itk::Object.

◆ EndElement()

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

Implements itk::XMLReaderBase.

◆ GetNameOfClass()

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

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

◆ New()

static Pointer rtk::DigisensGeometryXMLFileReader::New ( )
static

Method for creation through the object factory.

◆ StartElement()

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

Implements itk::XMLReaderBase.

Member Data Documentation

◆ m_CurCharacterData

std::string rtk::DigisensGeometryXMLFileReader::m_CurCharacterData
private

Definition at line 83 of file rtkDigisensGeometryXMLFileReader.h.

◆ m_CurrentSection

CurrentSectionType rtk::DigisensGeometryXMLFileReader::m_CurrentSection
private

Definition at line 85 of file rtkDigisensGeometryXMLFileReader.h.

◆ m_Dictionary

itk::MetaDataDictionary rtk::DigisensGeometryXMLFileReader::m_Dictionary
private

Definition at line 82 of file rtkDigisensGeometryXMLFileReader.h.

◆ m_NumberOfFiles

int rtk::DigisensGeometryXMLFileReader::m_NumberOfFiles
private

Definition at line 84 of file rtkDigisensGeometryXMLFileReader.h.

◆ m_TreeLevel

int rtk::DigisensGeometryXMLFileReader::m_TreeLevel
private

Definition at line 86 of file rtkDigisensGeometryXMLFileReader.h.


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