Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkOpenGLStateCache Class Reference

#include <vtkOpenGLStateCache.h>

Collaboration diagram for vtkOpenGLStateCache:

Collaboration graph
[legend]
List of all members.

Public Methods

 vtkOpenGLStateCache ()
 ~vtkOpenGLStateCache ()
void Initialize ()
void glEnable (GLenum e)
void glDisable (GLenum e)
void glAlphaFunc (GLenum e, GLclampf cf)
void glBlendFunc (GLenum e, GLenum e1)
void glDepthFunc (GLenum e)
void glTexEnvf (GLenum e, GLenum e1, GLfloat f)
void glLightModeli (GLenum e, GLint i)
void glLightModelfv (GLenum e, GLfloat *fv)
void glLightfv (GLenum light, GLenum pname, const GLfloat *params)
void glLightf (GLenum light, GLenum pname, GLfloat f)
void glLighti (GLenum light, GLenum pname, GLint f)
void glMaterialfv (GLenum face, GLenum pname, const GLfloat *params)
void glShadeModel (GLenum e)
void glClearColor (GLclampf r, GLclampf g, GLclampf b, GLclampf a)
void glClearDepth (GLclampd d)
void glDepthMask (GLenum e)
void glCullFace (GLenum e)
void glClear (GLbitfield b)
void glDrawBuffer (GLenum e)
void glMatrixMode (GLenum e)
void glViewport (GLint llx, GLint lly, GLint u, GLint v)
void glScissor (GLint llx, GLint lly, GLint u, GLint v)
void glClipPlane (GLenum e, const GLdouble *eqn)
void glColorMaterial (GLenum face, GLenum mode)
void glPointSize (GLfloat f)
void glLineWidth (GLfloat f)
void glLineStipple (GLint factor, GLushort pattern)
void glDepthRange (GLclampd nearval, GLclampd farval)

Public Attributes

char Enable_buckets [0xDE1-0xB10+1]
char Enable_GL_LIGHT_buckets [8]
char Enable_GL_CLIP_PLANE_buckets [8]
GLclampf AlphaFunc_bucket
GLenum BlendFunc_bucket
GLenum DepthFunc_bucket
GLfloat TexEnvf_MODE_bucket
GLint LightModeli_LIGHT_MODEL_TWO_SIDE_bucket
GLfloat LightModelfv_LIGHT_MODEL_AMBIENT_bucket [3]
GLfloat Lightfv_buckets [8 *4 *8]
GLfloat Lightf_buckets [8 *8]
GLint Lighti_SPOT_CUTOFF_buckets [8]
GLfloat Materialfv_buckets [8 *8 *4]
GLenum ShadeModel_bucket
GLclampf ClearColor_buckets [4]
GLclampd ClearDepth_bucket
GLclampf DepthMask_bucket
GLenum CullFace_bucket
GLenum DrawBuffer_bucket
GLenum MatrixMode_bucket
GLint Viewport_bucket [4]
GLint Scissor_bucket [4]
GLdouble ClipPlane_bucket [4 *GL_MAX_CLIP_PLANES]
GLenum ColorMaterial_bucket [8]
GLfloat PointSize_bucket
GLfloat LineWidth_bucket
GLint LineStipple_FACTOR_bucket
GLushort LineStipple_PATTERN_bucket
GLclampd DepthRange_NEAR_bucket
GLclampd DepthRange_FAR_bucket

Static Public Attributes

vtkOpenGLStateCache * CurrentGLCache

Constructor & Destructor Documentation

vtkOpenGLStateCache::vtkOpenGLStateCache  
 

vtkOpenGLStateCache::~vtkOpenGLStateCache  
 


Member Function Documentation

void vtkOpenGLStateCache::Initialize  
 

void vtkOpenGLStateCache::glEnable GLenum    e [inline]
 

Definition at line 156 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glDisable GLenum    e [inline]
 

Definition at line 191 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glAlphaFunc GLenum    e,
GLclampf    cf
[inline]
 

Definition at line 229 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glBlendFunc GLenum    e,
GLenum    e1
[inline]
 

Definition at line 240 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glDepthFunc GLenum    e [inline]
 

Definition at line 253 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glTexEnvf GLenum    e,
GLenum    e1,
GLfloat    f
[inline]
 

Definition at line 264 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glLightModeli GLenum    e,
GLint    i
[inline]
 

Definition at line 279 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glLightModelfv GLenum    e,
GLfloat *    fv
[inline]
 

Definition at line 290 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glLightfv GLenum    light,
GLenum    pname,
const GLfloat *    params
[inline]
 

Definition at line 310 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glLightf GLenum    light,
GLenum    pname,
GLfloat    f
[inline]
 

Definition at line 335 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glLighti GLenum    light,
GLenum    pname,
GLint    f
[inline]
 

Definition at line 350 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glMaterialfv GLenum    face,
GLenum    pname,
const GLfloat *    params
[inline]
 

Definition at line 372 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glShadeModel GLenum    e [inline]
 

Definition at line 413 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glClearColor GLclampf    r,
GLclampf    g,
GLclampf    b,
GLclampf    a
[inline]
 

Definition at line 423 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glClearDepth GLclampd    d [inline]
 

Definition at line 440 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glDepthMask GLenum    e [inline]
 

Definition at line 450 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glCullFace GLenum    e [inline]
 

Definition at line 462 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glClear GLbitfield    b [inline]
 

Definition at line 472 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glDrawBuffer GLenum    e [inline]
 

Definition at line 478 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glMatrixMode GLenum    e [inline]
 

Definition at line 488 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glViewport GLint    llx,
GLint    lly,
GLint    u,
GLint    v
[inline]
 

