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 =========================================================================*/
35 #ifndef vtkPolyDataStreamer_h
36 #define vtkPolyDataStreamer_h
37 
38 #include "vtkFiltersGeneralModule.h" // For export macro
39 #include "vtkStreamerBase.h"
40 
41 class vtkAppendPolyData;
42 
44 {
45 public:
47 
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
55  {
56  return this->NumberOfPasses;
57  }
59 
61 
63  vtkSetMacro(ColorByPiece, int);
64  vtkGetMacro(ColorByPiece, int);
65  vtkBooleanMacro(ColorByPiece, int);
67 
68 
69 protected:
72 
73  // see algorithm for more info
76 
78 
79  virtual int ExecutePass(vtkInformationVector **inputVector,
80  vtkInformationVector *outputVector);
81 
82  virtual int PostExecute(vtkInformationVector **inputVector,
83  vtkInformationVector *outputVector);
84 
86 private:
87  vtkPolyDataStreamer(const vtkPolyDataStreamer&); // Not implemented.
88  void operator=(const vtkPolyDataStreamer&); // Not implemented.
89 
90  vtkAppendPolyData* Append;
91 };
92 
93 #endif
vtkStreamerBase.h
vtkPolyDataStreamer::ExecutePass
virtual int ExecutePass(vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkPolyDataStreamer::PostExecute
virtual int PostExecute(vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkStreamerBase::NumberOfPasses
unsigned int NumberOfPasses
Definition: vtkStreamerBase.h:87
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkPolyDataStreamer::New
static vtkPolyDataStreamer * New()
vtkPolyDataStreamer::ColorByPiece
int ColorByPiece
Definition: vtkPolyDataStreamer.h:85
vtkPolyDataStreamer::SetNumberOfStreamDivisions
void SetNumberOfStreamDivisions(int num)
vtkAppendPolyData
appends one or more polygonal datasets together
Definition: vtkAppendPolyData.h:48
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkPolyDataStreamer::~vtkPolyDataStreamer
~vtkPolyDataStreamer()
vtkPolyDataStreamer::GetNumberOfStreamDivisions
int GetNumberOfStreamDivisions()
Definition: vtkPolyDataStreamer.h:54
vtkFiltersGeneralModule.h
vtkPolyDataStreamer::FillOutputPortInformation
virtual int FillOutputPortInformation(int port, vtkInformation *info)
vtkgl::num
GLuint GLuint num
Definition: vtkgl.h:16907
vtkPolyDataStreamer::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
VTKFILTERSGENERAL_EXPORT
#define VTKFILTERSGENERAL_EXPORT
Definition: vtkFiltersGeneralModule.h:15
vtkStreamerBase
Superclass for filters that stream input pipeline.
Definition: vtkStreamerBase.h:39
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkPolyDataStreamer::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkPolyDataStreamer::vtkPolyDataStreamer
vtkPolyDataStreamer()
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkPolyDataStreamer
Streamer appends input pieces to the output.
Definition: vtkPolyDataStreamer.h:44
vtkPolyDataStreamer::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)