View for three-dimensional rendering. More...
#include <glv_view3D.h>
Public Member Functions | |
| View3D (const Rect &r=Rect(0)) | |
| virtual void | onDraw2D (GLV &g) |
| 2D drawing callback called after 3D | |
| virtual void | onDraw3D (GLV &g) |
| 3D drawing callback | |
| double | far () const |
| Get far clip distance. | |
| double | near () const |
| Get near clip distance. | |
| double | fovy () const |
| Get field of view angle, in degrees, in the y direction. | |
| void | far (double v) |
| Set far clip distance. | |
| void | near (double v) |
| Set near clip distance. | |
| void | fovy (double v) |
| Set field of view angle, in degrees, in the y direction. | |
| template<class T > | |
| void | matrix (T *mat4x4) |
| Set 4x4 model transform matrix (column-major). | |
| double * | matrix () |
| Get 4x4 model transform matrix. | |
Protected Member Functions | |
| virtual void | onDraw (GLV &g) |
| Drawing callback. | |
View for three-dimensional rendering.
1.7.1