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

#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
 
FiducialTrackerattachedTracker
 

Detailed Description

stores information about a projector

Constructor & Destructor Documentation

Projector::Projector ( int  width,
int  height,
QString  calibrationFile,
QMatrix4x4  trackerOffset,
FiducialTracker attachedTracker 
)

stores information about a projector

Parameters
widthwidth of projector-display/rendered image
heighthight of projector-display/rendered image
calibrationFilepath to a calibration file in ARToolKitPlus-compatible format
trackerOffsettransformation between origins of projector and an attatched tracker
attachedTrackerthe attached tracker
Projector::~Projector ( void  )

Member Function Documentation

int Projector::getHeight ( )
inline
QMatrix4x4 Projector::getProjMat ( )
inline
QMatrix4x4 Projector::getViewMat ( )
inline
computes the projectors view matrix from the position of the attached tracker

and its offset and returns it.

int Projector::getWidth ( )
inline

Member Data Documentation

FiducialTracker* Projector::attachedTracker
protected

the attached tracker

int Projector::height
protected

height of projector-display/rendered image

QMatrix4x4 Projector::projMat
protected

the projector's "projection matrix" aka intrinsic parameters

QMatrix4x4 Projector::trackerOffset
protected

transformation between origins of projector and an attatched tracker

QMatrix4x4 Projector::viewMat
protected

the projector's "view matrix" aka extrinsic parameters

int Projector::width
protected

width of projector-display/rendered image


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