Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

esve::engine::dim3::Camera_Details Class Reference

Projection and clip parameters. More...

#include <esve/engine/dim3/Camera_Details.hxx>

List of all members.

Public Types

enum  Projection { ORTHOGONAL, PERSPECTIVE, CUSTOM }
 The type of frustum. More...


Public Member Functions

virtual Projection projection () const =0
 Query the current projection.

virtual void orthogonal_projection (const Orthogonal_Projection &)=0
 Set to orthogonal projection.

virtual void perspective_projection (const Perspective_Projection &)=0
 Set to perspective projection.

virtual void custom_projection ()=0
 Set to custom projection.

virtual const Orthogonal_Projectionorthogonal_projection_data () const =0
 Query stored orthogonal projection data.

virtual const Perspective_Projectionperspective_projection_data () const =0
 Query stored perspective projection data.

virtual types::real far_clip () const =0
 Clip planes.

virtual void far_clip (types::real)=0
 Clip planes.

virtual types::real near_clip () const =0
 Clip planes.

virtual void near_clip (types::real)=0
 Clip planes.


Protected Member Functions

virtual void compute_perspective_projection ()=0
 Set the OpenGL projection matrix.

virtual void compute_orthogonal_projection ()=0
 Set the OpenGL projection matrix.

virtual void compute_custom_projection ()=0
 Set the OpenGL projection matrix.


Detailed Description

Projection and clip parameters.


Member Enumeration Documentation

enum esve::engine::dim3::Camera_Details::Projection
 

The type of frustum.

Enumeration values:
ORTHOGONAL 
PERSPECTIVE 
CUSTOM 


Member Function Documentation

virtual void esve::engine::dim3::Camera_Details::compute_perspective_projection  )  [protected, pure virtual]
 

Set the OpenGL projection matrix.

Called by the camera directly after the compute() message is sent to children.

OpenGL is set to projection matrix mode just before calling (with the identity loaded), and modelview matrix mode is restored afterward.

virtual void esve::engine::dim3::Camera_Details::compute_orthogonal_projection  )  [protected, pure virtual]
 

Set the OpenGL projection matrix.

Called by the camera directly after the compute() message is sent to children.

OpenGL is set to projection matrix mode just before calling (with the identity loaded), and modelview matrix mode is restored afterward.

virtual void esve::engine::dim3::Camera_Details::compute_custom_projection  )  [protected, pure virtual]
 

Set the OpenGL projection matrix.

Called by the camera directly after the compute() message is sent to children.

OpenGL is set to projection matrix mode just before calling (with the identity loaded), and modelview matrix mode is restored afterward.


Generated on Tue May 30 11:40:55 2006 for esve by doxygen 1.3.4