VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkPostScriptWriter Class Reference

Writes an image as a PostScript file. More...

#include <vtkPostScriptWriter.h>

Inheritance diagram for vtkPostScriptWriter:
Inheritance graph
[legend]
Collaboration diagram for vtkPostScriptWriter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkImageWriter Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPostScriptWriterNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static vtkPostScriptWriterNew ()
static int IsTypeOf (const char *type)
static vtkPostScriptWriterSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPostScriptWriter ()
 ~vtkPostScriptWriter ()
virtual void WriteFile (ofstream *file, vtkImageData *data, int extent[6], int wExt[6])
virtual void WriteFileHeader (ofstream *, vtkImageData *, int wExt[6])
virtual void WriteFileTrailer (ofstream *, vtkImageData *)

Detailed Description

Writes an image as a PostScript file.

vtkPostScriptWriter writes an image as a PostScript file using some reasonable scalings and centered on the page which is assumed to be about 8.5 by 11 inches. This is based loosely off of the code from pnmtops.c. Right now there aren't any real options.

Tests:
vtkPostScriptWriter (Tests)

Definition at line 33 of file vtkPostScriptWriter.h.


Member Typedef Documentation

Reimplemented from vtkImageWriter.

Definition at line 37 of file vtkPostScriptWriter.h.


Constructor & Destructor Documentation

Definition at line 41 of file vtkPostScriptWriter.h.

Definition at line 42 of file vtkPostScriptWriter.h.


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkImageWriter.

static int vtkPostScriptWriter::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageWriter.

virtual int vtkPostScriptWriter::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageWriter.

Reimplemented from vtkImageWriter.

virtual vtkObjectBase* vtkPostScriptWriter::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkImageWriter.

Reimplemented from vtkImageWriter.

virtual void vtkPostScriptWriter::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkImageWriter.

virtual void vtkPostScriptWriter::WriteFile ( ofstream *  file,
vtkImageData data,
int  extent[6],
int  wExt[6] 
) [protected, virtual]

Reimplemented from vtkImageWriter.

virtual void vtkPostScriptWriter::WriteFileHeader ( ofstream *  ,
vtkImageData ,
int  wExt[6] 
) [protected, virtual]

Reimplemented from vtkImageWriter.

virtual void vtkPostScriptWriter::WriteFileTrailer ( ofstream *  ,
vtkImageData  
) [protected, virtual]

Reimplemented from vtkImageWriter.


The documentation for this class was generated from the following file: