VTK  9.3.20240328
vtkPolyDataStreamer.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
24 #ifndef vtkPolyDataStreamer_h
25 #define vtkPolyDataStreamer_h
26 
27 #include "vtkFiltersGeneralModule.h" // For export macro
28 #include "vtkStreamerBase.h"
29 
30 VTK_ABI_NAMESPACE_BEGIN
31 class vtkAppendPolyData;
32 
33 class VTKFILTERSGENERAL_EXPORT vtkPolyDataStreamer : public vtkStreamerBase
34 {
35 public:
37 
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
48 
50 
54  vtkSetMacro(ColorByPiece, vtkTypeBool);
55  vtkGetMacro(ColorByPiece, vtkTypeBool);
56  vtkBooleanMacro(ColorByPiece, vtkTypeBool);
58 
59 protected:
62 
63  // see algorithm for more info
66 
68 
69  int ExecutePass(vtkInformationVector** inputVector, vtkInformationVector* outputVector) override;
70 
71  int PostExecute(vtkInformationVector** inputVector, vtkInformationVector* outputVector) override;
72 
74 
75 private:
77  void operator=(const vtkPolyDataStreamer&) = delete;
78 
79  vtkAppendPolyData* Append;
80 };
81 
82 VTK_ABI_NAMESPACE_END
83 #endif
appends one or more polygonal datasets together
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Streamer appends input pieces to the output.
void SetNumberOfStreamDivisions(int num)
Set the number of pieces to divide the problem into.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
~vtkPolyDataStreamer() override
int ExecutePass(vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int PostExecute(vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
int GetNumberOfStreamDivisions()
Set the number of pieces to divide the problem into.
static vtkPolyDataStreamer * New()
Superclass for filters that stream input pipeline.
unsigned int NumberOfPasses
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
int vtkTypeBool
Definition: vtkABI.h:64