GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
qopengl_functions Class Reference

#include "qopengl-functions.h"

Inheritance diagram for qopengl_functions:
Collaboration diagram for qopengl_functions:

Public Member Functions

 qopengl_functions (const qopengl_functions &)=default
 
 qopengl_functions (void)
 
 ~qopengl_functions (void)=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 (void)
 
virtual void glEndList (void)
 
virtual void glFinish (void)
 
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 (void)
 
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 (void)
 
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 (void)
 
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 (void)
 
virtual void glPopMatrix (void)
 
virtual void glPopName (void)
 
virtual void glPushAttrib (GLbitfield mask)
 
virtual void glPushMatrix (void)
 
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)
 
void init (void)
 
qopengl_functionsoperator= (const qopengl_functions &)=default
 

Detailed Description

Definition at line 41 of file qopengl-functions.h.

Constructor & Destructor Documentation

◆ qopengl_functions() [1/2]

qopengl_functions::qopengl_functions ( void  )
inline

Definition at line 45 of file qopengl-functions.h.

◆ qopengl_functions() [2/2]

qopengl_functions::qopengl_functions ( const qopengl_functions )
default

◆ ~qopengl_functions()

qopengl_functions::~qopengl_functions ( void  )
default

Member Function Documentation

◆ glAlphaFunc()

virtual void opengl_functions::glAlphaFunc ( GLenum  fcn,
GLclampf  ref 
)
inlinevirtualinherited

Definition at line 73 of file oct-opengl.h.

Referenced by opengl_renderer::init_gl_context().

◆ glBegin()

◆ glBindTexture()

virtual void opengl_functions::glBindTexture ( GLenum  target,
GLuint  texture 
)
inlinevirtualinherited

Definition at line 83 of file oct-opengl.h.

Referenced by opengl_texture::texture_rep::bind(), and opengl_texture::create().

◆ glBitmap()

virtual void opengl_functions::glBitmap ( GLsizei  width,
GLsizei  height,
GLfloat  xorig,
GLfloat  yorig,
GLfloat  xmove,
GLfloat  ymove,
const GLubyte *  bitmap 
)
inlinevirtualinherited

Definition at line 88 of file oct-opengl.h.

◆ glBlendFunc()

virtual void opengl_functions::glBlendFunc ( GLenum  sfactor,
GLenum  dfactor 
)
inlinevirtualinherited

Definition at line 95 of file oct-opengl.h.

Referenced by opengl_renderer::init_gl_context().

◆ glCallList()

virtual void opengl_functions::glCallList ( GLuint  list)
inlinevirtualinherited

Definition at line 100 of file oct-opengl.h.

Referenced by opengl_renderer::draw_marker().

◆ glClear()

virtual void opengl_functions::glClear ( GLbitfield  mask)
inlinevirtualinherited

◆ glClearColor()

virtual void opengl_functions::glClearColor ( GLclampf  red,
GLclampf  green,
GLclampf  blue,
GLclampf  alpha 
)
inlinevirtualinherited

Definition at line 105 of file oct-opengl.h.

Referenced by opengl_renderer::init_gl_context().

◆ glClipPlane()

virtual void opengl_functions::glClipPlane ( GLenum  plane,
const GLdouble *  equation 
)
inlinevirtualinherited

Definition at line 116 of file oct-opengl.h.

Referenced by opengl_renderer::set_clipbox().

◆ glColor3dv()

virtual void opengl_functions::glColor3dv ( const GLdouble *  v)
inlinevirtualinherited

◆ glColor3f()

virtual void opengl_functions::glColor3f ( GLfloat  red,
GLfloat  green,
GLfloat  blue 
)
inlinevirtualinherited

Definition at line 126 of file oct-opengl.h.

Referenced by opengl_renderer::draw_text_background().

◆ glColor3fv()

virtual void opengl_functions::glColor3fv ( const GLfloat *  v)
inlinevirtualinherited

Definition at line 131 of file oct-opengl.h.

Referenced by opengl_renderer::draw_surface().

◆ glColor4d()

virtual void opengl_functions::glColor4d ( GLdouble  red,
GLdouble  green,
GLdouble  blue,
GLdouble  alpha 
)
inlinevirtualinherited

◆ glColor4f()

virtual void opengl_functions::glColor4f ( GLfloat  red,
GLfloat  green,
GLfloat  blue,
GLfloat  alpha 
)
inlinevirtualinherited

Definition at line 142 of file oct-opengl.h.

