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
vtkStreamerBase Class Referenceabstract

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

#include <vtkStreamerBase.h>

Inheritance diagram for vtkStreamerBase:
[legend]

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 vtkObjectBase * NewInstanceInternal () 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

typedef vtkAlgorithm vtkStreamerBase::Superclass

Definition at line 41 of file vtkStreamerBase.h.

Constructor & Destructor Documentation

vtkStreamerBase::vtkStreamerBase ( )
protected
vtkStreamerBase::~vtkStreamerBase ( )
protected

Member Function Documentation

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

Reimplemented in vtkPolyDataStreamer.

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

Reimplemented in vtkPolyDataStreamer.

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

Reimplemented in vtkPolyDataStreamer.

virtual int vtkStreamerBase::ProcessRequest ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
virtual

see vtkAlgorithm for details

virtual int vtkStreamerBase::RequestInformation ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
inlineprotectedvirtual

Definition at line 55 of file vtkStreamerBase.h.

virtual int vtkStreamerBase::RequestUpdateExtent ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedpure 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 
)
protectedvirtual
virtual int vtkStreamerBase::ExecutePass ( vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedpure virtual

Implemented in vtkPolyDataStreamer.

virtual int vtkStreamerBase::PostExecute ( vtkInformationVector **  ,
vtkInformationVector *   
)
inlineprotectedvirtual

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: