CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

iModelDataCamera Struct Reference

A camera in the scene. More...

#include <mdldata.h>

Inheritance diagram for iModelDataCamera:

iBase csModelDataCamera List of all members.

Public Methods

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


Detailed Description

A camera in the scene.

Definition at line 329 of file imesh/mdldata.h.


Member Function Documentation

virtual bool iModelDataCamera::CheckOrthogonality   const [pure virtual]
 

test if all direction vectors are orthogonal.

Implemented in csModelDataCamera.

virtual iModelDataCamera* iModelDataCamera::Clone   const [pure virtual]
 

Clone this camera.

Implemented in csModelDataCamera.

virtual void iModelDataCamera::ComputeFrontVector   [pure virtual]
 

compute the 'front' vector as the normal to the 'up' and 'right' vectors.

Implemented in csModelDataCamera.

virtual void iModelDataCamera::ComputeRightVector   [pure virtual]
 

compute the 'right' vector as the normal to the 'up' and 'front' vectors.

Implemented in csModelDataCamera.

virtual void iModelDataCamera::ComputeUpVector   [pure virtual]
 

compute the 'up' vector as the normal to the 'front' and 'right' vectors.

Implemented in csModelDataCamera.

virtual const csVector3& iModelDataCamera::GetFrontVector   const [pure virtual]
 

return the 'front' vector of the camera.

virtual const csVector3& iModelDataCamera::GetPosition   const [pure virtual]
 

return the position of the camera.

virtual const csVector3& iModelDataCamera::GetRightVector   const [pure virtual]
 

return the 'right' vector of the camera.

virtual const csVector3& iModelDataCamera::GetUpVector   const [pure virtual]
 

return the 'up' vector of the camera.

virtual void iModelDataCamera::Normalize   [pure virtual]
 

normalize all direction vectors.

Implemented in csModelDataCamera.

virtual iObject* iModelDataCamera::QueryObject   [pure virtual]
 

Query the iObject for this camera.

virtual void iModelDataCamera::SetFrontVector const csVector3   v [pure virtual]
 

set the 'front' vector of the camera.

virtual void iModelDataCamera::SetPosition const csVector3   v [pure virtual]
 

set the position of the camera.

virtual void iModelDataCamera::SetRightVector const csVector3   v [pure virtual]
 

set the 'right' vector of the camera.

virtual void iModelDataCamera::SetUpVector const csVector3   v [pure virtual]
 

set the 'up' vector of the camera.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14