VTK  9.2.6
vtkStreaklineFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkStreaklineFilter.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 =========================================================================*/
29 #ifndef vtkStreaklineFilter_h
30 #define vtkStreaklineFilter_h
31 
32 #include "vtkFiltersFlowPathsModule.h" // For export macro
33 #include "vtkParticleTracerBase.h"
34 #include "vtkSmartPointer.h" // For protected ivars.
35 
36 class VTKFILTERSFLOWPATHS_EXPORT StreaklineFilterInternal
37 {
38 public:
40  : Filter(nullptr)
41  {
42  }
43  void Initialize(vtkParticleTracerBase* filter);
44  virtual ~StreaklineFilterInternal() = default;
45  virtual int OutputParticles(vtkPolyData* particles);
46  void Finalize();
47  void Reset();
48 
49 private:
50  vtkParticleTracerBase* Filter;
51 };
52 
53 class VTKFILTERSFLOWPATHS_EXPORT vtkStreaklineFilter : public vtkParticleTracerBase
54 {
55 public:
57  void PrintSelf(ostream& os, vtkIndent indent) override;
58 
59  static vtkStreaklineFilter* New();
60 
61 protected:
63  ~vtkStreaklineFilter() override = default;
65  void operator=(const vtkStreaklineFilter&) = delete;
66  int OutputParticles(vtkPolyData* particles) override;
67  void Finalize() override;
68 
70 };
71 
72 #endif
StreaklineFilterInternal It
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:90
static vtkPolyDataAlgorithm * New()
A Parallel Particle tracer for unsteady vector fields.
a simple class to control print indentation
Definition: vtkIndent.h:39
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int OutputParticles(vtkPolyData *poly)=0
A particle tracer for vector fields.