gramods
|
Pose tracker reading data off a VRPN server. More...
#include <VrpnPoseTracker.hh>
Classes | |
struct | Impl |
Public Member Functions | |
void | update (gmCore::Updateable::clock::time_point time, size_t frame) override |
Updates the animation. More... | |
void | setConnectionString (std::string id) |
The address to the pose tracker at the VRPN server, such as "tracker@localhost". More... | |
bool | getPose (std::map< int, PoseSample > &p) override |
Replaces the contents of p with pose data. 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... | |
virtual void | accept (Visitor *visitor) |
Calls the visitors apply method with this as argument. More... | |
virtual void | traverse (Visitor *visitor) |
Calls the child Object's accept method, if such exist. More... | |
bool | isInitialized () |
Returns true if the Object is initialized. More... | |
![]() | |
Updateable (int priority=0) | |
Configures the Updateable properties to the specified priority. More... | |
virtual void | update (clock::time_point t, size_t frame)=0 |
Called by updateAll to make the object up-to-date. More... | |
Static Public Attributes | |
static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
Additional Inherited Members | |
![]() | |
typedef std::chrono::steady_clock | clock |
![]() | |
typedef std::chrono::steady_clock | clock |
![]() | |
static void | updateAll (clock::time_point t=clock::now(), std::optional< size_t > frame=std::nullopt) |
Updates all currently instanciated updateable objects. More... | |
Pose tracker reading data off a VRPN server.
This class configures as an Updateable with a priority of
|
overridevirtual |
Replaces the contents of p with pose data.
Implements gramods::gmTrack::MultiPoseTracker.
void gramods::gmTrack::VrpnPoseTracker::setConnectionString | ( | std::string | id | ) |
The address to the pose tracker at the VRPN server, such as "tracker@localhost".
XML-attribute: connectionString
|
override |
Updates the animation.