NorMIT-nav  22.09
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

◆ ToolInternalStructurePtr

Definition at line 99 of file cxToolFileParser.h.

Constructor & Destructor Documentation

◆ ToolFileParser()

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

Definition at line 138 of file cxToolFileParser.cpp.

◆ ~ToolFileParser()

cx::ToolFileParser::~ToolFileParser ( )
virtual

Definition at line 155 of file cxToolFileParser.cpp.

Member Function Documentation

◆ getTool()

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

Definition at line 159 of file cxToolFileParser.cpp.

◆ getToolNode()

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

Definition at line 325 of file cxToolFileParser.cpp.

◆ readCalibrationFile()

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

Definition at line 339 of file cxToolFileParser.cpp.

Member Data Documentation

◆ mLoggingFolder

QString cx::ToolFileParser::mLoggingFolder
protected

absolutepath to the logging folder

Definition at line 114 of file cxToolFileParser.h.

◆ mToolCalibrationFileTag

const QString cx::ToolFileParser::mToolCalibrationFileTag
protected

Definition at line 124 of file cxToolFileParser.h.

◆ mToolCalibrationTag

const QString cx::ToolFileParser::mToolCalibrationTag
protected

Definition at line 124 of file cxToolFileParser.h.

◆ mToolClinicalAppTag

const QString cx::ToolFileParser::mToolClinicalAppTag
protected

Definition at line 118 of file cxToolFileParser.h.

◆ mToolDescriptionTag

const QString cx::ToolFileParser::mToolDescriptionTag
protected

Definition at line 117 of file cxToolFileParser.h.

◆ mToolDoc

QDomDocument cx::ToolFileParser::mToolDoc
protected

the tool xml document

Definition at line 116 of file cxToolFileParser.h.

◆ mToolDocFileTag

const QString cx::ToolFileParser::mToolDocFileTag
protected

Definition at line 118 of file cxToolFileParser.h.

◆ mToolFilePath

QString cx::ToolFileParser::mToolFilePath
protected

absolutepath to the tool file

Definition at line 113 of file cxToolFileParser.h.

◆ mToolGeoFileTag

const QString cx::ToolFileParser::mToolGeoFileTag
protected

Definition at line 118 of file cxToolFileParser.h.

◆ mToolIdTag

const QString cx::ToolFileParser::mToolIdTag
protected

Definition at line 117 of file cxToolFileParser.h.

◆ mToolInstrumentDescriptionTag

const QString cx::ToolFileParser::mToolInstrumentDescriptionTag
protected

Definition at line 120 of file cxToolFileParser.h.

◆ mToolInstrumentIdTag

const QString cx::ToolFileParser::mToolInstrumentIdTag
protected

Definition at line 119 of file cxToolFileParser.h.

◆ mToolInstrumentManufacturerTag

const QString cx::ToolFileParser::mToolInstrumentManufacturerTag
protected

Definition at line 120 of file cxToolFileParser.h.

◆ mToolInstrumentNameTag

const QString cx::ToolFileParser::mToolInstrumentNameTag
protected

Definition at line 119 of file cxToolFileParser.h.

◆ mToolInstrumentScannerIdTag

const QString cx::ToolFileParser::mToolInstrumentScannerIdTag
protected

Definition at line 120 of file cxToolFileParser.h.

◆ mToolInstrumentTag

const QString cx::ToolFileParser::mToolInstrumentTag
protected

Definition at line 118 of file cxToolFileParser.h.

◆ mToolInstrumentTypeTag

const QString cx::ToolFileParser::mToolInstrumentTypeTag
protected

Definition at line 119 of file cxToolFileParser.h.

◆ mToolManufacturerTag

const QString cx::ToolFileParser::mToolManufacturerTag
protected

Definition at line 117 of file cxToolFileParser.h.

◆ mToolNameTag

const QString cx::ToolFileParser::mToolNameTag
protected

Definition at line 117 of file cxToolFileParser.h.

◆ mToolOpenigtlinkImageIdTag

const QString cx::ToolFileParser::mToolOpenigtlinkImageIdTag
protected

Definition at line 125 of file cxToolFileParser.h.

◆ mToolOpenigtlinkTransformIdTag

const QString cx::ToolFileParser::mToolOpenigtlinkTransformIdTag
protected

names of necessary tags in the tool file

Definition at line 125 of file cxToolFileParser.h.

◆ mToolPicFileTag

const QString cx::ToolFileParser::mToolPicFileTag
protected

Definition at line 118 of file cxToolFileParser.h.

◆ mToolSensorChannelnumberTag

const QString cx::ToolFileParser::mToolSensorChannelnumberTag
protected

Definition at line 122 of file cxToolFileParser.h.

◆ mToolSensorDescriptionTag

const QString cx::ToolFileParser::mToolSensorDescriptionTag
protected

Definition at line 123 of file cxToolFileParser.h.

◆ mToolSensorDOFTag

const QString cx::ToolFileParser::mToolSensorDOFTag
protected

Definition at line 122 of file cxToolFileParser.h.

◆ mToolSensorIdTag

const QString cx::ToolFileParser::mToolSensorIdTag
protected

Definition at line 121 of file cxToolFileParser.h.

◆ mToolSensorManufacturerTag

const QString cx::ToolFileParser::mToolSensorManufacturerTag
protected

Definition at line 123 of file cxToolFileParser.h.

◆ mToolSensorNameTag

const QString cx::ToolFileParser::mToolSensorNameTag
protected

Definition at line 121 of file cxToolFileParser.h.

◆ mToolSensorPortnumberTag

const QString cx::ToolFileParser::mToolSensorPortnumberTag
protected

Definition at line 122 of file cxToolFileParser.h.

◆ mToolSensorReferencePointTag

const QString cx::ToolFileParser::mToolSensorReferencePointTag
protected

Definition at line 123 of file cxToolFileParser.h.

◆ mToolSensorRomFileTag

const QString cx::ToolFileParser::mToolSensorRomFileTag
protected

Definition at line 124 of file cxToolFileParser.h.

◆ mToolSensorTag

const QString cx::ToolFileParser::mToolSensorTag
protected

Definition at line 121 of file cxToolFileParser.h.

◆ mToolSensorTypeTag

const QString cx::ToolFileParser::mToolSensorTypeTag
protected

Definition at line 121 of file cxToolFileParser.h.

◆ mToolSensorWirelessTag

const QString cx::ToolFileParser::mToolSensorWirelessTag
protected

Definition at line 121 of file cxToolFileParser.h.

◆ mToolTag

const QString cx::ToolFileParser::mToolTag
protected

Definition at line 117 of file cxToolFileParser.h.

◆ mToolTypeTag

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: