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
34
35class VTKFILTERSFLOWPATHS_EXPORT vtkStreamSurface : public vtkStreamTracer
36{
37public:
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
43
46 vtkSetMacro(UseIterativeSeeding, bool);
47 vtkGetMacro(UseIterativeSeeding, bool);
49
50protected:
53
55
56private:
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
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:166
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:195
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.
static vtkStreamSurface * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Streamline generator.
@ field
Definition: vtkX3D.h:183