vtkPostScriptWriter Class Reference

#include <vtkPostScriptWriter.h>

Inheritance diagram for vtkPostScriptWriter:

Inheritance graph
[legend]
Collaboration diagram for vtkPostScriptWriter:

Collaboration graph
[legend]

List of all members.


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


Public Types

typedef vtkImageWriter Superclass

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

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

Member Typedef Documentation

Reimplemented from vtkImageWriter.

Definition at line 36 of file vtkPostScriptWriter.h.


Constructor & Destructor Documentation

vtkPostScriptWriter::vtkPostScriptWriter (  )  [inline, protected]

Definition at line 40 of file vtkPostScriptWriter.h.

vtkPostScriptWriter::~vtkPostScriptWriter (  )  [inline, protected]

Definition at line 41 of file vtkPostScriptWriter.h.


Member Function Documentation

static vtkPostScriptWriter* vtkPostScriptWriter::New (  )  [static]

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

Reimplemented from vtkImageWriter.

virtual const char* vtkPostScriptWriter::GetClassName (  )  [virtual]

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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkImageWriter.

static vtkPostScriptWriter* vtkPostScriptWriter::SafeDownCast ( vtkObject o  )  [static]

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] 
) [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 Sat Dec 27 13:44:29 2008 for VTK by  doxygen 1.5.6