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

#include "oct-opengl.h"

Inheritance diagram for opengl_functions:

Public Member Functions

 opengl_functions (const opengl_functions &)=default
 
 opengl_functions (void)
 
virtual ~opengl_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)
 
opengl_functionsoperator= (const opengl_functions &)=default
 

Detailed Description

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

Constructor & Destructor Documentation

◆ opengl_functions() [1/2]

opengl_functions::opengl_functions ( void  )
inline

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

◆ opengl_functions() [2/2]

opengl_functions::opengl_functions ( const opengl_functions )
default

◆ ~opengl_functions()

virtual opengl_functions::~opengl_functions ( void  )
virtualdefault

Member Function Documentation

◆ glAlphaFunc()

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

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 
)
inlinevirtual

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 
)
inlinevirtual

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

◆ glBlendFunc()

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

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

Referenced by opengl_renderer::init_gl_context().

◆ glCallList()

virtual void opengl_functions::glCallList ( GLuint  list)
inlinevirtual

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

Referenced by opengl_renderer::draw_marker().

◆ glClear()

virtual void opengl_functions::glClear ( GLbitfield  mask)
inlinevirtual

◆ glClearColor()

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

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 
)
inlinevirtual

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

Referenced by opengl_renderer::set_clipbox().

◆ glColor3dv()

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

◆ glColor3f()

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

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)
inlinevirtual

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 
)
inlinevirtual

◆ glColor4f()

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

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)
inlinevirtual

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 
)
inlinevirtual

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 
)
inlinevirtual

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)
inlinevirtual

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 
)
inlinevirtual

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

References format().

◆ glEdgeFlag()

virtual void opengl_functions::glEdgeFlag ( GLboolean  flag)
inlinevirtual

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

Referenced by opengl_renderer::draw_marker().

◆ glEnable()

◆ glEnd()

◆ glEndList()

virtual void opengl_functions::glEndList ( void  )
inlinevirtual

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

Referenced by opengl_renderer::make_marker_list().

◆ glFinish()

virtual void opengl_functions::glFinish ( void  )
inlinevirtual

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

Referenced by opengl_renderer::finish().

◆ glGenLists()

virtual GLuint opengl_functions::glGenLists ( GLsizei  range)
inlinevirtual

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 
)
inlinevirtual

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 
)
inlinevirtual

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 
)
inlinevirtual

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

Referenced by opengl_selector::apply_pick_matrix().

◆ glGetError()

virtual GLenum opengl_functions::glGetError ( void  )
inlinevirtual

◆ glGetFloatv()

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

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

◆ glGetIntegerv()

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

◆ glGetString()

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

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 
)
inlinevirtual

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

Referenced by opengl_renderer::init_gl_context().

◆ glInitNames()

virtual void opengl_functions::glInitNames ( void  )
inlinevirtual

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

Referenced by opengl_selector::select().

◆ glIsEnabled()

virtual GLboolean opengl_functions::glIsEnabled ( GLenum  cap)
inlinevirtual

◆ glLightfv()

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

◆ glLineStipple()

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

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

Referenced by opengl_renderer::set_linestyle().

◆ glLineWidth()

virtual void opengl_functions::glLineWidth ( GLfloat  width)
inlinevirtual

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 
)
inlinevirtual

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 
)
inlinevirtual

◆ glMatrixMode()

◆ glMultMatrixd()

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

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 
)
inlinevirtual

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 
)
inlinevirtual

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

Referenced by opengl_renderer::set_normal().

◆ glNormal3dv()

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

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 
)
inlinevirtual

◆ glPixelStorei()

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

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 
)
inlinevirtual

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

◆ glPolygonMode()

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

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 
)
inlinevirtual

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

Referenced by opengl_renderer::set_polygon_offset().

◆ glPopAttrib()

virtual void opengl_functions::glPopAttrib ( void  )
inlinevirtual

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

Referenced by opengl_renderer::draw_zoom_box().

◆ glPopMatrix()

virtual void opengl_functions::glPopMatrix ( void  )
inlinevirtual

◆ glPopName()

virtual void opengl_functions::glPopName ( void  )
inlinevirtual

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

Referenced by opengl_selector::draw().

◆ glPushAttrib()

virtual void opengl_functions::glPushAttrib ( GLbitfield  mask)
inlinevirtual

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

Referenced by opengl_renderer::draw_zoom_box().

◆ glPushMatrix()

virtual void opengl_functions::glPushMatrix ( void  )
inlinevirtual

◆ glPushName()

virtual void opengl_functions::glPushName ( GLuint  name)
inlinevirtual

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 
)
inlinevirtual

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 
)
inlinevirtual

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)
inlinevirtual

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 
)
inlinevirtual

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 
)
inlinevirtual

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 
)
inlinevirtual

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 
)
inlinevirtual

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

Referenced by opengl_selector::select().

◆ glShadeModel()

virtual void opengl_functions::glShadeModel ( GLenum  mode)
inlinevirtual

◆ glTexCoord2d()

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

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 
)
inlinevirtual

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 
)
inlinevirtual

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 
)
inlinevirtual

◆ glTranslatef()

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

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 
)
inlinevirtual

◆ glVertex3d()

◆ glVertex3dv()

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

◆ glViewport()

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

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

References x.

Referenced by opengl_renderer::set_viewport().

◆ operator=()

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

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