Definition at line 496 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glScissor GLint    llx,
GLint    lly,
GLint    u,
GLint    v
[inline]
 

Definition at line 511 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glClipPlane GLenum    e,
const GLdouble *    eqn
[inline]
 

Definition at line 528 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glColorMaterial GLenum    face,
GLenum    mode
[inline]
 

Definition at line 547 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glPointSize GLfloat    f [inline]
 

Definition at line 555 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glLineWidth GLfloat    f [inline]
 

Definition at line 562 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glLineStipple GLint    factor,
GLushort    pattern
[inline]
 

Definition at line 570 of file vtkOpenGLStateCache.h.

void vtkOpenGLStateCache::glDepthRange GLclampd    nearval,
GLclampd    farval
[inline]
 

Definition at line 583 of file vtkOpenGLStateCache.h.


Member Data Documentation

vtkOpenGLStateCache* vtkOpenGLStateCache::CurrentGLCache [static]
 

Definition at line 126 of file vtkOpenGLStateCache.h.

char vtkOpenGLStateCache::Enable_buckets[0xDE1-0xB10+1]
 

Definition at line 148 of file vtkOpenGLStateCache.h.

char vtkOpenGLStateCache::Enable_GL_LIGHT_buckets[8]
 

Definition at line 149 of file vtkOpenGLStateCache.h.

char vtkOpenGLStateCache::Enable_GL_CLIP_PLANE_buckets[8]
 

Definition at line 150 of file vtkOpenGLStateCache.h.

GLclampf vtkOpenGLStateCache::AlphaFunc_bucket
 

Definition at line 228 of file vtkOpenGLStateCache.h.

GLenum vtkOpenGLStateCache::BlendFunc_bucket
 

Definition at line 239 of file vtkOpenGLStateCache.h.

GLenum vtkOpenGLStateCache::DepthFunc_bucket
 

Definition at line 252 of file vtkOpenGLStateCache.h.

GLfloat vtkOpenGLStateCache::TexEnvf_MODE_bucket
 

Definition at line 263 of file vtkOpenGLStateCache.h.

GLint vtkOpenGLStateCache::LightModeli_LIGHT_MODEL_TWO_SIDE_bucket
 

Definition at line 278 of file vtkOpenGLStateCache.h.

GLfloat vtkOpenGLStateCache::LightModelfv_LIGHT_MODEL_AMBIENT_bucket[3]
 

Definition at line 289 of file vtkOpenGLStateCache.h.

GLfloat vtkOpenGLStateCache::Lightfv_buckets[8*4*8]
 

Definition at line 309 of file vtkOpenGLStateCache.h.

GLfloat vtkOpenGLStateCache::Lightf_buckets[8*8]
 

Definition at line 333 of file vtkOpenGLStateCache.h.

GLint vtkOpenGLStateCache::Lighti_SPOT_CUTOFF_buckets[8]
 

Definition at line 334 of file vtkOpenGLStateCache.h.

GLfloat vtkOpenGLStateCache::Materialfv_buckets[8*8*4]
 

Definition at line 371 of file vtkOpenGLStateCache.h.

GLenum vtkOpenGLStateCache::ShadeModel_bucket
 

Definition at line 412 of file vtkOpenGLStateCache.h.

GLclampf vtkOpenGLStateCache::ClearColor_buckets[4]
 

Definition at line 422 of file vtkOpenGLStateCache.h.

GLclampd vtkOpenGLStateCache::ClearDepth_bucket
 

Definition at line 439 of file vtkOpenGLStateCache.h.

GLclampf vtkOpenGLStateCache::DepthMask_bucket
 

Definition at line 449 of file vtkOpenGLStateCache.h.

GLenum vtkOpenGLStateCache::CullFace_bucket
 

Definition at line 461 of file vtkOpenGLStateCache.h.

GLenum vtkOpenGLStateCache::DrawBuffer_bucket
 

Definition at line 477 of file vtkOpenGLStateCache.h.

GLenum vtkOpenGLStateCache::MatrixMode_bucket
 

Definition at line 487 of file vtkOpenGLStateCache.h.

GLint vtkOpenGLStateCache::Viewport_bucket[4]
 

Definition at line 495 of file vtkOpenGLStateCache.h.

GLint vtkOpenGLStateCache::Scissor_bucket[4]
 

Definition at line 510 of file vtkOpenGLStateCache.h.

GLdouble vtkOpenGLStateCache::ClipPlane_bucket[4*GL_MAX_CLIP_PLANES]
 

Definition at line 527 of file vtkOpenGLStateCache.h.

GLenum vtkOpenGLStateCache::ColorMaterial_bucket[8]
 

Definition at line 546 of file vtkOpenGLStateCache.h.

GLfloat vtkOpenGLStateCache::PointSize_bucket
 

Definition at line 554 of file vtkOpenGLStateCache.h.

GLfloat vtkOpenGLStateCache::LineWidth_bucket
 

Definition at line 561 of file vtkOpenGLStateCache.h.

GLint vtkOpenGLStateCache::LineStipple_FACTOR_bucket
 

Definition at line 568 of file vtkOpenGLStateCache.h.

GLushort vtkOpenGLStateCache::LineStipple_PATTERN_bucket
 

Definition at line 569 of file vtkOpenGLStateCache.h.

GLclampd vtkOpenGLStateCache::DepthRange_NEAR_bucket
 

Definition at line 581 of file vtkOpenGLStateCache.h.

GLclampd vtkOpenGLStateCache::DepthRange_FAR_bucket
 

Definition at line 582 of file vtkOpenGLStateCache.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:37:49 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001