VectorWriter Class Reference

Provides EPS, PS, PDF and TeX output.

#include <qwt3d_io_gl2ps.h>

Inheritance diagram for VectorWriter:

IO::Functor List of all members.

Public Types

enum  TEXTMODE { PIXEL, NATIVE, TEX }
enum  LANDSCAPEMODE { ON, OFF, AUTO }
enum  SORTMODE { NOSORT, SIMPLESORT, BSPSORT }

Public Member Functions

void setLandscape (LANDSCAPEMODE val)
LANDSCAPEMODE landscape () const
void setTextMode (TEXTMODE val, QString fname="")
TEXTMODE textMode () const
void setSortMode (SORTMODE val)
SORTMODE sortMode () const
void setCompressed (bool val)
bool compressed () const
bool setFormat (QString const &format)

Member Enumeration Documentation

enum TEXTMODE

The possible output formats for the text parts of the scene.

Enumerator:
PIXEL  All text will be converted to pixmaps.
NATIVE  Text output in the native output format.
TEX  Text output in additional LaTeX file as an overlay.

enum LANDSCAPEMODE

The possible behaviour for landscape settings.

Enumerator:
ON  Landscape mode on.
OFF  Landscape mode off.
AUTO  The output orientation depends on the plot widgets aspect ratio (default).

enum SORTMODE

The possible sorting types which are translated in gl2ps types.

Enumerator:
NOSORT  No sorting at all.
SIMPLESORT  A more simple (yet quicker) algorithm (default).
BSPSORT  BSP SORT (best and slow!).


Member Function Documentation

void setLandscape ( LANDSCAPEMODE  val  )  [inline]

Sets landscape mode.

LANDSCAPEMODE landscape (  )  const [inline]

Returns the current landscape mode.

void setTextMode ( TEXTMODE  val,
QString  fname = "" 
)

Sets the mode for text output:

Parameters:
val The underlying format for the generated output:
PIXEL - poor quality but exact positioning
NATIVE - high quality but inexact positioning
TEX - high quality and exact positioning, arbitrary TeX strings as content for the saved labels are possible. The disadvantage is the need for an additionally TeX run to get the final output.
fname Optional, used only in conjunction with TeX output; file name for the generated TeX file. If not set, a file called "OUTPUT.FOR.tex" will be generated, where "OUTPUT.FOR" describes the file name argument for IO::save().

(04/05/27: On Linux platforms, pdflatex seems a file named 'dump_0.pdf.tex' mistakenly to identify as PDF file.)

TEXTMODE textMode (  )  const [inline]

Return current text output mode.

void setSortMode ( SORTMODE  val  )  [inline]

Sets one of the SORTMODE sorting modes.

SORTMODE sortMode (  )  const [inline]

Returns gl2ps sorting type.

void setCompressed ( bool  val  ) 

Turns compressed output on or off (no effect if zlib support is not available).

bool compressed (  )  const [inline]

Returns compression mode (always false if zlib support has not been set).

bool setFormat ( QString const &  format  ) 

Set output format, must be one of "EPS_GZ", "PS_GZ", "EPS", "PS", "PDF" (case sensitive)


The documentation for this class was generated from the following files:
Generated on Mon Jun 25 18:47:29 2007 for QwtPlot3D API by  doxygen 1.5.1