VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkPolyDataStreamer Class Reference

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

#include <vtkPolyDataStreamer.h>

Inheritance diagram for vtkPolyDataStreamer:
[legend]
Collaboration diagram for vtkPolyDataStreamer:
[legend]

Public Types

typedef vtkStreamerBase Superclass
 
- Public Types inherited from vtkStreamerBase
typedef vtkAlgorithm 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 ()
 
- Public Member Functions inherited from vtkStreamerBase
vtkStreamerBaseNewInstance () const
 
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 

Static Public Member Functions

static vtkPolyDataStreamerNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPolyDataStreamerSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkStreamerBase
static int IsTypeOf (const char *type)
 
static vtkStreamerBaseSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () 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 Member Functions inherited from vtkStreamerBase
 vtkStreamerBase ()
 
 ~vtkStreamerBase ()
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 

Protected Attributes

int ColorByPiece
 
- Protected Attributes inherited from vtkStreamerBase
unsigned int NumberOfPasses
 
unsigned int CurrentIndex
 

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

Definition at line 48 of file vtkPolyDataStreamer.h.

Constructor & Destructor Documentation

vtkPolyDataStreamer::vtkPolyDataStreamer ( )
protected
vtkPolyDataStreamer::~vtkPolyDataStreamer ( )
protected

Member Function Documentation

static vtkPolyDataStreamer* vtkPolyDataStreamer::New ( )
static
static int vtkPolyDataStreamer::IsTypeOf ( const char *  type)
static
virtual int vtkPolyDataStreamer::IsA ( const char *  type)
virtual

Reimplemented from vtkStreamerBase.

static vtkPolyDataStreamer* vtkPolyDataStreamer::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkPolyDataStreamer::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkStreamerBase.

vtkPolyDataStreamer* vtkPolyDataStreamer::NewInstance ( ) const
void vtkPolyDataStreamer::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Reimplemented from vtkStreamerBase.

void vtkPolyDataStreamer::SetNumberOfStreamDivisions ( int  num)

Set the number of pieces to divide the problem into.

int vtkPolyDataStreamer::GetNumberOfStreamDivisions ( )
inline

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.

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.

virtual int vtkPolyDataStreamer::FillOutputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual
virtual int vtkPolyDataStreamer::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual
int vtkPolyDataStreamer::RequestUpdateExtent ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

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

Implements vtkStreamerBase.

virtual int vtkPolyDataStreamer::ExecutePass ( vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

Implements vtkStreamerBase.

virtual int vtkPolyDataStreamer::PostExecute ( vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

Reimplemented from vtkStreamerBase.

Member Data Documentation

int vtkPolyDataStreamer::ColorByPiece
protected

Definition at line 85 of file vtkPolyDataStreamer.h.


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