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.

Tests:
vtkPImageWriter (Tests)

Definition at line 34 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

static vtkPImageWriterNew ()
static int IsTypeOf (const char *type)
static 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

Reimplemented from vtkImageWriter.

Definition at line 38 of file vtkPImageWriter.h.


Constructor & Destructor Documentation

vtkPImageWriter::vtkPImageWriter (  )  [protected]

vtkPImageWriter::~vtkPImageWriter (  )  [protected]


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.

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

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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkImageWriter.

static 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 55 of file vtkPImageWriter.h.


Member Data Documentation

unsigned long vtkPImageWriter::MemoryLimit [protected]

Definition at line 52 of file vtkPImageWriter.h.

Definition at line 57 of file vtkPImageWriter.h.


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

Generated on Sat Dec 27 13:42:05 2008 for VTK by  doxygen 1.5.6