67 std::string* errorMessage,
68 std::vector<int>* toolCorrespondencesInToolStorage)
72 *toolCorrespondencesInToolStorage = std::vector<int>();
74 for (
int i = 0; i < navigationTools->GetToolCount(); i++)
77 toolCorrespondencesInToolStorage->push_back(i);
78 bool toolAddSuccess = thisDevice->AddTool(thisNavigationTool->GetToolName().c_str(), thisNavigationTool->GetCalibrationFile().c_str());
82 errorMessage->append(
"Can't add tool, is the SROM-file valid?");
85 thisDevice->GetTool(i)->SetToolTip(thisNavigationTool->GetToolTipPosition(), thisNavigationTool->GetToolTipOrientation());
87 returnValue->SetTrackingDevice(thisDevice);
itk::SmartPointer< Self > Pointer
DataCollection - Class to facilitate loading/accessing structured data.
superclass for specific NDI tracking Devices that use serial communication.