Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iModelDataCamera Struct Reference

A camera in the scene. More...

#include <mdldata.h>

Inheritance diagram for iModelDataCamera:

iBase List of all members.

Public Methods

virtual iObjectQueryObject ()=0
 Query the iObject for this camera.

virtual const csVector3GetPosition () const=0
 return the position of the camera.

virtual void SetPosition (const csVector3 &v)=0
 set the position of the camera.

virtual const csVector3GetUpVector () const=0
 return the 'up' vector of the camera.

virtual void SetUpVector (const csVector3 &v)=0
 set the 'up' vector of the camera.

virtual void ComputeUpVector ()=0
 compute the 'up' vector as the normal to the 'front' and 'right' vectors.

virtual const csVector3GetFrontVector () const=0
 return the 'front' vector of the camera.

virtual void SetFrontVector (const csVector3 &v)=0
 set the 'front' vector of the camera.

virtual void ComputeFrontVector ()=0
 compute the 'front' vector as the normal to the 'up' and 'right' vectors.

virtual const csVector3GetRightVector () const=0
 return the 'right' vector of the camera.

virtual void SetRightVector (const csVector3 &v)=0
 set the 'right' vector of the camera.

virtual void ComputeRightVector ()=0
 compute the 'right' vector as the normal to the 'up' and 'front' vectors.

virtual void Normalize ()=0
 normalize all direction vectors.

virtual bool CheckOrthogonality () const=0
 test if all direction vectors are orthogonal.

virtual iModelDataCamera* Clone () const=0
 Clone this camera.


Detailed Description

A camera in the scene.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000