VTK  9.4.20250102
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#ifndef vtkPStreamTracer_h
20#define vtkPStreamTracer_h
21
22#include "vtkSmartPointer.h" // This is a leaf node. No need to use PIMPL to avoid compile time penalty.
23#include "vtkStreamTracer.h"
24
25VTK_ABI_NAMESPACE_BEGIN
28
29class PStreamTracerPoint;
31class AbstractPStreamTracerUtils;
32
33VTK_ABI_NAMESPACE_END
34#include "vtkFiltersParallelFlowPathsModule.h" // For export macro
35
36VTK_ABI_NAMESPACE_BEGIN
37class VTKFILTERSPARALLELFLOWPATHS_EXPORT vtkPStreamTracer : public vtkStreamTracer
38{
39public:
41
47 void PrintSelf(ostream& os, vtkIndent indent) override;
49
51
56 virtual void SetController(vtkMultiProcessController* controller);
57 vtkGetObjectMacro(Controller, vtkMultiProcessController);
59
60protected:
63
66
68
71
73
74private:
75 vtkPStreamTracer(const vtkPStreamTracer&) = delete;
76 void operator=(const vtkPStreamTracer&) = delete;
77
78 void Trace(vtkDataSet* input, int vecType, const char* vecName, PStreamTracerPoint* pt,
80 int maxCellSize);
81
82 bool TraceOneStep(
83 vtkPolyData* traceOut, vtkAbstractInterpolatedVelocityField*, PStreamTracerPoint* pt);
84
85 void Prepend(vtkPolyData* path, vtkPolyData* headh);
86 int Rank;
87 int NumProcs;
88
89 friend class AbstractPStreamTracerUtils;
91};
92VTK_ABI_NAMESPACE_END
93#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.
hierarchical dataset of vtkUniformGrids
parallel streamline generators
vtkMultiProcessController * Controller
vtkAbstractInterpolatedVelocityField * Interpolator
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 SetInterpolator(vtkAbstractInterpolatedVelocityField *)
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.
Streamline generator.