VTK  9.4.20250110
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
30VTK_ABI_NAMESPACE_BEGIN
32
33class VTKFILTERSGENERAL_EXPORT vtkPolyDataStreamer : public vtkStreamerBase
34{
35public:
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
59protected:
62
63 // see algorithm for more info
64 int FillOutputPortInformation(int port, vtkInformation* info) override;
65 int FillInputPortInformation(int port, vtkInformation* info) override;
66
68
69 int ExecutePass(vtkInformationVector** inputVector, vtkInformationVector* outputVector) override;
70
71 int PostExecute(vtkInformationVector** inputVector, vtkInformationVector* outputVector) override;
72
74
75private:
77 void operator=(const vtkPolyDataStreamer&) = delete;
78
79 vtkAppendPolyData* Append;
80};
81
82VTK_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.
static vtkPolyDataStreamer * New()
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.
Superclass for filters that stream input pipeline.
unsigned int NumberOfPasses
int vtkTypeBool
Definition vtkABI.h:64