All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
ToolSquareTest.h File Reference
#include <memory>
Include dependency graph for ToolSquareTest.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 SurgSim
 
 SurgSim::Input
 

Functions

void runToolSquareTest (std::shared_ptr< SurgSim::Input::DeviceInterface > toolDevice, std::shared_ptr< SurgSim::Input::DeviceInterface > squareDevice, const char *testDescriptionMessage)
 Creates a GLUT window containing a sphere and a square each controlled by a device, with interaction forces. More...
 

Function Documentation

void runToolSquareTest ( std::shared_ptr< SurgSim::Input::DeviceInterface toolDevice,
std::shared_ptr< SurgSim::Input::DeviceInterface squareDevice,
const char *  testDescriptionMessage 
)

Creates a GLUT window containing a sphere and a square each controlled by a device, with interaction forces.

Warning
Does not return, instead calls exit(0). Therefore, will not destruct the device or its scaffold.
See also
MovingSquareForce, MovingSquareGlutWindow
Parameters
toolDeviceThe device providing an input pose to control the sphere.
squareDeviceThe device providing an input pose to control the square.
testDescriptionMessageA message to be printed to the screen, e.g., instructions for operation.