vtkPolyDataStreamer Class Reference

#include <vtkPolyDataStreamer.h>

Inheritance diagram for vtkPolyDataStreamer:

Inheritance graph
[legend]
Collaboration diagram for vtkPolyDataStreamer:

Collaboration graph
[legend]

List of all members.


Detailed Description

Stream appends input pieces to the output.

vtkPolyDataStreamer initiates streaming by requesting pieces from its single input it appends these pieces it 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 40 of file vtkPolyDataStreamer.h.


Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetNumberOfStreamDivisions (int num)
virtual 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 (vtkObject *o)

Protected Member Functions

 vtkPolyDataStreamer ()
 ~vtkPolyDataStreamer ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

int NumberOfStreamDivisions
int ColorByPiece

Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 45 of file vtkPolyDataStreamer.h.


Constructor & Destructor Documentation

vtkPolyDataStreamer::vtkPolyDataStreamer (  )  [protected]

vtkPolyDataStreamer::~vtkPolyDataStreamer (  )  [protected]


Member Function Documentation

static vtkPolyDataStreamer* vtkPolyDataStreamer::New (  )  [static]

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

Reimplemented from vtkPolyDataAlgorithm.

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

Reimplemented from vtkPolyDataAlgorithm.

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

Reimplemented from vtkPolyDataAlgorithm.

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

Reimplemented from vtkPolyDataAlgorithm.

static vtkPolyDataStreamer* vtkPolyDataStreamer::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkPolyDataAlgorithm.

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

void vtkPolyDataStreamer::SetNumberOfStreamDivisions ( int  num  ) 

Set the number of pieces to divide the problem into.

virtual int vtkPolyDataStreamer::GetNumberOfStreamDivisions (  )  [virtual]

Set the number of pieces to divide the problem into.

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.

virtual int vtkPolyDataStreamer::GetColorByPiece (  )  [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::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.

int vtkPolyDataStreamer::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

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

Reimplemented from vtkPolyDataAlgorithm.

int vtkPolyDataStreamer::RequestUpdateExtent ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

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

Reimplemented from vtkPolyDataAlgorithm.


Member Data Documentation

Definition at line 71 of file vtkPolyDataStreamer.h.

Definition at line 72 of file vtkPolyDataStreamer.h.


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

Generated on Sat Dec 27 13:43:57 2008 for VTK by  doxygen 1.5.6