29 myTool1->SetIdentifier(
"001");
30 myStorage->AddTool(myTool1);
33 myTool2->SetIdentifier(
"002");
34 myStorage->AddTool(myTool2);
37 myTool3->SetIdentifier(
"003");
38 myStorage->AddTool(myTool3);
50 myTool1->SetIdentifier(
"001");
54 CalLandmarks1->SetPoint(0,testPt1);
58 RegLandmarks1->SetPoint(5,testPt2);
59 myTool1->SetToolCalibrationLandmarks(CalLandmarks1);
60 myTool1->SetToolRegistrationLandmarks(RegLandmarks1);
64 myTool1->SetToolTipPosition(toolTipPos);
65 myTool1->SetToolTipOrientation(toolTipRot);
66 myStorage->AddTool(myTool1);
75 myNavigationTool->SetCalibrationFile(toolFilePath);
77 myNode->SetName(
"ClaronTool");
79 myNavigationTool->SetDataNode(myNode);
80 myNavigationTool->SetIdentifier(
"ClaronTool#1");
81 myNavigationTool->SetSerialNumber(
"0815");
90 myNode2->SetName(
"AuroraTool");
94 myNode2->SetData(testSurface2);
96 myNavigationTool2->SetDataNode(myNode2);
97 myNavigationTool2->SetIdentifier(
"AuroraTool#1");
98 myNavigationTool2->SetSerialNumber(
"0816");
104 myStorage->AddTool(myNavigationTool);
105 myStorage->AddTool(myNavigationTool2);
static mitk::Surface::Pointer LoadSurface(const std::string &path)
LoadSurface Convenience method to load an arbitrary mitkSurface.
itk::SmartPointer< Self > Pointer
void FillVector3D(Tout &out, mitk::ScalarType x, mitk::ScalarType y, mitk::ScalarType z)
vnl_quaternion< ScalarType > Quaternion