Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

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 Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)

Static Public Methods

vtkPostScriptWriter * New ()
int IsTypeOf (const char *type)
vtkPostScriptWriter * SafeDownCast (vtkObject *o)

Protected Methods

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

Detailed Description

Writes an image as a PostScript file.

Date:
2000/12/10 20:09:13
Revision:
1.12

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.

Examples:
vtkPostScriptWriter (examples)


Member Function Documentation

virtual const char* vtkPostScriptWriter::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageWriter.

virtual int vtkPostScriptWriter::IsA const char *    type [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.

int vtkPostScriptWriter::IsTypeOf const char *    type [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.

vtkPostScriptWriter* vtkPostScriptWriter::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageWriter.

vtkPostScriptWriter* vtkPostScriptWriter::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageWriter.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:31:25 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002