Referenced by opengl_renderer::draw_zoom_box().

◆ glColor4fv()

virtual void opengl_functions::glColor4fv ( const GLfloat *  v)
inlinevirtualinherited

Definition at line 148 of file oct-opengl.h.

Referenced by opengl_renderer::draw_surface().

◆ glDeleteLists()

virtual void opengl_functions::glDeleteLists ( GLuint  list,
GLsizei  range 
)
inlinevirtualinherited

Definition at line 153 of file oct-opengl.h.

References range.

Referenced by opengl_renderer::end_marker().

◆ glDeleteTextures()

virtual void opengl_functions::glDeleteTextures ( GLsizei  n,
const GLuint *  textures 
)
inlinevirtualinherited

Definition at line 158 of file oct-opengl.h.

References n.

Referenced by opengl_texture::texture_rep::~texture_rep().

◆ glDepthFunc()

virtual void opengl_functions::glDepthFunc ( GLenum  fcn)
inlinevirtualinherited

Definition at line 163 of file oct-opengl.h.

Referenced by opengl_renderer::init_gl_context(), and opengl_selector::select().

◆ glDisable()

◆ glDrawPixels()

virtual void opengl_functions::glDrawPixels ( GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
const GLvoid *  pixels 
)
inlinevirtualinherited

Definition at line 173 of file oct-opengl.h.

References format().

◆ glEdgeFlag()

virtual void opengl_functions::glEdgeFlag ( GLboolean  flag)
inlinevirtualinherited

Definition at line 179 of file oct-opengl.h.

Referenced by opengl_renderer::draw_marker().

◆ glEnable()

◆ glEnd()

◆ glEndList()

virtual void opengl_functions::glEndList ( void  )
inlinevirtualinherited

Definition at line 189 of file oct-opengl.h.

Referenced by opengl_renderer::make_marker_list().

◆ glFinish()

virtual void opengl_functions::glFinish ( void  )
inlinevirtualinherited

Definition at line 199 of file oct-opengl.h.

Referenced by opengl_renderer::finish().

◆ glGenLists()

virtual GLuint opengl_functions::glGenLists ( GLsizei  range)
inlinevirtualinherited

Definition at line 204 of file oct-opengl.h.

References range.

Referenced by opengl_renderer::make_marker_list().

◆ glGenTextures()

virtual void opengl_functions::glGenTextures ( GLsizei  n,
GLuint *  textures 
)
inlinevirtualinherited

Definition at line 209 of file oct-opengl.h.

References n.

Referenced by opengl_texture::create().

◆ glGetBooleanv()

virtual void opengl_functions::glGetBooleanv ( GLenum  pname,
GLboolean *  data 
)
inlinevirtualinherited

Definition at line 214 of file oct-opengl.h.

Referenced by opengl_renderer::draw_axes_grids().

◆ glGetDoublev()

virtual void opengl_functions::glGetDoublev ( GLenum  pname,
GLdouble *  data 
)
inlinevirtualinherited

Definition at line 219 of file oct-opengl.h.

Referenced by opengl_selector::apply_pick_matrix().

◆ glGetError()

virtual GLenum opengl_functions::glGetError ( void  )
inlinevirtualinherited

◆ glGetFloatv()

virtual void opengl_functions::glGetFloatv ( GLenum  pname,
GLfloat *  data 
)
inlinevirtualinherited

Definition at line 229 of file oct-opengl.h.

◆ glGetIntegerv()

virtual void opengl_functions::glGetIntegerv ( GLenum  pname,
GLint *  data 
)
inlinevirtualinherited

◆ glGetString()

virtual const GLubyte* opengl_functions::glGetString ( GLenum  name)
inlinevirtualinherited

Definition at line 239 of file oct-opengl.h.

Referenced by opengl_renderer::get_string().

◆ glHint()

virtual void opengl_functions::glHint ( GLenum  target,
GLenum  mode 
)
inlinevirtualinherited

Definition at line 244 of file oct-opengl.h.

Referenced by opengl_renderer::init_gl_context().

◆ glInitNames()

virtual void opengl_functions::glInitNames ( void  )
inlinevirtualinherited

Definition at line 249 of file oct-opengl.h.

Referenced by opengl_selector::select().

◆ glIsEnabled()

virtual GLboolean opengl_functions::glIsEnabled ( GLenum  cap)
inlinevirtualinherited

◆ glLightfv()

