VTK  9.4.20241117
vtkParticlePathFilter.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
17#ifndef vtkParticlePathFilter_h
18#define vtkParticlePathFilter_h
19
20#include "vtkFiltersFlowPathsModule.h" // For export macro
22#include "vtkSmartPointer.h" // For Points
23
24#include <functional> // for std::greater
25#include <map> // For Paths
26#include <queue> // For UnusedIndices
27#include <vector> // For Paths
28
29VTK_ABI_NAMESPACE_BEGIN
30
31class vtkPointSet;
32
33class VTKFILTERSFLOWPATHS_EXPORT vtkParticlePathFilter : public vtkParticleTracerBase
34{
35public:
37 // void PrintSelf(ostream& os, vtkIndent indent) override;
38
40
41protected:
43 ~vtkParticlePathFilter() override = default;
45 void operator=(const vtkParticlePathFilter&) = delete;
46
50
51private:
53 std::map<vtkIdType, std::vector<vtkIdType>> Paths;
54 std::priority_queue<vtkIdType, std::vector<vtkIdType>, std::greater<vtkIdType>> UnusedIndices;
55};
56
57VTK_ABI_NAMESPACE_END
58#endif
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
A Parallel Particle tracer for unsteady vector fields.
static vtkParticlePathFilter * New()
int Finalize(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkParticlePathFilter(const vtkParticlePathFilter &)=delete
vtkParticlePathFilter()=default
int Initialize(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void operator=(const vtkParticlePathFilter &)=delete
~vtkParticlePathFilter() override=default
int Execute(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
A particle tracer for vector fields.
concrete class for storing a set of points
Definition vtkPointSet.h:98
Hold a reference to a vtkObjectBase instance.