ProjectedTextures
Prototype software for spacial augmented reality applications.
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Macros
ShaderLamps
src
Trackable.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
#include <ctime>
5
#include <QMatrix4x4>
6
7
#include "
Tracker.h
"
8
12
class
Trackable
:
public
QObject
13
{
14
public
:
15
Trackable
();
16
virtual
~Trackable
(
void
);
17
18
void
addTracker
(
Tracker
* tracker);
20
int
getId
(){
return
id
;}
21
QMatrix4x4
getPoseMat
(){
return
pose
.
matrix
();}
22
Similarity
getPose
(){
return
pose
;}
23
bool
isTracked
();
24
void
updatePose
();
26
protected
:
27
static
int
numTrackables
;
28
int
id
;
29
QList<Tracker*>
trackers
;
30
Similarity
pose
;
32
clock_t
timeOfLastTrack
;
33
float
trackingTimeout
;
34
};
Generated on Fri Feb 19 2016 11:04:41 for ProjectedTextures by
1.8.4