PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
vtkPlusPivotCalibrationAlgo.cxx
Go to the documentation of this file.
1 /*=Plus=header=begin======================================================
2  Program: Plus
3  Copyright (c) Laboratory for Percutaneous Surgery. All rights reserved.
4  See License.txt for details.
5 =========================================================Plus=header=end*/
6 
8 
10 
11 //-----------------------------------------------------------------------------
13 {
14 }
15 
16 //-----------------------------------------------------------------------------
18 {
19 }
20 
21 //-----------------------------------------------------------------------------
23 {
24  XML_FIND_NESTED_ELEMENT_REQUIRED(pivotCalibrationElement, aConfig, "vtkPlusPivotCalibrationAlgo");
25  XML_READ_CSTRING_ATTRIBUTE_REQUIRED(ObjectMarkerCoordinateFrame, pivotCalibrationElement);
26  XML_READ_CSTRING_ATTRIBUTE_REQUIRED(ReferenceCoordinateFrame, pivotCalibrationElement);
27  XML_READ_CSTRING_ATTRIBUTE_REQUIRED(ObjectPivotPointCoordinateFrame, pivotCalibrationElement);
28  return PLUS_SUCCESS;
29 }
igsioStatus PlusStatus
Definition: PlusCommon.h:40
PlusStatus ReadConfiguration(vtkXMLDataElement *aConfig) override
#define PLUS_SUCCESS
Definition: PlusCommon.h:44
vtkStandardNewMacro(vtkPlusPivotCalibrationAlgo)
Pivot calibration algorithm to calibrate a stylus. It determines the pose of the stylus tip relative ...