|
ProjectedTextures
Prototype software for spacial augmented reality applications.
|
#include <Projector.h>
Public Member Functions | |
| Projector (int width, int height, QString calibrationFile, QMatrix4x4 trackerOffset, FiducialTracker *attachedTracker) | |
| ~Projector () | |
| int | getWidth () |
| int | getHeight () |
| QMatrix4x4 | getViewMat () |
| QMatrix4x4 | getProjMat () |
Protected Attributes | |
| int | width |
| int | height |
| QMatrix4x4 | viewMat |
| QMatrix4x4 | projMat |
| QMatrix4x4 | trackerOffset |
| FiducialTracker * | attachedTracker |
stores information about a projector
| Projector::Projector | ( | int | width, |
| int | height, | ||
| QString | calibrationFile, | ||
| QMatrix4x4 | trackerOffset, | ||
| FiducialTracker * | attachedTracker | ||
| ) |
stores information about a projector
| width | width of projector-display/rendered image |
| height | hight of projector-display/rendered image |
| calibrationFile | path to a calibration file in ARToolKitPlus-compatible format |
| trackerOffset | transformation between origins of projector and an attatched tracker |
| attachedTracker | the attached tracker |
| Projector::~Projector | ( | void | ) |
|
inline |
|
inline |
|
inline |
computes the projectors view matrix from the position of the attached tracker
and its offset and returns it.
|
inline |
|
protected |
the attached tracker
|
protected |
height of projector-display/rendered image
|
protected |
the projector's "projection matrix" aka intrinsic parameters
|
protected |
transformation between origins of projector and an attatched tracker
|
protected |
the projector's "view matrix" aka extrinsic parameters
|
protected |
width of projector-display/rendered image
1.8.4