VTK
vtkPolyDataStreamer.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolyDataStreamer.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
35 #ifndef vtkPolyDataStreamer_h
36 #define vtkPolyDataStreamer_h
37 
38 #include "vtkFiltersGeneralModule.h" // For export macro
39 #include "vtkStreamerBase.h"
40 
41 class vtkAppendPolyData;
42 
44 {
45 public:
46  static vtkPolyDataStreamer *New();
47 
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
53  void SetNumberOfStreamDivisions(int num);
55  {
56  return this->NumberOfPasses;
57  }
59 
61 
63  vtkSetMacro(ColorByPiece, int);
64  vtkGetMacro(ColorByPiece, int);
65  vtkBooleanMacro(ColorByPiece, int);
67 
68 
69 protected:
72 
73  // see algorithm for more info
76 
78 
79  virtual int ExecutePass(vtkInformationVector **inputVector,
80  vtkInformationVector *outputVector);
81 
82  virtual int PostExecute(vtkInformationVector **inputVector,
83  vtkInformationVector *outputVector);
84 
86 private:
87  vtkPolyDataStreamer(const vtkPolyDataStreamer&); // Not implemented.
88  void operator=(const vtkPolyDataStreamer&); // Not implemented.
89 
90  vtkAppendPolyData* Append;
91 };
92 
93 #endif
Store vtkAlgorithm input/output information.
Streamer appends input pieces to the output.
Superclass for filters that stream input pipeline.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int PostExecute(vtkInformationVector **, vtkInformationVector *)
appends one or more polygonal datasets together
#define VTKFILTERSGENERAL_EXPORT
unsigned int NumberOfPasses
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int ExecutePass(vtkInformationVector **inputVector, vtkInformationVector *outputVector)=0
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)=0
virtual void PrintSelf(ostream &os, vtkIndent indent)