VTK  9.2.6
vtkPStreamTracer.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPStreamTracer.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=========================================================================*/
28#ifndef vtkPStreamTracer_h
29#define vtkPStreamTracer_h
30
31#include "vtkSmartPointer.h" // This is a leaf node. No need to use PIMPL to avoid compile time penalty.
32#include "vtkStreamTracer.h"
33
36
37class PStreamTracerPoint;
39class AbstractPStreamTracerUtils;
40
41#include "vtkFiltersParallelFlowPathsModule.h" // For export macro
42
43class VTKFILTERSPARALLELFLOWPATHS_EXPORT vtkPStreamTracer : public vtkStreamTracer
44{
45public:
47
53 void PrintSelf(ostream& os, vtkIndent indent) override;
55
57
62 virtual void SetController(vtkMultiProcessController* controller);
63 vtkGetObjectMacro(Controller, vtkMultiProcessController);
65
66protected:
69
72
74
77
79
80private:
81 vtkPStreamTracer(const vtkPStreamTracer&) = delete;
82 void operator=(const vtkPStreamTracer&) = delete;
83
84 void Trace(vtkDataSet* input, int vecType, const char* vecName, PStreamTracerPoint* pt,
86 int maxCellSize);
87
88 bool TraceOneStep(
89 vtkPolyData* traceOut, vtkAbstractInterpolatedVelocityField*, PStreamTracerPoint* pt);
90
91 void Prepend(vtkPolyData* path, vtkPolyData* headh);
92 int Rank;
93 int NumProcs;
94
95 friend class AbstractPStreamTracerUtils;
97};
98#endif
An abstract class for obtaining the interpolated velocity values at a point.
abstract class to specify dataset behavior
Definition vtkDataSet.h:57
a simple class to control print indentation
Definition vtkIndent.h:34
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
Definition vtkPolyData.h:85
Hold a reference to a vtkObjectBase instance.
Streamline generator.