33 #ifndef vtkOpenGLGL2PSHelper_h
34 #define vtkOpenGLGL2PSHelper_h
36 #include "vtkRenderingOpenGLModule.h"
82 glGetIntegerv(GL_LINE_STIPPLE_PATTERN, &tmp);
83 glPassThrough(static_cast<GLfloat>(tmp));
84 glGetIntegerv(GL_LINE_STIPPLE_REPEAT, &tmp);
85 glPassThrough(static_cast<GLfloat>(tmp));
121 #endif //vtkOpenGLGL2PSHelper_h
static bool InGL2PSRender
Helper functions for using GL2PS within VTK.
static GLfloat PointSizeToken
static void SetPointSize(float pointSize)
Call alongside glPointSize(pointSize) to inform GL2PS of the change.
Helper functionality for GL2PS exporting.
static void SetLineWidth(float lineWidth)
Call alongside glLineWidth(lineWidth) to inform GL2PS of the change.
static void EnableStipple()
Call alongside glEnable(GL_LINE_STIPPLE) to inform GL2PS of the change.
static GLfloat StippleBeginToken
static GLfloat LineWidthFactor
static GLfloat StippleEndToken
static void DisableStipple()
Call alongside glDisable(GL_LINE_STIPPLE) to inform GL2PS of the change.
static GLfloat PointSizeFactor
static GLfloat LineWidthToken