[vtk-developers] vtkGL2PSExporter.

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Mon Jun 30 23:50:06 EDT 2003


Hi Folks,

The implementation for the vtkGL2PSExporter class is done.  It
supports the following:

 1. Full text support: multi-line, shadow text all should work.
 2. Ability to set the following GL2PS params:
    FileFormat (EPS/PS/TeX), Sorting, DrawBackground,
    SimpleLineOffset, Silent, BestRoot, Text, Landscape/Portrait,
    PS3Shading, and OcclusionCulling.
 3. Also supports a mixed raster/vector format where the 3D props are
    written as an image and the 2D written in PostScript.
 4. Line width and point sizes work as expected.  There is also a
    factor to set the ratio of OpenGL LineWidth/PointSize: PS
    LineWidth/PointSize.  It defaults to a sane value.
 5. Configured via cmake (VTK's advanced options), its not compiled in
    by default and is minimally intrusive on the rest of VTK.

GL2PS is actually distributed under the LGPL so I'm not sure if we
could build it as part of VTK like the other libraries in Utilities.
If we could, I can ask Christophe Geuzaine if its OK to include GL2PS
in VTK.  What do you folks think?

Please try it out and let me know if you have problems with the class.
In a while I'll announce this on the users list so folks can have a go
at the class.

Many thanks to Goodwin Lawlor for sample implemetations, tips, testing
and support.

cheers,
prabhu





More information about the vtk-developers mailing list