Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkPImageWriter Class Reference

#include <vtkPImageWriter.h>

Inheritance diagram for vtkPImageWriter:

Inheritance graph
[legend]
Collaboration diagram for vtkPImageWriter:

Collaboration graph
[legend]
List of all members.

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.

Created by:
  • Martin, Ken
CVS contributions (if > 5%):
  • Martin, Ken (87%)
  • Geveci, Berk (7%)
CVS logs (CVSweb):
  • .h (/Parallel/vtkPImageWriter.h)
  • .cxx (/Parallel/vtkPImageWriter.cxx)
Tests:
vtkPImageWriter (Tests)

Definition at line 45 of file vtkPImageWriter.h.

Public Types

typedef vtkImageWriter Superclass

Public Member Functions

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

Static Public Member Functions

vtkPImageWriterNew ()
int IsTypeOf (const char *type)
vtkPImageWriterSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkPImageWriter ()
 ~vtkPImageWriter ()
virtual void RecursiveWrite (int dim, vtkImageData *region, ofstream *file)
virtual void RecursiveWrite (int dim, vtkImageData *cache, vtkImageData *data, ofstream *file)

Protected Attributes

unsigned long MemoryLimit
vtkPipelineSizeSizeEstimator


Member Typedef Documentation

typedef vtkImageWriter vtkPImageWriter::Superclass
 

Reimplemented from vtkImageWriter.

Definition at line 49 of file vtkPImageWriter.h.


Constructor & Destructor Documentation

vtkPImageWriter::vtkPImageWriter  )  [protected]
 

vtkPImageWriter::~vtkPImageWriter  )  [protected]
 


Member Function Documentation

vtkPImageWriter* vtkPImageWriter::New  )  [static]
 

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

Reimplemented from vtkImageWriter.

virtual const char* vtkPImageWriter::GetClassName  )  [virtual]
 

Reimplemented from vtkImageWriter.

int vtkPImageWriter::IsTypeOf const char *  type  )  [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 vtkPImageWriter::IsA const char *  type  )  [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.

vtkPImageWriter* vtkPImageWriter::SafeDownCast vtkObject o  )  [static]
 

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,
ofstream *  file
[protected, virtual]
 

Reimplemented from vtkImageWriter.

virtual void vtkPImageWriter::RecursiveWrite int  dim,
vtkImageData cache,
vtkImageData data,
ofstream *  file
[inline, protected, virtual]
 

Reimplemented from vtkImageWriter.

Definition at line 66 of file vtkPImageWriter.h.

References vtkImageWriter::RecursiveWrite().


Member Data Documentation

unsigned long vtkPImageWriter::MemoryLimit [protected]
 

Definition at line 63 of file vtkPImageWriter.h.

vtkPipelineSize* vtkPImageWriter::SizeEstimator [protected]
 

Definition at line 70 of file vtkPImageWriter.h.


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