VTK  9.2.6
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
36#ifndef vtkPolyDataStreamer_h
37#define vtkPolyDataStreamer_h
38
39#include "vtkFiltersGeneralModule.h" // For export macro
40#include "vtkStreamerBase.h"
41
43
44class VTKFILTERSGENERAL_EXPORT vtkPolyDataStreamer : public vtkStreamerBase
45{
46public:
48
50 void PrintSelf(ostream& os, vtkIndent indent) override;
51
53
59
61
67 vtkBooleanMacro(ColorByPiece, vtkTypeBool);
69
70protected:
73
74 // see algorithm for more info
75 int FillOutputPortInformation(int port, vtkInformation* info) override;
76 int FillInputPortInformation(int port, vtkInformation* info) override;
77
79
80 int ExecutePass(vtkInformationVector** inputVector, vtkInformationVector* outputVector) override;
81
82 int PostExecute(vtkInformationVector** inputVector, vtkInformationVector* outputVector) override;
83
85
86private:
88 void operator=(const vtkPolyDataStreamer&) = delete;
89
90 vtkAppendPolyData* Append;
91};
92
93#endif
appends one or more polygonal datasets together
a simple class to control print indentation
Definition vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
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.
unsigned int NumberOfPasses
int vtkTypeBool
Definition vtkABI.h:69