VTK
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 "vtkSmartPointer.h" // For protected ivars.
34 #include "vtkParticleTracerBase.h"
35 
36 class VTKFILTERSFLOWPATHS_EXPORT StreaklineFilterInternal
37 {
38 public:
39  StreaklineFilterInternal():Filter(nullptr){}
40  void Initialize(vtkParticleTracerBase* filter);
42  virtual int OutputParticles(vtkPolyData* poly);
43  void Finalize();
44  void Reset();
45 private:
46  vtkParticleTracerBase* Filter;
47 
48 };
49 
50 
51 class VTKFILTERSFLOWPATHS_EXPORT vtkStreaklineFilter: public vtkParticleTracerBase
52 {
53  public:
55  void PrintSelf(ostream& os, vtkIndent indent) override;
56 
57  static vtkStreaklineFilter *New();
58 
59  protected:
61  ~vtkStreaklineFilter() override{}
63  void operator=(const vtkStreaklineFilter&) = delete;
64  int OutputParticles(vtkPolyData* poly) override;
65  void Finalize() override;
66 
68 };
69 
70 
71 #endif
StreaklineFilterInternal It
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
A Parallel Particle tracer for unsteady vector fields.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int OutputParticles(vtkPolyData *poly)=0
A particle tracer for vector fields.