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