VTK  9.7.20261109
vtkPStreamTracer.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
19
20#ifndef vtkPStreamTracer_h
21#define vtkPStreamTracer_h
22
23#include "vtkSmartPointer.h" // This is a leaf node. No need to use PIMPL to avoid compile time penalty.
24#include "vtkStreamTracer.h"
25
26VTK_ABI_NAMESPACE_BEGIN
29
30class PStreamTracerPoint;
32class AbstractPStreamTracerUtils;
33
34VTK_ABI_NAMESPACE_END
35#include "vtkFiltersParallelFlowPathsModule.h" // For export macro
36
37VTK_ABI_NAMESPACE_BEGIN
38class VTKFILTERSPARALLELFLOWPATHS_EXPORT vtkPStreamTracer : public vtkStreamTracer
39{
40public:
42
48 void PrintSelf(ostream& os, vtkIndent indent) override;
50
52
57 virtual void SetController(vtkMultiProcessController* controller);
60
61protected:
64
67
69
71
72private:
73 vtkPStreamTracer(const vtkPStreamTracer&) = delete;
74 void operator=(const vtkPStreamTracer&) = delete;
75
76 void Trace(vtkDataSet* input, int vecType, const char* vecName, PStreamTracerPoint* pt,
78 int maxCellSize);
79
80 bool TraceOneStep(
81 vtkPolyData* traceOut, vtkAbstractInterpolatedVelocityField*, PStreamTracerPoint* pt);
82
83 void Prepend(vtkPolyData* path, vtkPolyData* headh);
84 int Rank;
85 int NumProcs;
86
89};
90VTK_ABI_NAMESPACE_END
91#endif
An abstract class for obtaining the interpolated velocity values at a point.
abstract class to specify dataset behavior
Definition vtkDataSet.h:165
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
a multi-resolution dataset based on vtkCartesianGrid allowing overlaps
friend class AbstractPStreamTracerUtils
vtkMultiProcessController * Controller
virtual void SetController(vtkMultiProcessController *controller)
Set/Get the controller use in compositing (set to the global controller by default) If not using the ...
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods to instantiate the class, obtain type information and print object state.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkPStreamTracer() override
static vtkPStreamTracer * New()
Standard methods to instantiate the class, obtain type information and print object state.
concrete dataset represents vertices, lines, polygons, and triangle strips
Hold a reference to a vtkObjectBase instance.