16 #ifndef SURGSIM_TESTING_VISUALTESTCOMMON_MOVINGSQUAREGLUTWINDOW_H 17 #define SURGSIM_TESTING_VISUALTESTCOMMON_MOVINGSQUAREGLUTWINDOW_H 19 #include <boost/thread.hpp> 21 #include "SurgSim/Input/InputConsumerInterface.h" 22 #include "SurgSim/Input/OutputProducerInterface.h" 23 #include "SurgSim/DataStructures/DataGroup.h" 25 #include "SurgSim/Testing/VisualTestCommon/GlutRenderer.h" 46 boost::thread m_renderThread;
49 const std::string m_toolDeviceName;
51 const std::string m_squareDeviceName;
54 std::shared_ptr<GlutCamera> m_camera;
57 std::shared_ptr<GlutGroup> m_tool;
60 std::shared_ptr<GlutSphere> m_toolSphere;
63 std::shared_ptr<GlutSquare> m_square;
74 #endif // SURGSIM_TESTING_VISUALTESTCOMMON_MOVINGSQUAREGLUTWINDOW_H void handleInput(const std::string &device, const SurgSim::DataStructures::DataGroup &inputData) override
Notifies the consumer that the application input coming from the device has been updated.
Definition: MovingSquareGlutWindow.cpp:58
A collection of NamedData objects.
Definition: DataGroup.h:68
MovingSquareGlutWindow(const std::string &toolDeviceName, const std::string &squareDeviceName)
Constructor.
Definition: MovingSquareGlutWindow.cpp:23
A simple listener to display the simple scene composed of a square and tool for the example applicati...
Definition: MovingSquareGlutWindow.h:30
void initializeInput(const std::string &device, const SurgSim::DataStructures::DataGroup &inputData) override
Set the initial input data group.
Definition: MovingSquareGlutWindow.cpp:54
~MovingSquareGlutWindow()
Destructor.
Definition: MovingSquareGlutWindow.cpp:46