CustusX  2020.12.15-dev+develop.686e7
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
 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 97 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 154 of file cxToolFileParser.cpp.

Member Function Documentation

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

Definition at line 158 of file cxToolFileParser.cpp.

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

Definition at line 322 of file cxToolFileParser.cpp.

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

Definition at line 336 of file cxToolFileParser.cpp.

Member Data Documentation

QString cx::ToolFileParser::mLoggingFolder
protected

absolutepath to the logging folder

Definition at line 112 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolCalibrationFileTag
protected

names of necessary tags in the tool file

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolCalibrationTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolClinicalAppTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolDescriptionTag
protected

Definition at line 115 of file cxToolFileParser.h.

QDomDocument cx::ToolFileParser::mToolDoc
protected

the tool xml document

Definition at line 114 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolDocFileTag
protected

Definition at line 115 of file cxToolFileParser.h.

QString cx::ToolFileParser::mToolFilePath
protected

absolutepath to the tool file

Definition at line 111 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolGeoFileTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolIdTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentDescriptionTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentIdTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentManufacturerTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentNameTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentScannerIdTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentTypeTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolManufacturerTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolNameTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolPicFileTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorChannelnumberTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorDescriptionTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorDOFTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorIdTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorManufacturerTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorNameTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorPortnumberTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorReferencePointTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorRomFileTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorTypeTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorWirelessTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolTag
protected

Definition at line 115 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolTypeTag
protected

Definition at line 115 of file cxToolFileParser.h.


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