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
< UTF16TextPropertyKey
TextTextureCache
vtkTextureImageCache
< UTF8TextPropertyKey
MathTextTextureCache

Detailed Description

Definition at line 229 of file vtkOpenGLContextDevice2DPrivate.h.


Constructor & Destructor Documentation

Definition at line 232 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 255 of file vtkOpenGLContextDevice2DPrivate.h.


Member Function Documentation

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

Definition at line 269 of file vtkOpenGLContextDevice2DPrivate.h.

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

Definition at line 284 of file vtkOpenGLContextDevice2DPrivate.h.

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

Definition at line 316 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 328 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 371 of file vtkOpenGLContextDevice2DPrivate.h.

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

Definition at line 384 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 456 of file vtkOpenGLContextDevice2DPrivate.h.


Member Data Documentation

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 502 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 510 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 511 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 512 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 513 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 514 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 515 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 516 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 517 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 522 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 523 of file vtkOpenGLContextDevice2DPrivate.h.


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