ProjectedTextures
Prototype software for spacial augmented reality applications.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
Trackable Class Reference

#include <Trackable.h>

Inheritance diagram for Trackable:
Geometry

Public Member Functions

 Trackable ()
 
virtual ~Trackable (void)
 
void addTracker (Tracker *tracker)
 
int getId ()
 
QMatrix4x4 getPoseMat ()
 
Similarity getPose ()
 
bool isTracked ()
 
void updatePose ()
 

Protected Attributes

int id
 
QList< Tracker * > trackers
 
Similarity pose
 
clock_t timeOfLastTrack
 
float trackingTimeout
 

Static Protected Attributes

static int numTrackables
 

Detailed Description

a physical entity that is subject to tracking

Constructor & Destructor Documentation

Trackable::Trackable ( )
Trackable::~Trackable ( void  )
virtual

Member Function Documentation

void Trackable::addTracker ( Tracker tracker)

adds a tracker that contributes to the estimation of this trackable's pose

int Trackable::getId ( )
inline

get this Trackable's unique id

Similarity Trackable::getPose ( )
inline

get this Trackable's global transformation as Similarity

QMatrix4x4 Trackable::getPoseMat ( )
inline

get this Trackable's global transformation as QMatrix4x4

bool Trackable::isTracked ( )

is this trackable currently tracked?

void Trackable::updatePose ( )

update the current pose by averaging the trackers

Member Data Documentation

int Trackable::id
protected

unique id

int Trackable::numTrackables
staticprotected

counter used to assign unique ids to trackables

Similarity Trackable::pose
protected

the currently estimated pose of this trackable

clock_t Trackable::timeOfLastTrack
protected

time since one of the trackers last got track of this Trackable

QList<Tracker*> Trackable::trackers
protected

trackers that deliver pose estimations for this Trackable

float Trackable::trackingTimeout
protected

timespan after which the Trackable is considered not tracked (in seconds)


The documentation for this class was generated from the following files: