VTK  9.0.1
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 =========================================================================*/
26 #ifndef vtkStreaklineFilter_h
27 #define vtkStreaklineFilter_h
28 
29 #include "vtkFiltersFlowPathsModule.h" // For export macro
30 #include "vtkParticleTracerBase.h"
31 #include "vtkSmartPointer.h" // For protected ivars.
32 
33 class VTKFILTERSFLOWPATHS_EXPORT StreaklineFilterInternal
34 {
35 public:
37  : Filter(nullptr)
38  {
39  }
40  void Initialize(vtkParticleTracerBase* filter);
42  virtual int OutputParticles(vtkPolyData* poly);
43  void Finalize();
44  void Reset();
45 
46 private:
47  vtkParticleTracerBase* Filter;
48 };
49 
50 class VTKFILTERSFLOWPATHS_EXPORT vtkStreaklineFilter : public vtkParticleTracerBase
51 {
52 public:
54  void PrintSelf(ostream& os, vtkIndent indent) override;
55 
56  static vtkStreaklineFilter* New();
57 
58 protected:
60  ~vtkStreaklineFilter() override {}
62  void operator=(const vtkStreaklineFilter&) = delete;
63  int OutputParticles(vtkPolyData* poly) override;
64  void Finalize() override;
65 
67 };
68 
69 #endif
StreaklineFilterInternal It
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
static vtkPolyDataAlgorithm * New()
A Parallel Particle tracer for unsteady vector fields.
a simple class to control print indentation
Definition: vtkIndent.h:33
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.