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
Projector.h
Go to the documentation of this file.
1
#pragma once
2
3
4
#include <ARToolKitPlus/TrackerSingleMarker.h>
5
#include <QMatrix4x4>
6
#include <QVector2D>
7
#include <QVector3D>
8
#include <QFile>
9
#include "
FiducialTracker.h
"
10
11
15
class
Projector
16
{
17
18
public
:
27
Projector
(
int
width
,
int
height
, QString calibrationFile, QMatrix4x4
trackerOffset
,
FiducialTracker
*
attachedTracker
);
28
~Projector
();
29
int
getWidth
(){
return
width
;}
30
int
getHeight
(){
return
height
;}
31
34
QMatrix4x4
getViewMat
(){
return
trackerOffset * attachedTracker->
getOrigin
().
matrix
();}
35
QMatrix4x4
getProjMat
(){
return
projMat
;}
36
37
protected
:
38
int
width
;
39
int
height
;
40
QMatrix4x4
viewMat
;
41
QMatrix4x4
projMat
;
42
QMatrix4x4
trackerOffset
;
43
FiducialTracker
*
attachedTracker
;
45
};
46
Generated on Fri Feb 19 2016 11:04:41 for ProjectedTextures by
1.8.4