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

#include "oct-opengl.h"

Inheritance diagram for octave::opengl_functions:

Public Member Functions

 opengl_functions (const opengl_functions &)=default
 
 opengl_functions (void)
 
virtual ~opengl_functions (void)=default
 
virtual void glAlphaFunc (GLenum func, 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 func)
 
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]

octave::opengl_functions::opengl_functions ( void  )
inline

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

◆ opengl_functions() [2/2]

octave::opengl_functions::opengl_functions ( const opengl_functions )
default

◆ ~opengl_functions()

virtual octave::opengl_functions::~opengl_functions ( void  )
virtualdefault

Member Function Documentation

◆ glAlphaFunc()

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

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

Referenced by octave::opengl_renderer::init_gl_context().

◆ glBegin()

◆ glBindTexture()

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

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

Referenced by octave::opengl_texture::create().

◆ glBitmap()

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

◆ glBlendFunc()

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

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

Referenced by octave::opengl_renderer::init_gl_context().

◆ glCallList()

virtual void octave::opengl_functions::glCallList ( GLuint  list)
inlinevirtual

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

Referenced by octave::opengl_renderer::draw_marker().

◆ glClear()

virtual void octave::opengl_functions::glClear ( GLbitfield  mask)
inlinevirtual

◆ glClearColor()

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

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

Referenced by octave::opengl_renderer::init_gl_context().

◆ glClipPlane()

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

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

Referenced by octave::opengl_renderer::set_clipbox().

◆ glColor3dv()

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

◆ glColor3f()

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

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

Referenced by octave::opengl_renderer::draw_text_background().

◆ glColor3fv()

virtual void octave::opengl_functions::glColor3fv ( const GLfloat *  v)
inlinevirtual

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

Referenced by octave::opengl_renderer::draw_surface().

◆ glColor4d()

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

◆ glColor4f()

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

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

Referenced by octave::opengl_renderer::draw_zoom_box().

◆ glColor4fv()

virtual void octave::opengl_functions::glColor4fv ( const GLfloat *  v)
inlinevirtual

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

Referenced by octave::opengl_renderer::draw_surface().

◆ glDeleteLists()

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

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

Referenced by octave::opengl_renderer::end_marker().

◆ glDeleteTextures()

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

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

References n.

◆ glDepthFunc()

virtual void octave::opengl_functions::glDepthFunc ( GLenum  func)
inlinevirtual

◆ glDisable()

◆ glDrawPixels()

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

◆ glEdgeFlag()

virtual void octave::opengl_functions::glEdgeFlag ( GLboolean  flag)
inlinevirtual

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

Referenced by octave::opengl_renderer::draw_marker().

◆ glEnable()

◆ glEnd()

◆ glEndList()

virtual void octave::opengl_functions::glEndList ( void  )
inlinevirtual

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

Referenced by octave::opengl_renderer::make_marker_list().

◆ glFinish()

virtual void octave::opengl_functions::glFinish ( void  )
inlinevirtual

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

Referenced by octave::opengl_renderer::finish().

◆ glGenLists()

virtual GLuint octave::opengl_functions::glGenLists ( GLsizei  range)
inlinevirtual

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

Referenced by octave::opengl_renderer::make_marker_list().

◆ glGenTextures()

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

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

References n.

Referenced by octave::opengl_texture::create().

◆ glGetBooleanv()

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

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

Referenced by octave::opengl_renderer::draw_axes_grids().

◆ glGetDoublev()

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

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

Referenced by octave::opengl_selector::apply_pick_matrix().

◆ glGetError()

virtual GLenum octave::opengl_functions::glGetError ( void  )
inlinevirtual

◆ glGetFloatv()

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

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

◆ glGetIntegerv()

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

◆ glGetString()

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

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

References name.

Referenced by octave::opengl_renderer::get_string().

◆ glHint()

virtual void octave::opengl_functions::glHint ( GLenum  target,
GLenum  mode 
)
inlinevirtual

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

Referenced by octave::opengl_renderer::init_gl_context().

◆ glInitNames()

virtual void octave::opengl_functions::glInitNames ( void  )
inlinevirtual

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

