VTK  9.0.1
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 =========================================================================*/
33 #ifndef vtkPolyDataStreamer_h
34 #define vtkPolyDataStreamer_h
35 
36 #include "vtkFiltersGeneralModule.h" // For export macro
37 #include "vtkStreamerBase.h"
38 
39 class vtkAppendPolyData;
40 
41 class VTKFILTERSGENERAL_EXPORT vtkPolyDataStreamer : public vtkStreamerBase
42 {
43 public:
45 
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
50 
56 
58 
62  vtkSetMacro(ColorByPiece, vtkTypeBool);
63  vtkGetMacro(ColorByPiece, vtkTypeBool);
64  vtkBooleanMacro(ColorByPiece, vtkTypeBool);
66 
67 protected:
70 
71  // see algorithm for more info
74 
76 
77  int ExecutePass(vtkInformationVector** inputVector, vtkInformationVector* outputVector) override;
78 
79  int PostExecute(vtkInformationVector** inputVector, vtkInformationVector* outputVector) override;
80 
82 
83 private:
85  void operator=(const vtkPolyDataStreamer&) = delete;
86 
87  vtkAppendPolyData* Append;
88 };
89 
90 #endif
vtkStreamerBase.h
vtkStreamerBase::NumberOfPasses
unsigned int NumberOfPasses
Definition: vtkStreamerBase.h:79
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:36
vtkPolyDataStreamer::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkPolyDataStreamer::PostExecute
int PostExecute(vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
vtkPolyDataStreamer::New
static vtkPolyDataStreamer * New()
vtkPolyDataStreamer::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkPolyDataStreamer::ExecutePass
int ExecutePass(vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
vtkPolyDataStreamer::SetNumberOfStreamDivisions
void SetNumberOfStreamDivisions(int num)
Set the number of pieces to divide the problem into.
vtkAppendPolyData
appends one or more polygonal datasets together
Definition: vtkAppendPolyData.h:43
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkPolyDataStreamer::GetNumberOfStreamDivisions
int GetNumberOfStreamDivisions()
Definition: vtkPolyDataStreamer.h:54
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkStreamerBase
Superclass for filters that stream input pipeline.
Definition: vtkStreamerBase.h:40
vtkPolyDataStreamer::vtkPolyDataStreamer
vtkPolyDataStreamer()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:65
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkPolyDataStreamer::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataStreamer::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkPolyDataStreamer::ColorByPiece
vtkTypeBool ColorByPiece
Definition: vtkPolyDataStreamer.h:81
vtkPolyDataStreamer::~vtkPolyDataStreamer
~vtkPolyDataStreamer() override
vtkPolyDataStreamer
Streamer appends input pieces to the output.
Definition: vtkPolyDataStreamer.h:42
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69