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

Streamer 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 Types

typedef vtkStreamerBase Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPolyDataStreamerNewInstance () const
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 Member Functions

static vtkPolyDataStreamerNew ()
static int IsTypeOf (const char *type)
static vtkPolyDataStreamerSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPolyDataStreamer ()
 ~vtkPolyDataStreamer ()
virtual int FillOutputPortInformation (int port, vtkInformation *info)
virtual int FillInputPortInformation (int port, vtkInformation *info)
int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int ExecutePass (vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int PostExecute (vtkInformationVector **inputVector, vtkInformationVector *outputVector)

Protected Attributes

int ColorByPiece

Detailed Description

Streamer appends input pieces to the output.

vtkPolyDataStreamer initiates streaming by requesting pieces from its single input it appends these pieces to the requested output. Note that since vtkPolyDataStreamer uses an append filter, all the polygons generated have to be kept in memory before rendering. If these do not fit in the memory, it is possible to make the vtkPolyDataMapper stream. Since the mapper will render each piece separately, all the polygons do not have to stored in memory.

Attention:
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
Tests:
vtkPolyDataStreamer (Tests)

Definition at line 43 of file vtkPolyDataStreamer.h.


Member Typedef Documentation

Reimplemented from vtkStreamerBase.

Definition at line 48 of file vtkPolyDataStreamer.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from vtkAlgorithm.

static int vtkPolyDataStreamer::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 vtkStreamerBase.

virtual int vtkPolyDataStreamer::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 vtkStreamerBase.

Reimplemented from vtkStreamerBase.

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

Reimplemented from vtkStreamerBase.

Reimplemented from vtkStreamerBase.

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 vtkStreamerBase.

Set the number of pieces to divide the problem into.

Set the number of pieces to divide the problem into.

Definition at line 54 of file vtkPolyDataStreamer.h.

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.

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

virtual void vtkPolyDataStreamer::ColorByPieceOn ( ) [virtual]

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

virtual void vtkPolyDataStreamer::ColorByPieceOff ( ) [virtual]

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

virtual int vtkPolyDataStreamer::FillOutputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the output port information objects for this algorithm. This is invoked by the first call to GetOutputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkAlgorithm.

virtual int vtkPolyDataStreamer::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkAlgorithm.

This is called by the superclass. This is the method you should override.

Implements vtkStreamerBase.

virtual int vtkPolyDataStreamer::ExecutePass ( vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Implements vtkStreamerBase.

virtual int vtkPolyDataStreamer::PostExecute ( vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Reimplemented from vtkStreamerBase.


Member Data Documentation

Definition at line 85 of file vtkPolyDataStreamer.h.


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