00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00035 #ifndef __vtkPolyDataStreamer_h
00036 #define __vtkPolyDataStreamer_h
00037
00038 #include "vtkPolyDataAlgorithm.h"
00039
00040 class VTK_GRAPHICS_EXPORT vtkPolyDataStreamer : public vtkPolyDataAlgorithm
00041 {
00042 public:
00043 static vtkPolyDataStreamer *New();
00044
00045 vtkTypeRevisionMacro(vtkPolyDataStreamer,vtkPolyDataAlgorithm);
00046 void PrintSelf(ostream& os, vtkIndent indent);
00047
00049
00050 void SetNumberOfStreamDivisions(int num);
00051 vtkGetMacro(NumberOfStreamDivisions,int);
00053
00055
00057 vtkSetMacro(ColorByPiece, int);
00058 vtkGetMacro(ColorByPiece, int);
00059 vtkBooleanMacro(ColorByPiece, int);
00061
00062
00063 protected:
00064 vtkPolyDataStreamer();
00065 ~vtkPolyDataStreamer();
00066
00067
00068 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00069 int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00070
00071 int NumberOfStreamDivisions;
00072 int ColorByPiece;
00073 private:
00074 vtkPolyDataStreamer(const vtkPolyDataStreamer&);
00075 void operator=(const vtkPolyDataStreamer&);
00076 };
00077
00078 #endif