![]() |
#include <memory>
#include <GL/glut.h>
#include "SurgSim/Input/DeviceInterface.h"
#include "SurgSim/Framework/Assert.h"
#include "SurgSim/Testing/VisualTestCommon/MovingSquareForce.h"
#include "SurgSim/Testing/VisualTestCommon/MovingSquareGlutWindow.h"
Macros | |
#define | GLUT_NO_LIB_PRAGMA 1 |
Functions | |
void | runToolSquareTest (std::shared_ptr< DeviceInterface > toolDevice, std::shared_ptr< DeviceInterface > squareDevice, const char *testDescriptionMessage) |
Creates a GLUT window containing a sphere and a square each controlled by a device, with interaction forces. More... | |
#define GLUT_NO_LIB_PRAGMA 1 |
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.
toolDevice | The device providing an input pose to control the sphere. |
squareDevice | The device providing an input pose to control the square. |
testDescriptionMessage | A message to be printed to the screen, e.g., instructions for operation. |