VTK
|
Helper functionality for GL2PS exporting. More...
#include <vtkOpenGLGL2PSHelper.h>
Static Public Member Functions | |
static void | SetLineWidth (float lineWidth) |
static void | SetPointSize (float pointSize) |
static void | EnableStipple () |
static void | DisableStipple () |
Static Protected Attributes | |
static bool | InGL2PSRender |
static GLfloat | PointSizeFactor |
static GLfloat | LineWidthFactor |
static GLfloat | PointSizeToken |
static GLfloat | LineWidthToken |
static GLfloat | StippleBeginToken |
static GLfloat | StippleEndToken |
Friends | |
class | vtkGL2PSUtilities |
Helper functionality for GL2PS exporting.
vtkOpenGLGL2PSHelper provides a number of static variables and methods that are used during GL2PS exporting. The rational behind this class is that GL does not include all of the information that GL2PS needs into its feedback buffer, and in certain situations GL2PS function calls need to be made alongside their GL equivalents, notably glLineWidth and glPointSize.
The static variables in this class are set by vtkGL2PSUtilities at the beginning of a GL2PS export render. This class fakes GL2PS calls like gl2psLineWidth in order to keep GL2PS from being a module dependency for vtkRenderingOpenGL.
Definition at line 38 of file vtkOpenGLGL2PSHelper.h.
|
inlinestatic |
Call alongside glLineWidth(lineWidth) to inform GL2PS of the change.
Definition at line 44 of file vtkOpenGLGL2PSHelper.h.
|
inlinestatic |
Call alongside glPointSize(pointSize) to inform GL2PS of the change.
Definition at line 56 of file vtkOpenGLGL2PSHelper.h.
|
inlinestatic |
Call alongside glEnable(GL_LINE_STIPPLE) to inform GL2PS of the change. This must be called after calling glLineStipple(factor, pattern).
Definition at line 70 of file vtkOpenGLGL2PSHelper.h.
|
inlinestatic |
Call alongside glDisable(GL_LINE_STIPPLE) to inform GL2PS of the change.
Definition at line 87 of file vtkOpenGLGL2PSHelper.h.
|
friend |
Definition at line 98 of file vtkOpenGLGL2PSHelper.h.
|
staticprotected |
Definition at line 100 of file vtkOpenGLGL2PSHelper.h.
|
staticprotected |
Definition at line 101 of file vtkOpenGLGL2PSHelper.h.
|
staticprotected |
Definition at line 102 of file vtkOpenGLGL2PSHelper.h.
|
staticprotected |
Definition at line 103 of file vtkOpenGLGL2PSHelper.h.
|
staticprotected |
Definition at line 104 of file vtkOpenGLGL2PSHelper.h.
|
staticprotected |
Definition at line 105 of file vtkOpenGLGL2PSHelper.h.
|
staticprotected |
Definition at line 106 of file vtkOpenGLGL2PSHelper.h.