VTK
|
#include <vtkOpenGLContextDevice2DPrivate.h>
Public Member Functions | |
Private () | |
~Private () | |
void | SaveGLState (vtkOpenGLState *ostate, bool colorBuffer=false) |
void | RestoreGLState (vtkOpenGLState *ostate, bool colorBuffer=false) |
float * | TexCoords (float *f, int n) |
vtkVector2i | FindPowerOfTwo (const vtkVector2i &size) |
GLuint | TextureFromImage (vtkImageData *image, vtkVector2f &texCoords) |
GLuint | TextureFromImage (vtkImageData *image) |
Public Attributes | |
vtkTexture * | Texture |
unsigned int | TextureProperties |
vtkTexture * | SpriteTexture |
bool | SavedDepthTest |
bool | SavedStencilTest |
bool | SavedBlend |
GLint | SavedDrawBuffer |
GLfloat | SavedClearColor [4] |
int | TextCounter |
vtkVector2i | Dim |
vtkVector2i | Offset |
bool | GLExtensionsLoaded |
bool | GLSL |
bool | PowerOfTwoTextures |
vtkTextureImageCache< UTF16TextPropertyKey > | TextTextureCache |
Cache for text images. More... | |
vtkTextureImageCache< UTF8TextPropertyKey > | MathTextTextureCache |
Cache for text images. More... | |
Definition at line 271 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 274 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 293 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 307 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 320 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 341 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 384 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 397 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 460 of file vtkOpenGLContextDevice2DPrivate.h.
vtkTexture* vtkOpenGLContextDevice2D::Private::Texture |
Definition at line 493 of file vtkOpenGLContextDevice2DPrivate.h.
unsigned int vtkOpenGLContextDevice2D::Private::TextureProperties |
Definition at line 494 of file vtkOpenGLContextDevice2DPrivate.h.
vtkTexture* vtkOpenGLContextDevice2D::Private::SpriteTexture |
Definition at line 495 of file vtkOpenGLContextDevice2DPrivate.h.
bool vtkOpenGLContextDevice2D::Private::SavedDepthTest |
Definition at line 497 of file vtkOpenGLContextDevice2DPrivate.h.
bool vtkOpenGLContextDevice2D::Private::SavedStencilTest |
Definition at line 498 of file vtkOpenGLContextDevice2DPrivate.h.
bool vtkOpenGLContextDevice2D::Private::SavedBlend |
Definition at line 499 of file vtkOpenGLContextDevice2DPrivate.h.
GLint vtkOpenGLContextDevice2D::Private::SavedDrawBuffer |
Definition at line 500 of file vtkOpenGLContextDevice2DPrivate.h.
GLfloat vtkOpenGLContextDevice2D::Private::SavedClearColor[4] |
Definition at line 501 of file vtkOpenGLContextDevice2DPrivate.h.
int vtkOpenGLContextDevice2D::Private::TextCounter |
Definition at line 503 of file vtkOpenGLContextDevice2DPrivate.h.
vtkVector2i vtkOpenGLContextDevice2D::Private::Dim |
Definition at line 504 of file vtkOpenGLContextDevice2DPrivate.h.
vtkVector2i vtkOpenGLContextDevice2D::Private::Offset |
Definition at line 505 of file vtkOpenGLContextDevice2DPrivate.h.
bool vtkOpenGLContextDevice2D::Private::GLExtensionsLoaded |
Definition at line 506 of file vtkOpenGLContextDevice2DPrivate.h.
bool vtkOpenGLContextDevice2D::Private::GLSL |
Definition at line 507 of file vtkOpenGLContextDevice2DPrivate.h.
bool vtkOpenGLContextDevice2D::Private::PowerOfTwoTextures |
Definition at line 508 of file vtkOpenGLContextDevice2DPrivate.h.
|
mutable |
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.
|
mutable |
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.