#include "oct-opengl.h"
Public Member Functions | |
opengl_functions () | |
opengl_functions (const opengl_functions &)=default | |
virtual | ~opengl_functions ()=default |
virtual void | glAlphaFunc (GLenum fcn, GLclampf ref) |
virtual void | glBegin (GLenum mode) |
virtual void | glBindTexture (GLenum target, GLuint texture) |
virtual void | glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) |
virtual void | glBlendFunc (GLenum sfactor, GLenum dfactor) |
virtual void | glCallList (GLuint list) |
virtual void | glClear (GLbitfield mask) |
virtual void | glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
virtual void | glClipPlane (GLenum plane, const GLdouble *equation) |
virtual void | glColor3dv (const GLdouble *v) |
virtual void | glColor3f (GLfloat red, GLfloat green, GLfloat blue) |
virtual void | glColor3fv (const GLfloat *v) |
virtual void | glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) |
virtual void | glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
virtual void | glColor4fv (const GLfloat *v) |
virtual void | glDeleteLists (GLuint list, GLsizei range) |
virtual void | glDeleteTextures (GLsizei n, const GLuint *textures) |
virtual void | glDepthFunc (GLenum fcn) |
virtual void | glDisable (GLenum cap) |
virtual void | glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
virtual void | glEdgeFlag (GLboolean flag) |
virtual void | glEnable (GLenum cap) |
virtual void | glEnd () |
virtual void | glEndList () |
virtual void | glFinish () |
virtual GLuint | glGenLists (GLsizei range) |
virtual void | glGenTextures (GLsizei n, GLuint *textures) |
virtual void | glGetBooleanv (GLenum pname, GLboolean *data) |
virtual void | glGetDoublev (GLenum pname, GLdouble *data) |
virtual GLenum | glGetError () |
virtual void | glGetFloatv (GLenum pname, GLfloat *data) |
virtual void | glGetIntegerv (GLenum pname, GLint *data) |
virtual const GLubyte * | glGetString (GLenum name) |
virtual void | glHint (GLenum target, GLenum mode) |
virtual void | glInitNames () |
virtual GLboolean | glIsEnabled (GLenum cap) |
virtual void | glLightfv (GLenum light, GLenum pname, const GLfloat *params) |
virtual void | glLineStipple (GLint factor, GLushort pattern) |
virtual void | glLineWidth (GLfloat width) |
virtual void | glLoadIdentity () |
virtual void | glMaterialf (GLenum face, GLenum pname, GLfloat param) |
virtual void | glMaterialfv (GLenum face, GLenum pname, const GLfloat *params) |
virtual void | glMatrixMode (GLenum mode) |
virtual void | glMultMatrixd (const GLdouble *m) |
virtual void | glNewList (GLuint list, GLenum mode) |
virtual void | glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz) |
virtual void | glNormal3dv (const GLdouble *v) |
virtual void | glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near_val, GLdouble far_val) |
virtual void | glPixelStorei (GLenum pname, GLint param) |
virtual void | glPixelZoom (GLfloat xfactor, GLfloat yfactor) |
virtual void | glPolygonMode (GLenum face, GLenum mode) |
virtual void | glPolygonOffset (GLfloat factor, GLfloat units) |
virtual void | glPopAttrib () |
virtual void | glPopMatrix () |
virtual void | glPopName () |
virtual void | glPushAttrib (GLbitfield mask) |
virtual void | glPushMatrix () |
virtual void | glPushName (GLuint name) |
virtual void | glRasterPos3d (GLdouble x, GLdouble y, GLdouble z) |
virtual void | glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) |
virtual GLint | glRenderMode (GLenum mode) |
virtual void | glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z) |
virtual void | glScaled (GLdouble x, GLdouble y, GLdouble z) |
virtual void | glScalef (GLfloat x, GLfloat y, GLfloat z) |
virtual void | glSelectBuffer (GLsizei size, GLuint *buffer) |
virtual void | glShadeModel (GLenum mode) |
virtual void | glTexCoord2d (GLdouble s, GLdouble t) |
virtual void | glTexImage2D (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
virtual void | glTexParameteri (GLenum target, GLenum pname, GLint param) |
virtual void | glTranslated (GLdouble x, GLdouble y, GLdouble z) |
virtual void | glTranslatef (GLfloat x, GLfloat y, GLfloat z) |
virtual void | glVertex2d (GLdouble x, GLdouble y) |
virtual void | glVertex3d (GLdouble x, GLdouble y, GLdouble z) |
virtual void | glVertex3dv (const GLdouble *v) |
virtual void | glViewport (GLint x, GLint y, GLsizei width, GLsizei height) |
opengl_functions & | operator= (const opengl_functions &)=default |
Definition at line 55 of file oct-opengl.h.
|
inline |
Definition at line 59 of file oct-opengl.h.
|
default |
|
virtualdefault |
|
inlinevirtual |
Definition at line 73 of file oct-opengl.h.
Referenced by opengl_renderer::init_gl_context().
|
inlinevirtual |
Definition at line 78 of file oct-opengl.h.
Referenced by opengl_renderer::draw_line(), opengl_renderer::draw_patch(), opengl_renderer::draw_surface(), opengl_renderer::draw_text_background(), opengl_renderer::draw_zoom_box(), opengl_renderer::render_grid(), and opengl_renderer::render_tickmarks().
|
inlinevirtual |
Definition at line 83 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 88 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 95 of file oct-opengl.h.
Referenced by opengl_renderer::init_gl_context().
|
inlinevirtual |
Definition at line 100 of file oct-opengl.h.
Referenced by opengl_renderer::draw_marker().
|
inlinevirtual |
Definition at line 111 of file oct-opengl.h.
Referenced by opengl_renderer::init_gl_context().
|
inlinevirtual |
Definition at line 105 of file oct-opengl.h.
Referenced by opengl_renderer::init_gl_context().
|
inlinevirtual |
Definition at line 116 of file oct-opengl.h.
Referenced by opengl_renderer::set_clipbox().
|
inlinevirtual |
Definition at line 121 of file oct-opengl.h.
Referenced by opengl_renderer::draw_patch(), opengl_renderer::draw_surface(), opengl_renderer::render_grid(), and opengl_renderer::set_color().
|
inlinevirtual |
Definition at line 126 of file oct-opengl.h.
Referenced by opengl_renderer::draw_text_background().
|
inlinevirtual |
Definition at line 131 of file oct-opengl.h.
Referenced by opengl_renderer::draw_surface().
|
inlinevirtual |
Definition at line 136 of file oct-opengl.h.
Referenced by opengl_renderer::draw_marker(), opengl_renderer::draw_patch(), opengl_renderer::draw_surface(), and opengl_renderer::render_grid().
|
inlinevirtual |
Definition at line 142 of file oct-opengl.h.
Referenced by opengl_renderer::draw_zoom_box().
|
inlinevirtual |
Definition at line 148 of file oct-opengl.h.
Referenced by opengl_renderer::draw_surface().
|
inlinevirtual |
Definition at line 153 of file oct-opengl.h.
Referenced by opengl_renderer::end_marker().
|
inlinevirtual |
Definition at line 158 of file oct-opengl.h.
References n.
|
inlinevirtual |
Definition at line 163 of file oct-opengl.h.
Referenced by opengl_renderer::init_gl_context().
|
inlinevirtual |
Definition at line 168 of file oct-opengl.h.
Referenced by opengl_renderer::draw_axes(), opengl_renderer::draw_patch(), opengl_renderer::draw_surface(), opengl_renderer::draw_zoom_box(), opengl_renderer::init_gl_context(), opengl_renderer::set_clipping(), opengl_renderer::set_linestyle(), and opengl_renderer::set_polygon_offset().
|
inlinevirtual |
Definition at line 173 of file oct-opengl.h.
References format().
|
inlinevirtual |
Definition at line 179 of file oct-opengl.h.
Referenced by opengl_renderer::draw_marker().
|
inlinevirtual |
Definition at line 184 of file oct-opengl.h.
Referenced by opengl_renderer::draw_axes(), opengl_renderer::draw_light(), opengl_renderer::draw_patch(), opengl_renderer::draw_surface(), opengl_renderer::init_gl_context(), opengl_renderer::set_clipping(), opengl_renderer::set_linestyle(), and opengl_renderer::set_polygon_offset().
|
inlinevirtual |
Definition at line 194 of file oct-opengl.h.
Referenced by opengl_renderer::draw_line(), opengl_renderer::draw_patch(), opengl_renderer::draw_surface(), opengl_renderer::draw_text_background(), opengl_renderer::draw_zoom_box(), opengl_renderer::render_grid(), and opengl_renderer::render_tickmarks().
|
inlinevirtual |
Definition at line 189 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 199 of file oct-opengl.h.
Referenced by opengl_renderer::finish().
|
inlinevirtual |
Definition at line 204 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 209 of file oct-opengl.h.
References n.
|
inlinevirtual |
Definition at line 214 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 219 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 224 of file oct-opengl.h.
Referenced by opengl_renderer::draw(), and opengl_renderer::init_gl_context().
|
inlinevirtual |
Definition at line 229 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 234 of file oct-opengl.h.
Referenced by opengl_renderer::get_viewport_scaled(), and opengl_renderer::init_gl_context().
|
inlinevirtual |
Definition at line 239 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 244 of file oct-opengl.h.
Referenced by opengl_renderer::init_gl_context().
|
inlinevirtual |
Definition at line 249 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 254 of file oct-opengl.h.
Referenced by opengl_renderer::draw_text_background(), and opengl_renderer::set_clipping().
|
inlinevirtual |
Definition at line 259 of file oct-opengl.h.
Referenced by opengl_renderer::draw_light().
|
inlinevirtual |
Definition at line 264 of file oct-opengl.h.
Referenced by opengl_renderer::set_linestyle().
|
inlinevirtual |
Definition at line 269 of file oct-opengl.h.
Referenced by opengl_renderer::draw_zoom_box(), and opengl_renderer::set_linewidth().
|
inlinevirtual |
Definition at line 274 of file oct-opengl.h.
Referenced by opengl_renderer::draw_marker(), opengl_renderer::draw_zoom_box(), and opengl_renderer::init_marker().
|
inlinevirtual |
Definition at line 279 of file oct-opengl.h.
Referenced by opengl_renderer::draw_patch(), and opengl_renderer::draw_surface().
|
inlinevirtual |
Definition at line 284 of file oct-opengl.h.
Referenced by opengl_renderer::draw_patch(), and opengl_renderer::draw_surface().
|
inlinevirtual |
Definition at line 289 of file oct-opengl.h.
Referenced by opengl_renderer::draw_zoom_box(), opengl_renderer::end_marker(), and opengl_renderer::init_marker().
|
inlinevirtual |
Definition at line 294 of file oct-opengl.h.
References m.
|
inlinevirtual |
Definition at line 299 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 304 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 309 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 314 of file oct-opengl.h.
Referenced by opengl_renderer::draw_zoom_box(), and opengl_renderer::init_marker().
|
inlinevirtual |
Definition at line 320 of file oct-opengl.h.
Referenced by opengl_renderer::get_pixels().
|
inlinevirtual |
Definition at line 325 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 330 of file oct-opengl.h.
Referenced by opengl_renderer::draw_marker().
|
inlinevirtual |
Definition at line 335 of file oct-opengl.h.
Referenced by opengl_renderer::set_polygon_offset().
|
inlinevirtual |
Definition at line 340 of file oct-opengl.h.
Referenced by opengl_renderer::draw_zoom_box().
|
inlinevirtual |
Definition at line 345 of file oct-opengl.h.
Referenced by opengl_renderer::draw_zoom_box(), and opengl_renderer::end_marker().
|
inlinevirtual |
Definition at line 350 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 355 of file oct-opengl.h.
Referenced by opengl_renderer::draw_zoom_box().
|
inlinevirtual |
Definition at line 360 of file oct-opengl.h.
Referenced by opengl_renderer::draw_zoom_box(), and opengl_renderer::init_marker().
|
inlinevirtual |
Definition at line 365 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 370 of file oct-opengl.h.
References x.
|
inlinevirtual |
Definition at line 375 of file oct-opengl.h.
Referenced by opengl_renderer::get_pixels().
|
inlinevirtual |
Definition at line 381 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 386 of file oct-opengl.h.
References x.
Referenced by opengl_renderer::draw_text_background().
|
inlinevirtual |
Definition at line 391 of file oct-opengl.h.
References x.
|
inlinevirtual |
Definition at line 396 of file oct-opengl.h.
References x.
|
inlinevirtual |
Definition at line 401 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 406 of file oct-opengl.h.
Referenced by opengl_renderer::draw_patch(), and opengl_renderer::draw_surface().
|
inlinevirtual |
Definition at line 411 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 416 of file oct-opengl.h.
References format().
|
inlinevirtual |
Definition at line 424 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 429 of file oct-opengl.h.
References x.
Referenced by opengl_renderer::draw_marker(), and opengl_renderer::draw_text_background().
|
inlinevirtual |
Definition at line 434 of file oct-opengl.h.
References x.
|
inlinevirtual |
Definition at line 439 of file oct-opengl.h.
References x.
Referenced by opengl_renderer::draw_line(), opengl_renderer::draw_text_background(), and opengl_renderer::draw_zoom_rect().
|
inlinevirtual |
Definition at line 444 of file oct-opengl.h.
References x.
Referenced by opengl_renderer::draw_line(), opengl_renderer::draw_patch(), opengl_renderer::draw_surface(), opengl_renderer::render_grid(), and opengl_renderer::render_tickmarks().
|
inlinevirtual |
Definition at line 449 of file oct-opengl.h.
|
inlinevirtual |
Definition at line 454 of file oct-opengl.h.
References x.
Referenced by opengl_renderer::set_viewport().
|
default |