Public Member Functions | Protected Member Functions

glv::View3D Class Reference

View for three-dimensional rendering. More...

#include <glv_view3D.h>

Inheritance diagram for glv::View3D:
glv::View glv::DataModel glv::Notifier glv::SmartObject< View >

List of all members.

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.

Detailed Description

View for three-dimensional rendering.


Constructor & Destructor Documentation

glv::View3D::View3D ( const Rect r = Rect(0)  ) 
Parameters:
[in] r geometry

The documentation for this class was generated from the following files: