#include <esve/engine/dim3/Camera_Details.hxx>
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_Projection & | orthogonal_projection_data () const =0 |
| Query stored orthogonal projection data. | |
| virtual const Perspective_Projection & | perspective_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. | |
|
|
The type of frustum.
|
|
|
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. |
|
|
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. |
|
|
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. |
1.3.4