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 268 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 271 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 294 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 272 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 292 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 308 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 323 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 355 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 367 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 410 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 423 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 495 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 306 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 320 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 351 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 363 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 406 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 419 of file vtkOpenGLContextDevice2DPrivate.h.
|
inline |
Definition at line 482 of file vtkOpenGLContextDevice2DPrivate.h.
vtkTexture * vtkOpenGLContextDevice2D::Private::Texture |
Definition at line 537 of file vtkOpenGLContextDevice2DPrivate.h.
unsigned int vtkOpenGLContextDevice2D::Private::TextureProperties |
Definition at line 538 of file vtkOpenGLContextDevice2DPrivate.h.
vtkTexture * vtkOpenGLContextDevice2D::Private::SpriteTexture |
Definition at line 539 of file vtkOpenGLContextDevice2DPrivate.h.
GLboolean vtkOpenGLContextDevice2D::Private::SavedLighting |
Definition at line 541 of file vtkOpenGLContextDevice2DPrivate.h.
GLboolean vtkOpenGLContextDevice2D::Private::SavedDepthTest |
Definition at line 542 of file vtkOpenGLContextDevice2DPrivate.h.
GLboolean vtkOpenGLContextDevice2D::Private::SavedAlphaTest |
Definition at line 543 of file vtkOpenGLContextDevice2DPrivate.h.
GLboolean vtkOpenGLContextDevice2D::Private::SavedStencilTest |
Definition at line 544 of file vtkOpenGLContextDevice2DPrivate.h.
GLboolean vtkOpenGLContextDevice2D::Private::SavedBlend |
Definition at line 545 of file vtkOpenGLContextDevice2DPrivate.h.
GLint vtkOpenGLContextDevice2D::Private::SavedDrawBuffer |
Definition at line 546 of file vtkOpenGLContextDevice2DPrivate.h.
GLfloat vtkOpenGLContextDevice2D::Private::SavedClearColor |
Definition at line 547 of file vtkOpenGLContextDevice2DPrivate.h.
int vtkOpenGLContextDevice2D::Private::TextCounter |
Definition at line 549 of file vtkOpenGLContextDevice2DPrivate.h.
vtkVector2i vtkOpenGLContextDevice2D::Private::Dim |
Definition at line 550 of file vtkOpenGLContextDevice2DPrivate.h.
vtkVector2i vtkOpenGLContextDevice2D::Private::Offset |
Definition at line 551 of file vtkOpenGLContextDevice2DPrivate.h.
bool vtkOpenGLContextDevice2D::Private::GLExtensionsLoaded |
Definition at line 552 of file vtkOpenGLContextDevice2DPrivate.h.
bool vtkOpenGLContextDevice2D::Private::OpenGL15 |
Definition at line 553 of file vtkOpenGLContextDevice2DPrivate.h.
bool vtkOpenGLContextDevice2D::Private::OpenGL20 |
Definition at line 554 of file vtkOpenGLContextDevice2DPrivate.h.
bool vtkOpenGLContextDevice2D::Private::GLSL |
Definition at line 555 of file vtkOpenGLContextDevice2DPrivate.h.
bool vtkOpenGLContextDevice2D::Private::PowerOfTwoTextures |
Definition at line 556 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 563 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 564 of file vtkOpenGLContextDevice2DPrivate.h.