|
virtual int | IsA (const char *type) |
|
vtkOpenGLGL2PSHelperImpl * | NewInstance () const |
|
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual void | ProcessTransformFeedback (vtkTransformFeedback *tfc, vtkRenderer *ren, vtkActor *act) |
| Parse the vertex information in tfc and inject primitives into GL2PS. More...
|
|
virtual void | ProcessTransformFeedback (vtkTransformFeedback *tfc, vtkRenderer *ren, unsigned char col[4]) |
|
virtual void | ProcessTransformFeedback (vtkTransformFeedback *tfc, vtkRenderer *ren, float col[4]) |
|
virtual void | DrawString (const std::string &str, vtkTextProperty *tprop, double pos[3], double backgroundDepth, vtkRenderer *ren) |
| Format the text in str according to tprop and instruct GL2PS to draw it at pixel coordinate pos. More...
|
|
virtual void | DrawPath (vtkPath *path, double rasterPos[3], double windowPos[2], unsigned char rgba[4], double scale[2]=NULL, double rotateAngle=0.0, float strokeWidth=-1, const char *label=NULL) |
| Generate PS, EPS, or SVG markup from a vtkPath object, and then inject it into the output using the gl2psSpecial command. More...
|
|
virtual void | Draw3DPath (vtkPath *path, vtkMatrix4x4 *actorMatrix, double rasterPos[3], unsigned char actorColor[4], vtkRenderer *ren, const char *label=NULL) |
| Transform the path using the actor's matrix and current GL state, then draw it to GL2PS. More...
|
|
virtual void | DrawImage (vtkImageData *image, double pos[3]) |
| Draw the image at pos. More...
|
|
| vtkAbstractTypeMacro (vtkOpenGLGL2PSHelper, vtkObject) virtual void PrintSelf(ostream &os |
|
virtual vtkRenderWindow * | GetRenderWindow () |
| Get the renderwindow that's being exported. More...
|
|
virtual State | GetActiveState () |
| Get the current export state. More...
|
|
virtual void | SetPointSize (float) |
| Set/Get the current point size. More...
|
|
virtual float | GetPointSize () |
|
virtual void | SetLineWidth (float) |
| Set/Get the current line width. More...
|
|
virtual float | GetLineWidth () |
|
virtual void | SetLineStipple (unsigned short) |
| Set/Get the current line stipple pattern per OpenGL convention. More...
|
|
virtual unsigned short | GetLineStipple () |
|
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| vtkOpenGLGL2PSHelperImpl () |
|
| ~vtkOpenGLGL2PSHelperImpl () |
|
void | DrawPathPS (vtkPath *path, double rasterPos[3], double windowPos[2], unsigned char rgba[4], double scale[2], double rotateAngle, float strokeWidth, const std::string &label) |
|
void | DrawPathPDF (vtkPath *path, double rasterPos[3], double windowPos[2], unsigned char rgba[4], double scale[2], double rotateAngle, float strokeWidth, const std::string &label) |
|
void | DrawPathSVG (vtkPath *path, double rasterPos[3], double windowPos[2], unsigned char rgba[4], double scale[2], double rotateAngle, float strokeWidth, const std::string &label) |
|
| vtkOpenGLGL2PSHelper () |
|
| ~vtkOpenGLGL2PSHelper () |
|
virtual void | SetActiveState (State) |
|
virtual void | SetTextAsPath (bool) |
|
virtual void | SetRenderWindow (vtkRenderWindow *) |
|
virtual void | SetPointSizeFactor (float) |
|
virtual void | SetLineWidthFactor (float) |
|
|
static const char * | TextPropertyToPSFontName (vtkTextProperty *tprop) |
| Translate the tprop's fontname into a Postscript font name. More...
|
|
static int | TextPropertyToGL2PSAlignment (vtkTextProperty *tprop) |
| Convert the alignment hint in tprop to a GL2PS text alignment constant. More...
|
|
static void | GetTransformParameters (vtkRenderer *ren, vtkMatrix4x4 *actorMatrix, vtkMatrix4x4 *xform, double vpOrigin[2], double halfSize[2], double zfact[2]) |
| Extracts the information needed for transforming and projecting points from a renderer. More...
|
|
static void | ProjectPoint (double point[3], vtkRenderer *ren, vtkMatrix4x4 *actorMatrix=NULL) |
| Project the point from world coordinates into device coordinates. More...
|
|
static void | ProjectPoint (double point[4], vtkMatrix4x4 *transformMatrix, double viewportOrigin[2], double halfWidth, double halfHeight, double zfact1, double zfact2) |
|
static void | ProjectPoints (vtkPoints *points, vtkRenderer *ren, vtkMatrix4x4 *actorMatrix=NULL) |
|
static void | UnprojectPoint (double point[4], vtkMatrix4x4 *invTransformMatrix, double viewportOrigin[2], double halfWidth, double halfHeight, double zfact1, double zfact2) |
| Unproject the point from device coordinates into world coordinates. More...
|
|
static void | UnprojectPoints (double *points3D, vtkIdType numPoints, vtkRenderer *ren, vtkMatrix4x4 *actorMatrix=NULL) |
|
vtkOpenGLGL2PSHelper override implementation.
Definition at line 31 of file vtkOpenGLGL2PSHelperImpl.h.
virtual void vtkOpenGLGL2PSHelperImpl::DrawPath |
( |
vtkPath * |
path, |
|
|
double |
rasterPos[3], |
|
|
double |
windowPos[2], |
|
|
unsigned char |
rgba[4], |
|
|
double |
scale[2] = NULL , |
|
|
double |
rotateAngle = 0.0 , |
|
|
float |
strokeWidth = -1 , |
|
|
const char * |
label = NULL |
|
) |
| |
|
virtual |
Generate PS, EPS, or SVG markup from a vtkPath object, and then inject it into the output using the gl2psSpecial command.
The path is translated uniformly in the scene by windowPos. It is scaled by scale and rotated counter-clockwise by rotateAngle. The rasterPos is in world coordinates and determines clipping and depth. If scale is NULL, no scaling is done. If strokeWidth is positive, the path will be stroked with the indicated width. If zero or negative, the path will be filled (default). The label string is inserted into the GL2PS output at the beginning of the path specification as a comment on supported backends.
Implements vtkOpenGLGL2PSHelper.