Main Page   Class Hierarchy   Compound List   Compound Members  

qglviewer::CameraConstraint Class Reference

A translation/rotation Constraint defined with respect to the camera coordinate system. More...

Inherits qglviewer::AxisPlaneConstraint.

List of all members.

Public Methods

 CameraConstraint (const qglviewer::Camera &cam)
virtual ~CameraConstraint ()
virtual void constrainTranslation (qglviewer::Vec &, Frame *const)
virtual void constrainRotation (qglviewer::Quaternion &, Frame *const)

Public Attributes

const Cameracamera


Detailed Description

A translation/rotation Constraint defined with respect to the camera coordinate system.


Constructor & Destructor Documentation

CameraConstraint const qglviewer::Camera   cam [explicit]
 

Translation and Rotation constraints are set to FREE.

virtual ~CameraConstraint   [inline, virtual]
 

Virtual empty destructor.


Member Function Documentation

void constrainRotation qglviewer::Quaternion  ,
Frame   const
[virtual]
 

Constrain the rotation trans with a plane or an axis direction defined with respect to the current camera coordinate system.

Implements qglviewer::AxisPlaneConstraint.

void constrainTranslation qglviewer::Vec  ,
Frame   const
[virtual]
 

Constrain the translation trans with a plane or an axis direction defined with respect to the current camera coordinate system.

Implements qglviewer::AxisPlaneConstraint.


Member Data Documentation

const Camera& camera
 

The camera which frame is used to define the constraints direction, set with the constructor.


Generated on Thu Jan 16 12:53:47 2003 for libQGLViewer by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002