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 =========================================================================*/
26 #ifndef vtkStreaklineFilter_h
27 #define vtkStreaklineFilter_h
28 
29 #include "vtkFiltersFlowPathsModule.h" // For export macro
30 #include "vtkSmartPointer.h" // For protected ivars.
31 #include "vtkParticleTracerBase.h"
32 
33 class VTKFILTERSFLOWPATHS_EXPORT StreaklineFilterInternal
34 {
35 public:
36  StreaklineFilterInternal():Filter(nullptr){}
37  void Initialize(vtkParticleTracerBase* filter);
39  virtual int OutputParticles(vtkPolyData* poly);
40  void Finalize();
41  void Reset();
42 private:
43  vtkParticleTracerBase* Filter;
44 
45 };
46 
47 
48 class VTKFILTERSFLOWPATHS_EXPORT vtkStreaklineFilter: public vtkParticleTracerBase
49 {
50  public:
52  void PrintSelf(ostream& os, vtkIndent indent) override;
53 
54  static vtkStreaklineFilter *New();
55 
56  protected:
58  ~vtkStreaklineFilter() override{}
60  void operator=(const vtkStreaklineFilter&) = delete;
61  int OutputParticles(vtkPolyData* poly) override;
62  void Finalize() override;
63 
65 };
66 
67 
68 #endif
StreaklineFilterInternal It
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:79
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.