22 #ifndef vtkOpenGLGL2PSHelperImpl_h
23 #define vtkOpenGLGL2PSHelperImpl_h
25 #include "vtkRenderingGL2PSOpenGL2Module.h"
26 #include "vtkOpenGLGL2PSHelper.h"
37 virtual
void PrintSelf(ostream &os,
vtkIndent indent);
43 unsigned char col[4]);
49 double pos[3],
double backgroundDepth,
52 virtual
void DrawPath(
vtkPath *path,
double rasterPos[3],
double windowPos[2],
53 unsigned char rgba[4],
double scale[2] = NULL,
54 double rotateAngle = 0.0,
float strokeWidth = -1,
55 const
char *label = NULL);
58 double rasterPos[3],
unsigned char actorColor[4],
65 ~vtkOpenGLGL2PSHelperImpl();
81 static
void GetTransformParameters(
vtkRenderer *ren,
84 double halfSize[2],
double zfact[2]);
92 static
void ProjectPoint(
double point[4],
vtkMatrix4x4 *transformMatrix,
93 double viewportOrigin[2],
double halfWidth,
94 double halfHeight,
double zfact1,
double zfact2);
104 static
void UnprojectPoint(
double point[4],
vtkMatrix4x4 *invTransformMatrix,
105 double viewportOrigin[2],
double halfWidth,
106 double halfHeight,
double zfact1,
double zfact2);
107 static
void UnprojectPoints(
double *points3D,
vtkIdType numPoints,
112 void DrawPathPS(
vtkPath *path,
double rasterPos[3],
double windowPos[2],
113 unsigned char rgba[4],
double scale[2],
double rotateAngle,
114 float strokeWidth, const std::
string &label);
115 void DrawPathPDF(
vtkPath *path,
double rasterPos[3],
double windowPos[2],
116 unsigned char rgba[4],
double scale[2],
double rotateAngle,
117 float strokeWidth, const std::
string &label);
118 void DrawPathSVG(
vtkPath *path,
double rasterPos[3],
double windowPos[2],
119 unsigned char rgba[4],
double scale[2],
double rotateAngle,
120 float strokeWidth, const std::
string &label);
123 vtkOpenGLGL2PSHelperImpl(const vtkOpenGLGL2PSHelperImpl &) VTK_DELETE_FUNCTION;
124 void operator=(const vtkOpenGLGL2PSHelperImpl &) VTK_DELETE_FUNCTION;
127 #endif // vtkOpenGLGL2PSHelperImpl_h
represents an object (geometry & properties) in a rendered scene
represent and manipulate 4x4 transformation matrices
concrete dataset representing a path defined by Bezier curves.
Helper functionality for GL2PS exporting.
abstract specification for renderers
a simple class to control print indentation
topologically and geometrically regular array of data
represent text properties.
vtkOpenGLGL2PSHelper override implementation.
static vtkOpenGLGL2PSHelper * New()
represent and manipulate 3D points