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) |
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 |
vtkTextureImageCache < UTF8TextPropertyKey > | MathTextTextureCache |
Definition at line 229 of file vtkOpenGLContextDevice2DPrivate.h.
vtkOpenGLContextDevice2D::Private::Private | ( | ) | [inline] |
Definition at line 232 of file vtkOpenGLContextDevice2DPrivate.h.
vtkOpenGLContextDevice2D::Private::~Private | ( | ) | [inline] |
Definition at line 255 of file vtkOpenGLContextDevice2DPrivate.h.
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.
float* vtkOpenGLContextDevice2D::Private::TexCoords | ( | float * | f, |
int | n | ||
) | [inline] |
Definition at line 328 of file vtkOpenGLContextDevice2DPrivate.h.
vtkVector2i vtkOpenGLContextDevice2D::Private::FindPowerOfTwo | ( | const vtkVector2i & | size | ) | [inline] |
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.
GLuint vtkOpenGLContextDevice2D::Private::TextureFromImage | ( | vtkImageData * | image | ) | [inline] |
Definition at line 456 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 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.
vtkTextureImageCache<UTF16TextPropertyKey> vtkOpenGLContextDevice2D::Private::TextTextureCache [mutable] |
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.
vtkTextureImageCache<UTF8TextPropertyKey> vtkOpenGLContextDevice2D::Private::MathTextTextureCache [mutable] |
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.