Motion trails creator tool.
More...
#include <MTCreatorTool.h>
Motion trails creator tool.
Track data from one Optitrack sensor, transform them into local coordinate system (of DA area) and store it. Motion trail PoA pop stored data by calling getSamples() function.
MTCreatorTool::MTCreatorTool |
( |
int |
sensorNumber | ) |
|
MTCreatorTool::~MTCreatorTool |
( |
| ) |
|
void MTCreatorTool::activate |
( |
| ) |
|
void MTCreatorTool::deactivate |
( |
| ) |
|
std::vector<DASample>* MTCreatorTool::getSamples |
( |
| ) |
|
Create copy of stored data, clear internal copy and return pointer to new copy.
void MTCreatorTool::postInitialize |
( |
void |
| ) |
|
void MTCreatorTool::processEvent |
( |
const std::string & |
input_name, |
|
|
void * |
value |
|
) |
| |
void MTCreatorTool::turnOff |
( |
void |
| ) |
|
void MTCreatorTool::turnOn |
( |
| ) |
|
void MTCreatorTool::update |
( |
void |
| ) |
|
osg::Quat MTCreatorTool::DAAOrientation |
|
protected |
for transformations to local coords
osg::Vec3 MTCreatorTool::DAAposition |
|
protected |
for transformations to local coords
osg::Vec3 MTCreatorTool::DAAScale |
|
protected |
for transformations to local coords
bool MTCreatorTool::newOrientation |
|
protected |
bool MTCreatorTool::newPosition |
|
protected |
flags for ensuring correct position+orientation pairing
osg::Quat MTCreatorTool::orientation |
|
protected |
string MTCreatorTool::oriString |
|
protected |
"SensorXOrientation" where X is sensor number
osg::Vec3 MTCreatorTool::position |
|
protected |
string MTCreatorTool::posString |
|
protected |
"SensorXPosition" where X is sensor number
std::vector<DASample>* MTCreatorTool::samples |
|
protected |
samples - position+orientation pairs
int MTCreatorTool::sensorNumber |
|
protected |
number of optitrack sensor (trackable in TrackingTools)
The documentation for this class was generated from the following files: