gramods
|
The scenegraph TrackedTransform base. More...
#include <TrackedTransform.hh>
Classes | |
struct | Impl |
Public Member Functions | |
void | setHysteresis (float t) |
Sets the time, in seconds, a tracker lingers after ceasing to update their data, before it's removed. More... | |
void | addSinglePoseTracker (std::shared_ptr< gmTrack::SinglePoseTracker > t) |
Adds a tracker to read pose data from. More... | |
void | addMultiPoseTracker (std::shared_ptr< gmTrack::MultiPoseTracker > t) |
Adds a tracker to read pose data from. More... | |
void | accept (Visitor *visitor) override |
Calls the visitors apply method with this as argument. More... | |
![]() | |
void | addNode (std::shared_ptr< Node > node) |
Adds a child. More... | |
void | removeNode (std::shared_ptr< Node > node) |
Removes a child. More... | |
void | removeNode (size_t idx) |
Removes a child. More... | |
std::vector< std::shared_ptr< Node > > | getNodes () |
Returns the current list of nodes. More... | |
void | traverse (Visitor *visitor) override |
Propagates the specified visitor. More... | |
![]() | |
virtual std::vector< float > | getIntersections (const IntersectionLine &line) |
Check and return intersections between the provided line and the shape represented by this node. More... | |
virtual std::string | getDefaultKey () override |
Returns the default key, in Configuration, for the Object. More... | |
![]() | |
Object () | |
Initializes internal data. More... | |
virtual | ~Object () |
Cleaning up internal data. More... | |
virtual void | initialize () |
Called to initialize the Object. More... | |
bool | isInitialized () |
Returns true if the Object is initialized. More... | |
Static Public Attributes | |
static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
![]() | |
static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
Additional Inherited Members | |
![]() | |
typedef std::vector< std::shared_ptr< Node > > | list |
The scenegraph TrackedTransform base.
|
overridevirtual |
Calls the visitors apply method with this as argument.
Reimplemented from gramods::gmCore::Object.
void gramods::gmGraphics::TrackedTransform::addMultiPoseTracker | ( | std::shared_ptr< gmTrack::MultiPoseTracker > | t | ) |
Adds a tracker to read pose data from.
void gramods::gmGraphics::TrackedTransform::addSinglePoseTracker | ( | std::shared_ptr< gmTrack::SinglePoseTracker > | t | ) |
Adds a tracker to read pose data from.
void gramods::gmGraphics::TrackedTransform::setHysteresis | ( | float | t | ) |
Sets the time, in seconds, a tracker lingers after ceasing to update their data, before it's removed.
Default is 5 seconds.