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=========================================================================*/
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) VTK_OVERRIDE;
51
53
58 {
59 return this->NumberOfPasses;
60 }
62
64
68 vtkSetMacro(ColorByPiece, int);
69 vtkGetMacro(ColorByPiece, int);
70 vtkBooleanMacro(ColorByPiece, int);
72
73
74protected:
76 ~vtkPolyDataStreamer() VTK_OVERRIDE;
77
78 // see algorithm for more info
79 int FillOutputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
80 int FillInputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
81
82 int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
83
84 int ExecutePass(vtkInformationVector **inputVector,
85 vtkInformationVector *outputVector) VTK_OVERRIDE;
86
87 int PostExecute(vtkInformationVector **inputVector,
88 vtkInformationVector *outputVector) VTK_OVERRIDE;
89
90 int ColorByPiece;
91private:
92 vtkPolyDataStreamer(const vtkPolyDataStreamer&) VTK_DELETE_FUNCTION;
93 void operator=(const vtkPolyDataStreamer&) VTK_DELETE_FUNCTION;
94
95 vtkAppendPolyData* Append;
96};
97
98#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.
Streamer appends input pieces to the output.
static vtkPolyDataStreamer * New()
void SetNumberOfStreamDivisions(int num)
Set the number of pieces to divide the problem into.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkPolyDataStreamer() override
Superclass for filters that stream input pipeline.
unsigned int NumberOfPasses
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.