Fraxinus  16.5.0-fx-rc8
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 Member Functions

 ToolFileParser (QString absoluteToolFilePath, QString loggingFolder="")
 
 ~ToolFileParser ()
 
virtual ToolInternalStructure 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 54 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 ( )

Definition at line 154 of file cxToolFileParser.cpp.

Member Function Documentation

ToolFileParser::ToolInternalStructure cx::ToolFileParser::getTool ( )
virtual

Definition at line 158 of file cxToolFileParser.cpp.

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

Definition at line 321 of file cxToolFileParser.cpp.

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

Definition at line 335 of file cxToolFileParser.cpp.

Member Data Documentation

QString cx::ToolFileParser::mLoggingFolder
protected

absolutepath to the logging folder

Definition at line 129 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolCalibrationFileTag
protected

names of necessary tags in the tool file

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolCalibrationTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolClinicalAppTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolDescriptionTag
protected

Definition at line 132 of file cxToolFileParser.h.

QDomDocument cx::ToolFileParser::mToolDoc
protected

the tool xml document

Definition at line 131 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolDocFileTag
protected

Definition at line 132 of file cxToolFileParser.h.

QString cx::ToolFileParser::mToolFilePath
protected

absolutepath to the tool file

Definition at line 128 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolGeoFileTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolIdTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentDescriptionTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentIdTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentManufacturerTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentNameTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentScannerIdTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolInstrumentTypeTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolManufacturerTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolNameTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolPicFileTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorChannelnumberTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorDescriptionTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorDOFTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorIdTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorManufacturerTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorNameTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorPortnumberTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorReferencePointTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorRomFileTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorTypeTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolSensorWirelessTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolTag
protected

Definition at line 132 of file cxToolFileParser.h.

const QString cx::ToolFileParser::mToolTypeTag
protected

Definition at line 132 of file cxToolFileParser.h.


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