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));
Helper functions for using GL2PS within VTK.
Helper functionality for GL2PS exporting.
static bool InGL2PSRender
static void SetLineWidth(float lineWidth)
Call alongside glLineWidth(lineWidth) to inform GL2PS of the change.
static GLfloat PointSizeToken
static GLfloat PointSizeFactor
static GLfloat StippleEndToken
static GLfloat LineWidthFactor
static GLfloat StippleBeginToken
static void DisableStipple()
Call alongside glDisable(GL_LINE_STIPPLE) to inform GL2PS of the change.
static GLfloat LineWidthToken
static void SetPointSize(float pointSize)
Call alongside glPointSize(pointSize) to inform GL2PS of the change.
static void EnableStipple()
Call alongside glEnable(GL_LINE_STIPPLE) to inform GL2PS of the change.