VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPImageWriter Class Reference

Writes images to files. More...

#include <vtkPImageWriter.h>

Inheritance diagram for vtkPImageWriter:
Inheritance graph
[legend]
Collaboration diagram for vtkPImageWriter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkImageWriter Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPImageWriterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetMemoryLimit (unsigned long)
virtual unsigned long GetMemoryLimit ()

Static Public Member Functions

static vtkPImageWriterNew ()
static int IsTypeOf (const char *type)
static vtkPImageWriterSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () 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
vtkPipelineSizeSizeEstimator

Detailed Description

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.

Tests:
vtkPImageWriter (Tests)

Definition at line 35 of file vtkPImageWriter.h.


Member Typedef Documentation

Reimplemented from vtkImageWriter.

Definition at line 39 of file vtkPImageWriter.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

Reimplemented from vtkImageWriter.

virtual vtkObjectBase* vtkPImageWriter::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkImageWriter.

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.


Member Data Documentation

unsigned long vtkPImageWriter::MemoryLimit [protected]

Definition at line 53 of file vtkPImageWriter.h.

Definition at line 58 of file vtkPImageWriter.h.


The documentation for this class was generated from the following file: