VTK
|
Writes an image as a PostScript file. More...
#include <vtkPostScriptWriter.h>
Public Types | |
typedef vtkImageWriter | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPostScriptWriter * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkPostScriptWriter * | New () |
static int | IsTypeOf (const char *type) |
static vtkPostScriptWriter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () 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 *) |
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.
Definition at line 33 of file vtkPostScriptWriter.h.
Reimplemented from vtkImageWriter.
Definition at line 37 of file vtkPostScriptWriter.h.
vtkPostScriptWriter::vtkPostScriptWriter | ( | ) | [inline, protected] |
Definition at line 41 of file vtkPostScriptWriter.h.
vtkPostScriptWriter::~vtkPostScriptWriter | ( | ) | [inline, protected] |
Definition at line 42 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.
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.
static vtkPostScriptWriter* vtkPostScriptWriter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
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.