RTK  2.0.1
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 41 of file rtkDigisensGeometryXMLFileReader.h.

Member Typedef Documentation

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

Definition at line 50 of file rtkDigisensGeometryXMLFileReader.h.

Definition at line 49 of file rtkDigisensGeometryXMLFileReader.h.

Standard type alias

Definition at line 47 of file rtkDigisensGeometryXMLFileReader.h.

Definition at line 48 of file rtkDigisensGeometryXMLFileReader.h.

Constructor & Destructor Documentation

rtk::DigisensGeometryXMLFileReader::DigisensGeometryXMLFileReader ( )
protected
rtk::DigisensGeometryXMLFileReader::~DigisensGeometryXMLFileReader ( )
overrideprotecteddefault

Member Function Documentation

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

Determine if a file can be read

void rtk::DigisensGeometryXMLFileReader::CharacterDataHandler ( const char *  inData,
int  inLength 
)
overrideprotected
virtual::itk::LightObject::Pointer rtk::DigisensGeometryXMLFileReader::CreateAnother ( ) const
void rtk::DigisensGeometryXMLFileReader::EndElement ( const char *  name)
overrideprotected
virtual const char* rtk::DigisensGeometryXMLFileReader::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

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

Method for creation through the object factory.

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

Member Data Documentation

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

Definition at line 73 of file rtkDigisensGeometryXMLFileReader.h.

CurrentSectionType rtk::DigisensGeometryXMLFileReader::m_CurrentSection
private

Definition at line 75 of file rtkDigisensGeometryXMLFileReader.h.

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

Definition at line 72 of file rtkDigisensGeometryXMLFileReader.h.

int rtk::DigisensGeometryXMLFileReader::m_NumberOfFiles
private

Definition at line 74 of file rtkDigisensGeometryXMLFileReader.h.

int rtk::DigisensGeometryXMLFileReader::m_TreeLevel
private

Definition at line 76 of file rtkDigisensGeometryXMLFileReader.h.


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