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

Superclass for filters that stream input pipeline. More...

#include <vtkStreamerBase.h>

Inheritance diagram for vtkStreamerBase:
Inheritance graph
[legend]
Collaboration diagram for vtkStreamerBase:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkStreamerBaseNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkStreamerBaseSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkStreamerBase ()
 ~vtkStreamerBase ()
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int ExecutePass (vtkInformationVector **inputVector, vtkInformationVector *outputVector)=0
virtual int PostExecute (vtkInformationVector **, vtkInformationVector *)
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)=0

Protected Attributes

unsigned int NumberOfPasses
unsigned int CurrentIndex

Detailed Description

Superclass for filters that stream input pipeline.

This class can be used as a superclass for filters that want to stream their input pipeline by making multiple execution passes. The subclass needs to set NumberOfPasses to > 1 before execution ( usuall in the constructor or in RequestInformation) to initiate streaming. vtkStreamerBase will handle streaming while calling ExecutePass() during each pass. CurrentIndex can be used to obtain the index for the current pass. Finally, PostExecute() is called after the last pass and can be used to cleanup any internal data structures and create the actual output.

Definition at line 38 of file vtkStreamerBase.h.


Member Typedef Documentation

Reimplemented from vtkAlgorithm.

Reimplemented in vtkPolyDataStreamer.

Definition at line 41 of file vtkStreamerBase.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented in vtkPolyDataStreamer.

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

Reimplemented in vtkPolyDataStreamer.

Reimplemented from vtkAlgorithm.

Reimplemented in vtkPolyDataStreamer.

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

Reimplemented from vtkAlgorithm.

Reimplemented in vtkPolyDataStreamer.

Reimplemented from vtkAlgorithm.

Reimplemented in vtkPolyDataStreamer.

virtual void vtkStreamerBase::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 vtkAlgorithm.

Reimplemented in vtkPolyDataStreamer.

see vtkAlgorithm for details

Reimplemented from vtkAlgorithm.

virtual int vtkStreamerBase::RequestInformation ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [inline, protected, virtual]

Definition at line 55 of file vtkStreamerBase.h.

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

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

Implemented in vtkPolyDataStreamer.

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

Implemented in vtkPolyDataStreamer.

virtual int vtkStreamerBase::PostExecute ( vtkInformationVector **  ,
vtkInformationVector  
) [inline, protected, virtual]

Reimplemented in vtkPolyDataStreamer.

Definition at line 81 of file vtkStreamerBase.h.


Member Data Documentation

unsigned int vtkStreamerBase::NumberOfPasses [protected]

Definition at line 87 of file vtkStreamerBase.h.

unsigned int vtkStreamerBase::CurrentIndex [protected]

Definition at line 88 of file vtkStreamerBase.h.


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