7 #ifndef __opengl_ViewOpenGL_h__ 8 #define __opengl_ViewOpenGL_h__ 26 virtual void use(ViewI::Projection a_projection);
34 ViewI::Projection a_projection)
const;
36 ViewI::Projection a_projection)
const;
38 virtual void setScissor(
const Box2i* a_pBox);
39 virtual const Box2i* scissor(
void)
const;
42 bool currentContextIsSet(
void);
45 void usePerspective(
void);
46 void prepare(ViewI::Projection a_projection,
48 GLdouble* proj16,GLint* view)
const;
void unproject(Vector< 4, T > &a_r, const Matrix< 4, 4, T > &a_m, const Vector< 4, T > &a_v)
reverse project vector through matrix. reverses w division
Definition: Matrix.h:1197
kernel
Definition: namespace.dox:3
general-implementation methods for ViewI
Definition: ViewCommon.h:20
void project(Vector< 4, T > &a_r, const Matrix< 4, 4, T > &a_m, const Vector< 4, T > &a_v)
project vector through matrix. divides by transformed w
Definition: Matrix.h:1182
OpenGL-specific implementations for ViewI.
Definition: ViewOpenGL.h:20