virtual void opengl_functions::glLightfv ( GLenum  light,
GLenum  pname,
const GLfloat *  params 
)
inlinevirtualinherited

◆ glLineStipple()

virtual void opengl_functions::glLineStipple ( GLint  factor,
GLushort  pattern 
)
inlinevirtualinherited

Definition at line 264 of file oct-opengl.h.

Referenced by opengl_renderer::set_linestyle().

◆ glLineWidth()

virtual void opengl_functions::glLineWidth ( GLfloat  width)
inlinevirtualinherited

Definition at line 269 of file oct-opengl.h.

Referenced by opengl_renderer::draw_zoom_box(), and opengl_renderer::set_linewidth().

◆ glLoadIdentity()

◆ glMaterialf()

virtual void opengl_functions::glMaterialf ( GLenum  face,
GLenum  pname,
GLfloat  param 
)
inlinevirtualinherited

Definition at line 279 of file oct-opengl.h.

Referenced by opengl_renderer::draw_patch(), and opengl_renderer::draw_surface().

◆ glMaterialfv()

virtual void opengl_functions::glMaterialfv ( GLenum  face,
GLenum  pname,
const GLfloat *  params 
)
inlinevirtualinherited

◆ glMatrixMode()

◆ glMultMatrixd()

virtual void opengl_functions::glMultMatrixd ( const GLdouble *  m)
inlinevirtualinherited

Definition at line 294 of file oct-opengl.h.

References m.

Referenced by opengl_selector::apply_pick_matrix(), and opengl_renderer::setup_opengl_transformation().

◆ glNewList()

virtual void opengl_functions::glNewList ( GLuint  list,
GLenum  mode 
)
inlinevirtualinherited

Definition at line 299 of file oct-opengl.h.

Referenced by opengl_renderer::make_marker_list().

◆ glNormal3d()

virtual void opengl_functions::glNormal3d ( GLdouble  nx,
GLdouble  ny,
GLdouble  nz 
)
inlinevirtualinherited

Definition at line 304 of file oct-opengl.h.

Referenced by opengl_renderer::set_normal().

◆ glNormal3dv()

virtual void opengl_functions::glNormal3dv ( const GLdouble *  v)
inlinevirtualinherited

Definition at line 309 of file oct-opengl.h.

Referenced by opengl_renderer::patch_tessellator::vertex().

◆ glOrtho()

virtual void opengl_functions::glOrtho ( GLdouble  left,
GLdouble  right,
GLdouble  bottom,
GLdouble  top,
GLdouble  near_val,
GLdouble  far_val 
)
inlinevirtualinherited

◆ glPixelStorei()

virtual void opengl_functions::glPixelStorei ( GLenum  pname,
GLint  param 
)
inlinevirtualinherited

Definition at line 320 of file oct-opengl.h.

Referenced by opengl_renderer::get_pixels().

◆ glPixelZoom()

virtual void opengl_functions::glPixelZoom ( GLfloat  xfactor,
GLfloat  yfactor 
)
inlinevirtualinherited

Definition at line 325 of file oct-opengl.h.

◆ glPolygonMode()

virtual void opengl_functions::glPolygonMode ( GLenum  face,
GLenum  mode 
)
inlinevirtualinherited

Definition at line 330 of file oct-opengl.h.

Referenced by opengl_renderer::draw_marker().

◆ glPolygonOffset()

virtual void opengl_functions::glPolygonOffset ( GLfloat  factor,
GLfloat  units 
)
inlinevirtualinherited

Definition at line 335 of file oct-opengl.h.

Referenced by opengl_renderer::set_polygon_offset().

◆ glPopAttrib()

virtual void opengl_functions::glPopAttrib ( void  )
inlinevirtualinherited

Definition at line 340 of file oct-opengl.h.

Referenced by opengl_renderer::draw_zoom_box().

◆ glPopMatrix()

virtual void opengl_functions::glPopMatrix ( void  )
inlinevirtualinherited

◆ glPopName()

virtual void opengl_functions::glPopName ( void  )
inlinevirtualinherited

Definition at line 350 of file oct-opengl.h.

Referenced by opengl_selector::draw().

◆ glPushAttrib()

virtual void opengl_functions::glPushAttrib ( GLbitfield  mask)
inlinevirtualinherited

Definition at line 355 of file oct-opengl.h.

Referenced by opengl_renderer::draw_zoom_box().

◆ glPushMatrix()

virtual void opengl_functions::glPushMatrix ( void  )
inlinevirtualinherited

