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

#include "qopengl-functions.h"

Inheritance diagram for octave::qopengl_functions:
Collaboration diagram for octave::qopengl_functions:

Public Member Functions

 qopengl_functions (const qopengl_functions &)=default
 
 qopengl_functions (void)
 
 ~qopengl_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)
 
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]

octave::qopengl_functions::qopengl_functions ( void  )
inline

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

◆ qopengl_functions() [2/2]

octave::qopengl_functions::qopengl_functions ( const qopengl_functions )
default

◆ ~qopengl_functions()

octave::qopengl_functions::~qopengl_functions ( void  )
default

Member Function Documentation

◆ glAlphaFunc()

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

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

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

◆ glBlendFunc()

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

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

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

◆ glClearColor()

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

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

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

◆ glColor3f()

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

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

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

◆ glColor4f()

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

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

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

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

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

References n.

◆ glDepthFunc()

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

◆ glDisable()

◆ glDrawPixels()

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

◆ glEdgeFlag()

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

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

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

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

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

◆ glGenLists()

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

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

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

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

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

◆ glGetFloatv()

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

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

◆ glGetIntegerv()

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

◆ glGetString()

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

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

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

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

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

◆ glIsEnabled()

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

◆ glLightfv()

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

◆ glLineStipple()

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

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

◆ glLoadIdentity()

◆ glMaterialf()

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

◆ glMaterialfv()

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

◆ glMatrixMode()

◆ glMultMatrixd()

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

◆ glNewList()

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

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

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

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

◆ glPixelStorei()

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

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

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

◆ glPolygonMode()

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

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

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

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

◆ glPopName()

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

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

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

◆ glPushAttrib()

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

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

◆ glPushName()

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

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

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

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

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

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

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

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

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

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

◆ glShadeModel()

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

◆ glTexCoord2d()

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

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

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

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

◆ glTranslatef()

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

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

◆ glVertex3d()

◆ glVertex3dv()

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

◆ glViewport()

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

◆ init()

void octave::qopengl_functions::init ( void  )
inline

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

Referenced by QtHandles::GLCanvas::initializeGL().

◆ operator=()

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

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