#include <vtkPolyDataStreamer.h>
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.
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 vtkPolyDataStreamer * | New () |
static int | IsTypeOf (const char *type) |
static vtkPolyDataStreamer * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPolyDataStreamer () | |
~vtkPolyDataStreamer () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
int | NumberOfStreamDivisions |
int | ColorByPiece |
vtkPolyDataStreamer::vtkPolyDataStreamer | ( | ) | [protected] |
vtkPolyDataStreamer::~vtkPolyDataStreamer | ( | ) | [protected] |
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 vtkTypeMacro 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 vtkTypeMacro 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.
int vtkPolyDataStreamer::NumberOfStreamDivisions [protected] |
Definition at line 71 of file vtkPolyDataStreamer.h.
int vtkPolyDataStreamer::ColorByPiece [protected] |
Definition at line 72 of file vtkPolyDataStreamer.h.