CustusX  22.04-rc5
An IGT application
cx::ToolFileParser Class Reference

Class for reading the files defining a CustusX tool. More...

#include <cxToolFileParser.h>

Classes

struct  ToolInternalStructure
 A tools internal structure. More...
 
struct  TrackerInternalStructure
 

Public Types

typedef boost::shared_ptr< ToolInternalStructureToolInternalStructurePtr
 

Public Member Functions

 ToolFileParser (QString absoluteToolFilePath, QString loggingFolder="")
 
virtual ~ToolFileParser ()
 
virtual ToolInternalStructurePtr getTool ()
 

Protected Member Functions

QDomNode getToolNode (QString toolAbsoluteFilePath)
 
Transform3D readCalibrationFile (QString absoluteFilePath)
 

Protected Attributes

QString mToolFilePath
 absolutepath to the tool file More...
 
QString mLoggingFolder
 absolutepath to the logging folder More...
 
QDomDocument mToolDoc
 the tool xml document More...
 
const QString mToolTag
 
const QString mToolTypeTag
 
const QString mToolIdTag
 
const QString mToolNameTag
 
const QString mToolDescriptionTag
 
const QString mToolManufacturerTag
 
const QString mToolClinicalAppTag
 
const QString mToolGeoFileTag
 
const QString mToolPicFileTag
 
const QString mToolDocFileTag
 
const QString mToolInstrumentTag
 
const QString mToolInstrumentTypeTag
 
const QString mToolInstrumentIdTag
 
const QString mToolInstrumentNameTag
 
const QString mToolInstrumentManufacturerTag
 
const QString mToolInstrumentScannerIdTag
 
const QString mToolInstrumentDescriptionTag
 
const QString mToolSensorTag
 
const QString mToolSensorTypeTag
 
const QString mToolSensorIdTag
 
const QString mToolSensorNameTag
 
const QString mToolSensorWirelessTag
 
const QString mToolSensorDOFTag
 
const QString mToolSensorPortnumberTag
 
const QString mToolSensorChannelnumberTag
 
const QString mToolSensorReferencePointTag
 
const QString mToolSensorManufacturerTag
 
const QString mToolSensorDescriptionTag
 
const QString mToolSensorRomFileTag
 
const QString mToolCalibrationTag
 
const QString mToolCalibrationFileTag
 
const QString mToolOpenigtlinkImageIdTag
 
const QString mToolOpenigtlinkTransformIdTag
 names of necessary tags in the tool file More...
 

Detailed Description

Class for reading the files defining a CustusX tool.

Date
21. march 2011
Author
Janne Beate Bakeng, SINTEF

Definition at line 33 of file cxToolFileParser.h.

Member Typedef Documentation

Definition at line 99 of file cxToolFileParser.h.

Constructor & Destructor Documentation

cx::ToolFileParser::ToolFileParser ( QString  absoluteToolFilePath,
QString  loggingFolder = "" 
)

Definition at line 138 of file cxToolFileParser.cpp.

cx::ToolFileParser::~ToolFileParser ( )
virtual

Definition at line 155 of file cxToolFileParser.cpp.

Member Function Documentation

ToolFileParser::ToolInternalStructurePtr cx::ToolFileParser::getTool ( )
virtual

Definition at line 159 of file cxToolFileParser.cpp.

QDomNode cx::ToolFileParser::getToolNode ( QString  toolAbsoluteFilePath)
protected

Definition at line 325 of file cxToolFileParser.cpp.

Transform3D cx::ToolFileParser::readCalibrationFile ( QString  absoluteFilePath)
protected

Definition at line 339 of file cxToolFileParser.cpp.

Member Data Documentation

QString cx::ToolFileParser::mLoggingFolder
protected

absolutepath to the logging folder

Definition at line 114 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolCalibrationFileTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolCalibrationTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolClinicalAppTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolDescriptionTag
protected

Definition at line 117 of file cxToolFileParser.h.

QDomDocument cx::ToolFileParser::mToolDoc
protected

the tool xml document

Definition at line 116 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolDocFileTag
protected

Definition at line 117 of file cxToolFileParser.h.

QString cx::ToolFileParser::mToolFilePath
protected

absolutepath to the tool file

Definition at line 113 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolGeoFileTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolIdTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentDescriptionTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentIdTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentManufacturerTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentNameTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentScannerIdTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentTypeTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolManufacturerTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolNameTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolOpenigtlinkImageIdTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolOpenigtlinkTransformIdTag
protected

names of necessary tags in the tool file

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolPicFileTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorChannelnumberTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorDescriptionTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorDOFTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorIdTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorManufacturerTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorNameTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorPortnumberTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorReferencePointTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorRomFileTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorTypeTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorWirelessTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolTag
protected

Definition at line 117 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolTypeTag
protected

Definition at line 117 of file cxToolFileParser.h.


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