Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkPolyDataStreamer Class Reference

Stream appends input pieces to the output. More...

#include <vtkPolyDataStreamer.h>

Inheritance diagram for vtkPolyDataStreamer:

Inheritance graph
[legend]
Collaboration diagram for vtkPolyDataStreamer:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetNumberOfStreamDivisions (int num)
int GetNumberOfStreamDivisions ()
virtual void SetColorByPiece (int)
virtual int GetColorByPiece ()
virtual void ColorByPieceOn ()
virtual void ColorByPieceOff ()

Static Public Methods

vtkPolyDataStreamer * New ()
int IsTypeOf (const char *type)
vtkPolyDataStreamer * SafeDownCast (vtkObject *o)

Protected Methods

 vtkPolyDataStreamer ()
 ~vtkPolyDataStreamer ()
 vtkPolyDataStreamer (const vtkPolyDataStreamer &)
void operator= (const vtkPolyDataStreamer &)
void Execute ()
void ComputeInputUpdateExtents (vtkDataObject *output)
void ComputeNumberOfStreamDivisionsFromMemoryLimit ()

Protected Attributes

int UseMemoryLimit
unsigned long MemoryLimit
int NumberOfStreamDivisions
int ColorByPiece

Detailed Description

Stream appends input pieces to the output.

Date:
2000/12/10 20:08:47
Revision:
1.3

vtkPolyDataStreamer initiates streaming by requesting pieces from its single input it appends these pieces it to the requested output.

Note:
The output may be slightly different if the pipeline does not handle ghost cells properly (i.e. you might see seames between the pieces).
See also:
vtkAppendFilter
Examples:
vtkPolyDataStreamer (examples)


Member Function Documentation

void vtkPolyDataStreamer::ComputeInputUpdateExtents vtkDataObject   output [protected, virtual]
 

What is the input update extent that is required to produce the desired output? By default, the whole input is always required but this is overridden in many subclasses.

Reimplemented from vtkPolyDataSource.

virtual const char* vtkPolyDataStreamer::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataToPolyDataFilter.

virtual int vtkPolyDataStreamer::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataToPolyDataFilter.

int vtkPolyDataStreamer::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataToPolyDataFilter.

vtkPolyDataStreamer* vtkPolyDataStreamer::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkPolyDataSource.

void vtkPolyDataStreamer::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 vtkSource.

vtkPolyDataStreamer* vtkPolyDataStreamer::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataToPolyDataFilter.

virtual void vtkPolyDataStreamer::SetColorByPiece int    [virtual]
 

By default, this option is off. When it is on, cell scalars are generated based on which piece they are in.

void vtkPolyDataStreamer::SetNumberOfStreamDivisions int    num
 

Ideally, this filter should determine how to break up the input by a limit on the memory use. Not all polydata sources and filters set the EstimatedMemorySize correctly. The current method is to specify the concrete number of divisions. Any request wil be further split by this factor.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:31:21 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002