◆ glPushName()

virtual void opengl_functions::glPushName ( GLuint  name)
inlinevirtualinherited

Definition at line 365 of file oct-opengl.h.

Referenced by opengl_selector::draw().

◆ glRasterPos3d()

virtual void opengl_functions::glRasterPos3d ( GLdouble  x,
GLdouble  y,
GLdouble  z 
)
inlinevirtualinherited

Definition at line 370 of file oct-opengl.h.

References x.

◆ glReadPixels()

virtual void opengl_functions::glReadPixels ( GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
GLvoid *  pixels 
)
inlinevirtualinherited

Definition at line 375 of file oct-opengl.h.

References format(), and x.

Referenced by opengl_renderer::get_pixels().

◆ glRenderMode()

virtual GLint opengl_functions::glRenderMode ( GLenum  mode)
inlinevirtualinherited

Definition at line 381 of file oct-opengl.h.

Referenced by opengl_selector::select().

◆ glRotated()

virtual void opengl_functions::glRotated ( GLdouble  angle,
GLdouble  x,
GLdouble  y,
GLdouble  z 
)
inlinevirtualinherited

Definition at line 386 of file oct-opengl.h.

References x.

Referenced by opengl_renderer::draw_text_background(), and opengl_renderer::render_text().

◆ glScaled()

virtual void opengl_functions::glScaled ( GLdouble  x,
GLdouble  y,
GLdouble  z 
)
inlinevirtualinherited

Definition at line 391 of file oct-opengl.h.

References x.

Referenced by opengl_renderer::setup_opengl_transformation().

◆ glScalef()

virtual void opengl_functions::glScalef ( GLfloat  x,
GLfloat  y,
GLfloat  z 
)
inlinevirtualinherited

Definition at line 396 of file oct-opengl.h.

References x.

Referenced by opengl_selector::apply_pick_matrix().

◆ glSelectBuffer()

virtual void opengl_functions::glSelectBuffer ( GLsizei  size,
GLuint *  buffer 
)
inlinevirtualinherited

Definition at line 401 of file oct-opengl.h.

Referenced by opengl_selector::select().

◆ glShadeModel()

virtual void opengl_functions::glShadeModel ( GLenum  mode)
inlinevirtualinherited

◆ glTexCoord2d()

virtual void opengl_functions::glTexCoord2d ( GLdouble  s,
GLdouble  t 
)
inlinevirtualinherited

Definition at line 411 of file oct-opengl.h.

Referenced by opengl_texture::texture_rep::tex_coord().

◆ glTexImage2D()

virtual void opengl_functions::glTexImage2D ( GLenum  target,
GLint  level,
GLint  internalFormat,
GLsizei  width,
GLsizei  height,
GLint  border,
GLenum  format,
GLenum  type,
const GLvoid *  pixels 
)
inlinevirtualinherited

Definition at line 416 of file oct-opengl.h.

References format().

Referenced by opengl_texture::create().

◆ glTexParameteri()

virtual void opengl_functions::glTexParameteri ( GLenum  target,
GLenum  pname,
GLint  param 
)
inlinevirtualinherited

Definition at line 424 of file oct-opengl.h.

Referenced by opengl_texture::create().

◆ glTranslated()

virtual void opengl_functions::glTranslated ( GLdouble  x,
GLdouble  y,
GLdouble  z 
)
inlinevirtualinherited

◆ glTranslatef()

virtual void opengl_functions::glTranslatef ( GLfloat  x,
GLfloat  y,
GLfloat  z 
)
inlinevirtualinherited

Definition at line 434 of file oct-opengl.h.

References x.

Referenced by opengl_selector::apply_pick_matrix().

◆ glVertex2d()

virtual void opengl_functions::glVertex2d ( GLdouble  x,
GLdouble  y 
)
inlinevirtualinherited

◆ glVertex3d()

◆ glVertex3dv()

virtual void opengl_functions::glVertex3dv ( const GLdouble *  v)
inlinevirtualinherited

◆ glViewport()

virtual void opengl_functions::glViewport ( GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height 
)
inlinevirtualinherited

Definition at line 454 of file oct-opengl.h.

References x.

Referenced by opengl_renderer::set_viewport().

◆ init()

void qopengl_functions::init ( void  )
inline

Definition at line 57 of file qopengl-functions.h.

◆ operator=()

qopengl_functions& qopengl_functions::operator= ( const qopengl_functions )
default

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