PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
Functions | Variables
vtkStylusCalibrationTest.cxx File Reference

This test runs a stylus (pivot) calibration on a recorded data set and compares the results to a baseline. More...

#include "PlusConfigure.h"
#include "PlusMath.h"
#include "igsioTrackedFrame.h"
#include "vtkPlusDataCollector.h"
#include "vtkMatrix4x4.h"
#include "vtkMinimalStandardRandomSequence.h"
#include "vtkPlusPivotCalibrationAlgo.h"
#include "vtkPlusChannel.h"
#include "vtkPlusDevice.h"
#include "vtkSmartPointer.h"
#include "vtkIGSIOTrackedFrameList.h"
#include "vtkTransform.h"
#include "vtkIGSIOTransformRepository.h"
#include "vtkXMLDataElement.h"
#include "vtkXMLUtilities.h"
#include "vtksys/CommandLineArguments.hxx"
#include "vtksys/SystemTools.hxx"
#include <iostream>
#include <stdlib.h>
Include dependency graph for vtkStylusCalibrationTest.cxx:

Go to the source code of this file.

Functions

int CompareCalibrationResultsWithBaseline (const char *baselineFileName, const char *currentResultFileName, const char *stylusCoordinateFrame, const char *stylusTipCoordinateFrame)
 
int main (int argc, char *argv[])
 

Variables

const double ROTATION_ERROR_THRESHOLD = 0.5
 
const double TRANSLATION_ERROR_THRESHOLD = 0.5
 

Detailed Description

This test runs a stylus (pivot) calibration on a recorded data set and compares the results to a baseline.

Definition in file vtkStylusCalibrationTest.cxx.

Function Documentation

◆ CompareCalibrationResultsWithBaseline()

int CompareCalibrationResultsWithBaseline ( const char *  baselineFileName,
const char *  currentResultFileName,
const char *  stylusCoordinateFrame,
const char *  stylusTipCoordinateFrame 
)

Definition at line 260 of file vtkStylusCalibrationTest.cxx.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 39 of file vtkStylusCalibrationTest.cxx.

Variable Documentation

◆ ROTATION_ERROR_THRESHOLD

const double ROTATION_ERROR_THRESHOLD = 0.5

Definition at line 35 of file vtkStylusCalibrationTest.cxx.

◆ TRANSLATION_ERROR_THRESHOLD

const double TRANSLATION_ERROR_THRESHOLD = 0.5

Definition at line 34 of file vtkStylusCalibrationTest.cxx.