#include <vtkPostScriptWriter.h>
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.
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 vtkPostScriptWriter * | New () |
static int | IsTypeOf (const char *type) |
static vtkPostScriptWriter * | SafeDownCast (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 *) |
vtkPostScriptWriter::vtkPostScriptWriter | ( | ) | [inline, protected] |
Definition at line 40 of file vtkPostScriptWriter.h.
vtkPostScriptWriter::~vtkPostScriptWriter | ( | ) | [inline, protected] |
Definition at line 41 of file vtkPostScriptWriter.h.
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.