16 #ifndef SURGSIM_DEVICES_DEVICEFILTERS_RECORDPOSE_H 17 #define SURGSIM_DEVICES_DEVICEFILTERS_RECORDPOSE_H 21 #include "SurgSim/Devices/DeviceFilters/DeviceFilter.h" 22 #include "SurgSim/Framework/Timer.h" 29 SURGSIM_STATIC_REGISTRATION(RecordPose);
62 double m_cumulativeTime;
65 std::string m_fileName;
68 std::ofstream m_outputFile;
74 #endif // SURGSIM_DEVICES_DEVICEFILTERS_RECORDPOSE_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
~RecordPose()
Desctructor.
Definition: RecordPose.cpp:40
void initializeInput(const std::string &device, const DataStructures::DataGroup &inputData) override
Set the initial input data group.
Definition: RecordPose.cpp:58
A device filter can be connected between a device and the InputConsumerInterface (e.g., InputComponent) and/or the OutputProducerInterface (e.g., OutputComponent), and can alter the data being passed from/to the device.
Definition: DeviceFilter.h:37
Timer class, measures execution times.
Definition: Timer.h:31
void setFileName(const std::string &fileName)
Definition: RecordPose.cpp:48
RecordPose(const std::string &name)
Constructor.
Definition: RecordPose.cpp:30
const std::string & getFileName() const
Definition: RecordPose.cpp:53
A collection of NamedData objects.
Definition: DataGroup.h:68
An input device filter that record the input pose along with the relative time.
Definition: RecordPose.h:34