Projective frustum.
More...
#include <C:/Trend/Development/Trax3/Code/trax/rigid/modules/Camera.h>
|
|
virtual void | SetFromFofy (Angle fovy=default_fovy, One aspect=default_aspect, Length zn=default_nearPlane, Length zf=default_farPlane)=0 |
|
virtual void | SetFromDimensions (Length width, Length height, Length zn=default_nearPlane, Length zf=default_farPlane)=0 |
|
virtual void | PlaneDistances (const common::Interval< Length > &planes)=0 |
|
virtual Length | NearPlaneDistance () const =0 |
|
virtual Length | FarPlaneDistance () const =0 |
|
virtual void | Width (Length width)=0 |
|
virtual Length | Width () const =0 |
|
virtual void | Height (Length height)=0 |
|
virtual Length | Height () const =0 |
|
virtual void | Fovy (Angle fovy)=0 |
| | The Field Of View angle in radiants.
|
| virtual Angle | Fovy () const =0 |
| virtual void | AspectRatio (One aspect)=0 |
| virtual One | AspectRatio () const =0 |
|
virtual void | ProjectionMatrix (const spat::Transformation< Real > &projection)=0 |
|
virtual const spat::Transformation< Real > & | ProjectionMatrix () const =0 |
|
virtual spat::Transformation< Real > & | ProjectionMatrix ()=0 |
|
| Frustum (const Frustum &)=delete |
|
| Frustum (Frustum &&)=delete |
|
Frustum & | operator= (const Frustum &)=delete |
|
Frustum & | operator= (Frustum &&)=delete |
|
|
static const Angle | default_fovy |
|
static const One | default_aspect |
|
static const Length | default_nearPlane |
|
static const Length | default_farPlane |
◆ AspectRatio() [1/2]
| virtual One trax::Frustum::AspectRatio |
( |
| ) |
const |
|
pure virtual |
- Returns
- The ratio of width to height of the near projection plane.
◆ AspectRatio() [2/2]
| virtual void trax::Frustum::AspectRatio |
( |
One | aspect | ) |
|
|
pure virtual |
- Parameters
-
| aspect | The ratio of width to height of the near projection plane. |
◆ Fovy()
| virtual Angle trax::Frustum::Fovy |
( |
| ) |
const |
|
pure virtual |
- Returns
- The Field Of View angle in radiants
The documentation for this struct was generated from the following file:
- C:/Trend/Development/Trax3/Code/trax/rigid/modules/Camera.h