VTK
|
Writes images to files. More...
#include <vtkPImageWriter.h>
Public Types | |
typedef vtkImageWriter | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPImageWriter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetMemoryLimit (unsigned long) |
virtual unsigned long | GetMemoryLimit () |
Static Public Member Functions | |
static vtkPImageWriter * | New () |
static int | IsTypeOf (const char *type) |
static vtkPImageWriter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPImageWriter () | |
~vtkPImageWriter () | |
virtual void | RecursiveWrite (int dim, vtkImageData *region, vtkInformation *inInfo, ofstream *file) |
virtual void | RecursiveWrite (int dim, vtkImageData *cache, vtkImageData *data, vtkInformation *inInfo, ofstream *file) |
Protected Attributes | |
unsigned long | MemoryLimit |
vtkPipelineSize * | SizeEstimator |
Writes images to files.
vtkPImageWriter writes images to files with any data type. The data type of the file is the same scalar type as the input. The dimensionality determines whether the data will be written in one or multiple files. This class is used as the superclass of most image writing classes such as vtkBMPWriter etc. It supports streaming.
Definition at line 35 of file vtkPImageWriter.h.
Reimplemented from vtkImageWriter.
Definition at line 39 of file vtkPImageWriter.h.
vtkPImageWriter::vtkPImageWriter | ( | ) | [protected] |
vtkPImageWriter::~vtkPImageWriter | ( | ) | [protected] |
static vtkPImageWriter* vtkPImageWriter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkImageWriter.
static int vtkPImageWriter::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 vtkPImageWriter::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 vtkPImageWriter* vtkPImageWriter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkImageWriter.
virtual vtkObjectBase* vtkPImageWriter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkImageWriter.
vtkPImageWriter* vtkPImageWriter::NewInstance | ( | ) | const |
Reimplemented from vtkImageWriter.
void vtkPImageWriter::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 vtkPImageWriter::SetMemoryLimit | ( | unsigned | long | ) | [virtual] |
Set / Get the memory limit in kilobytes. The writer will stream to attempt to keep the pipeline size within this limit
virtual unsigned long vtkPImageWriter::GetMemoryLimit | ( | ) | [virtual] |
Set / Get the memory limit in kilobytes. The writer will stream to attempt to keep the pipeline size within this limit
virtual void vtkPImageWriter::RecursiveWrite | ( | int | dim, |
vtkImageData * | region, | ||
vtkInformation * | inInfo, | ||
ofstream * | file | ||
) | [protected, virtual] |
Reimplemented from vtkImageWriter.
virtual void vtkPImageWriter::RecursiveWrite | ( | int | dim, |
vtkImageData * | cache, | ||
vtkImageData * | data, | ||
vtkInformation * | inInfo, | ||
ofstream * | file | ||
) | [inline, protected, virtual] |
Reimplemented from vtkImageWriter.
Definition at line 56 of file vtkPImageWriter.h.
unsigned long vtkPImageWriter::MemoryLimit [protected] |
Definition at line 53 of file vtkPImageWriter.h.
vtkPipelineSize* vtkPImageWriter::SizeEstimator [protected] |
Definition at line 58 of file vtkPImageWriter.h.