VTK  9.1.0
vtkStreamSurface.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkStreamSurface.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 =========================================================================*/
26 #ifndef vtkStreamSurface_h
27 #define vtkStreamSurface_h
28 
29 #include "vtkFiltersFlowPathsModule.h" // For export macro
30 #include "vtkStreamTracer.h"
31 
32 class vtkAppendPolyData;
34 
35 class VTKFILTERSFLOWPATHS_EXPORT vtkStreamSurface : public vtkStreamTracer
36 {
37 public:
38  static vtkStreamSurface* New();
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
43 
46  vtkSetMacro(UseIterativeSeeding, bool);
47  vtkGetMacro(UseIterativeSeeding, bool);
49 
50 protected:
52  ~vtkStreamSurface() override;
53 
55 
56 private:
57  vtkStreamSurface(const vtkStreamSurface&) = delete;
58  void operator=(const vtkStreamSurface&) = delete;
59 
67  int AdvectSimple(vtkDataSet* field, vtkPolyData* seeds, vtkPolyData* output);
68 
82  int AdvectIterative(
83  vtkDataSet* field, vtkPolyData* seeds, int integrationDirection, vtkPolyData* output);
84 
88  bool UseIterativeSeeding = false;
89 
90  vtkNew<vtkRuledSurfaceFilter> RuledSurface;
91  vtkNew<vtkStreamTracer> StreamTracer;
92  vtkNew<vtkAppendPolyData> AppendSurfaces;
93 };
94 #endif
appends one or more polygonal datasets together
abstract class to specify dataset behavior
Definition: vtkDataSet.h:57
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
generates a surface from a set of lines
Advect a stream surface in a vector field.
~vtkStreamSurface() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkStreamSurface * New()
Streamline generator.
@ field
Definition: vtkX3D.h:183