VTK
Public Member Functions | Public Attributes
vtkOpenGLContextDevice2D::Private Class Reference

#include <vtkOpenGLContextDevice2DPrivate.h>

Collaboration diagram for vtkOpenGLContextDevice2D::Private:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Private ()
 ~Private ()
void SaveGLState (bool colorBuffer=false)
void RestoreGLState (bool colorBuffer=false)
void SetGLCapability (GLenum capability, GLboolean state)
floatTexCoords (float *f, int n)
vtkVector2i FindPowerOfTwo (const vtkVector2i &size)
GLuint TextureFromImage (vtkImageData *image, vtkVector2f &texCoords)
GLuint TextureFromImage (vtkImageData *image)

Public Attributes

vtkTextureTexture
unsigned int TextureProperties
vtkTextureSpriteTexture
GLboolean SavedLighting
GLboolean SavedDepthTest
GLboolean SavedAlphaTest
GLboolean SavedStencilTest
GLboolean SavedBlend
GLint SavedDrawBuffer
GLfloat SavedClearColor [4]
int TextCounter
vtkVector2i Dim
vtkVector2i Offset
bool GLExtensionsLoaded
bool OpenGL15
bool OpenGL20
bool GLSL
bool PowerOfTwoTextures
vtkTextureImageCache
< TextPropertyKey
TextTextureCache
vtkTextureImageCache
< TextPropertyKey
MathTextTextureCache

Detailed Description

Definition at line 222 of file vtkOpenGLContextDevice2DPrivate.h.


Constructor & Destructor Documentation

Definition at line 225 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 248 of file vtkOpenGLContextDevice2DPrivate.h.


Member Function Documentation

void vtkOpenGLContextDevice2D::Private::SaveGLState ( bool  colorBuffer = false) [inline]

Definition at line 262 of file vtkOpenGLContextDevice2DPrivate.h.

void vtkOpenGLContextDevice2D::Private::RestoreGLState ( bool  colorBuffer = false) [inline]

Definition at line 277 of file vtkOpenGLContextDevice2DPrivate.h.

void vtkOpenGLContextDevice2D::Private::SetGLCapability ( GLenum  capability,
GLboolean  state 
) [inline]

Definition at line 309 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 321 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 364 of file vtkOpenGLContextDevice2DPrivate.h.

GLuint vtkOpenGLContextDevice2D::Private::TextureFromImage ( vtkImageData image,
vtkVector2f texCoords 
) [inline]

Definition at line 377 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 449 of file vtkOpenGLContextDevice2DPrivate.h.


Member Data Documentation

Definition at line 491 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 492 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 493 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 495 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 496 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 497 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 498 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 499 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 500 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 501 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 503 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 504 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 505 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 506 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 507 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 508 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 509 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 510 of file vtkOpenGLContextDevice2DPrivate.h.

Cache for text images. Generating texture for strings is expensive, we cache the textures here for a faster reuse.

Definition at line 515 of file vtkOpenGLContextDevice2DPrivate.h.

Cache for text images. Generating texture for strings is expensive, we cache the textures here for a faster reuse.

Definition at line 516 of file vtkOpenGLContextDevice2DPrivate.h.


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