Referenced by octave::opengl_selector::select().

◆ glIsEnabled()

virtual GLboolean octave::opengl_functions::glIsEnabled ( GLenum  cap)
inlinevirtual

◆ glLightfv()

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

◆ glLineStipple()

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

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

Referenced by octave::opengl_renderer::set_linestyle().

◆ glLineWidth()

virtual void octave::opengl_functions::glLineWidth ( GLfloat  width)
inlinevirtual

◆ glLoadIdentity()

◆ glMaterialf()

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

◆ glMaterialfv()

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

◆ glMatrixMode()

◆ glMultMatrixd()

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

◆ glNewList()

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

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

Referenced by octave::opengl_renderer::make_marker_list().

◆ glNormal3d()

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

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

Referenced by octave::opengl_renderer::set_normal().

◆ glNormal3dv()

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

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

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

◆ glOrtho()

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

◆ glPixelStorei()

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

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

Referenced by octave::opengl_renderer::get_pixels().

◆ glPixelZoom()

virtual void octave::opengl_functions::glPixelZoom ( GLfloat  xfactor,
GLfloat  yfactor 
)
inlinevirtual

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

◆ glPolygonMode()

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

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

Referenced by octave::opengl_renderer::draw_marker().

◆ glPolygonOffset()

virtual void octave::opengl_functions::glPolygonOffset ( GLfloat  factor,
GLfloat  units 
)
inlinevirtual

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

Referenced by octave::opengl_renderer::set_polygon_offset().

◆ glPopAttrib()

virtual void octave::opengl_functions::glPopAttrib ( void  )
inlinevirtual

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

Referenced by octave::opengl_renderer::draw_zoom_box().

◆ glPopMatrix()

virtual void octave::opengl_functions::glPopMatrix ( void  )
inlinevirtual

◆ glPopName()

virtual void octave::opengl_functions::glPopName ( void  )
inlinevirtual

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

Referenced by octave::opengl_selector::draw().

◆ glPushAttrib()

virtual void octave::opengl_functions::glPushAttrib ( GLbitfield  mask)
inlinevirtual

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

Referenced by octave::opengl_renderer::draw_zoom_box().

◆ glPushMatrix()

virtual void octave::opengl_functions::glPushMatrix ( void  )
inlinevirtual

◆ glPushName()

virtual void octave::opengl_functions::glPushName ( GLuint  name)
inlinevirtual

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

References name.

Referenced by octave::opengl_selector::draw().

◆ glRasterPos3d()

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

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

References x.

Referenced by octave::opengl_renderer::draw_text(), and octave::opengl_renderer::render_text().

◆ glReadPixels()

virtual void octave::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 octave::format(), and x.

Referenced by octave::opengl_renderer::get_pixels().

◆ glRenderMode()

virtual GLint octave::opengl_functions::glRenderMode ( GLenum  mode)
inlinevirtual

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

Referenced by octave::opengl_selector::select().

◆ glRotated()

virtual void octave::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 octave::opengl_renderer::draw_text_background().

◆ glScaled()

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

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

References x.

Referenced by octave::opengl_renderer::setup_opengl_transformation().

◆ glScalef()

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

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

References x.

Referenced by octave::opengl_selector::apply_pick_matrix().

◆ glSelectBuffer()

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

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

Referenced by octave::opengl_selector::select().

◆ glShadeModel()

virtual void octave::opengl_functions::glShadeModel ( GLenum  mode)
inlinevirtual

◆ glTexCoord2d()

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

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

◆ glTexImage2D()

virtual void octave::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 octave::format().

Referenced by octave::opengl_texture::create().

◆ glTexParameteri()

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

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

Referenced by octave::opengl_texture::create().

◆ glTranslated()

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

◆ glTranslatef()

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

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

References x.

Referenced by octave::opengl_selector::apply_pick_matrix().

◆ glVertex2d()

virtual void octave::opengl_functions::glVertex2d ( GLdouble  x,
GLdouble  y 
)
inlinevirtual

◆ glVertex3d()

◆ glVertex3dv()

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

◆ glViewport()

virtual void octave::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 octave::opengl_renderer::set_viewport().

◆ operator=()

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

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