Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File 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 ()
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:
2001/10/11 13:37:33
Revision:
1.15

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 60 of file vtkPostScriptWriter.h.


Constructor & Destructor Documentation

vtkPostScriptWriter::vtkPostScriptWriter   [inline, protected]
 

Definition at line 67 of file vtkPostScriptWriter.h.

vtkPostScriptWriter::~vtkPostScriptWriter   [inline, protected]
 

Definition at line 68 of file vtkPostScriptWriter.h.


Member Function Documentation

vtkPostScriptWriter* vtkPostScriptWriter::New   [static]
 

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

Reimplemented from vtkImageWriter.

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.

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.

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.

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.

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

Reimplemented from vtkImageWriter.

virtual void vtkPostScriptWriter::WriteFileHeader ofstream *   ,
vtkImageData  
[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:
Generated on Thu Mar 28 14:39:52 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001