25 return "NP Optitrack";
47 std::string* errorMessage,
48 std::vector<int>* toolCorrespondencesInToolStorage)
52 *toolCorrespondencesInToolStorage = std::vector<int>();
55 thisDevice->OpenConnection();
58 for (
int i = 0; i < navigationTools->GetToolCount(); i++)
61 toolCorrespondencesInToolStorage->push_back(i);
62 bool toolAddSuccess = thisDevice->AddToolByDefinitionFile(thisNavigationTool->GetCalibrationFile());
63 thisDevice->GetOptitrackTool(i)->SetToolName(thisNavigationTool->GetToolName().c_str());
67 errorMessage->append(
"Can't add tool, is the toolfile valid?");
72 returnValue->SetTrackingDevice(thisDevice);
itk::SmartPointer< Self > Pointer
An object of this class represents the Optitrack device. You can add tools to this device...
DataCollection - Class to facilitate loading/accessing structured data.