VTK  9.3.0
vtkStreamSurface.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkStreamSurface_h
18 #define vtkStreamSurface_h
19 
20 #include "vtkFiltersFlowPathsModule.h" // For export macro
21 #include "vtkStreamTracer.h"
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class vtkAppendPolyData;
26 
27 class VTKFILTERSFLOWPATHS_EXPORT vtkStreamSurface : public vtkStreamTracer
28 {
29 public:
30  static vtkStreamSurface* New();
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
35 
38  vtkSetMacro(UseIterativeSeeding, bool);
39  vtkGetMacro(UseIterativeSeeding, bool);
40  vtkBooleanMacro(UseIterativeSeeding, bool);
42 
43 protected:
45  ~vtkStreamSurface() override;
46 
48 
49 private:
50  vtkStreamSurface(const vtkStreamSurface&) = delete;
51  void operator=(const vtkStreamSurface&) = delete;
52 
60  int AdvectSimple(vtkDataObject* field, vtkPolyData* seeds, vtkPolyData* output);
61 
75  int AdvectIterative(
76  vtkDataObject* field, vtkPolyData* seeds, int integrationDirection, vtkPolyData* output);
77 
81  bool UseIterativeSeeding = false;
82 
83  vtkNew<vtkRuledSurfaceFilter> RuledSurface;
84  vtkNew<vtkStreamTracer> StreamTracer;
85  vtkNew<vtkAppendPolyData> AppendSurfaces;
86 };
87 VTK_ABI_NAMESPACE_END
88 #endif
appends one or more polygonal datasets together
general representation of visualization data
Definition: vtkDataObject.h:64
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:89
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:177