VTK
|
#include <vtkOpenGLContextDevice2DPrivate.h>
Public Member Functions | |
Private () | |
~Private () | |
void | SaveGLState (bool colorBuffer=false) |
void | RestoreGLState (bool colorBuffer=false) |
void | SetGLCapability (GLenum capability, GLboolean state) |
float * | TexCoords (float *f, int n) |
vtkVector2i | FindPowerOfTwo (const vtkVector2i &size) |
GLuint | TextureFromImage (vtkImageData *image, vtkVector2f &texCoords) |
GLuint | TextureFromImage (vtkImageData *image) |
Private () | |
~Private () | |
void | SaveGLState (bool colorBuffer=false) |
void | RestoreGLState (bool colorBuffer=false) |
void | SetGLCapability (GLenum capability, GLboolean state) |
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 |
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 |
Cache for text images. More... | |
vtkTextureImageCache< UTF8TextPropertyKey > | MathTextTextureCache |
Cache for text images. More... | |
Definition at line 250 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 253 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 276 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 253 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 273 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 290 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 305 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 337 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 349 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 392 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 405 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 477 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 287 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 301 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 332 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 344 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 387 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 400 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 463 of file vtkOpenGLContextDevice2DPrivate.h.
vtkTexture * vtkOpenGLContextDevice2D::Private::Texture |
Definition at line 519 of file vtkOpenGLContextDevice2DPrivate.h.
unsigned int vtkOpenGLContextDevice2D::Private::TextureProperties |
Definition at line 520 of file vtkOpenGLContextDevice2DPrivate.h.
vtkTexture * vtkOpenGLContextDevice2D::Private::SpriteTexture |
Definition at line 521 of file vtkOpenGLContextDevice2DPrivate.h.
GLboolean vtkOpenGLContextDevice2D::Private::SavedLighting |
Definition at line 523 of file vtkOpenGLContextDevice2DPrivate.h.
GLboolean vtkOpenGLContextDevice2D::Private::SavedDepthTest |
Definition at line 524 of file vtkOpenGLContextDevice2DPrivate.h.
GLboolean vtkOpenGLContextDevice2D::Private::SavedAlphaTest |
Definition at line 525 of file vtkOpenGLContextDevice2DPrivate.h.
GLboolean vtkOpenGLContextDevice2D::Private::SavedStencilTest |
Definition at line 526 of file vtkOpenGLContextDevice2DPrivate.h.
GLboolean vtkOpenGLContextDevice2D::Private::SavedBlend |
Definition at line 527 of file vtkOpenGLContextDevice2DPrivate.h.
GLint vtkOpenGLContextDevice2D::Private::SavedDrawBuffer |
Definition at line 528 of file vtkOpenGLContextDevice2DPrivate.h.
GLfloat vtkOpenGLContextDevice2D::Private::SavedClearColor |
Definition at line 529 of file vtkOpenGLContextDevice2DPrivate.h.
int vtkOpenGLContextDevice2D::Private::TextCounter |
Definition at line 531 of file vtkOpenGLContextDevice2DPrivate.h.
vtkVector2i vtkOpenGLContextDevice2D::Private::Dim |
Definition at line 532 of file vtkOpenGLContextDevice2DPrivate.h.
vtkVector2i vtkOpenGLContextDevice2D::Private::Offset |
Definition at line 533 of file vtkOpenGLContextDevice2DPrivate.h.
bool vtkOpenGLContextDevice2D::Private::GLExtensionsLoaded |
Definition at line 534 of file vtkOpenGLContextDevice2DPrivate.h.
bool vtkOpenGLContextDevice2D::Private::OpenGL15 |
Definition at line 535 of file vtkOpenGLContextDevice2DPrivate.h.
bool vtkOpenGLContextDevice2D::Private::OpenGL20 |
Definition at line 536 of file vtkOpenGLContextDevice2DPrivate.h.
bool vtkOpenGLContextDevice2D::Private::GLSL |
Definition at line 537 of file vtkOpenGLContextDevice2DPrivate.h.
bool vtkOpenGLContextDevice2D::Private::PowerOfTwoTextures |
Definition at line 538 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 545 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 546 of file vtkOpenGLContextDevice2DPrivate.h.