VTK
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=========================================================================*/
30#ifndef vtkPStreamTracer_h
31#define vtkPStreamTracer_h
32
33#include "vtkStreamTracer.h"
34#include "vtkSmartPointer.h" // This is a leaf node. No need to use PIMPL to avoid compile time penalty.
35
38
39class PStreamTracerPoint;
41class AbstractPStreamTracerUtils;
42
43#include "vtkFiltersParallelFlowPathsModule.h" // For export macro
44
45class VTKFILTERSPARALLELFLOWPATHS_EXPORT vtkPStreamTracer : public vtkStreamTracer
46{
47public:
49 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
50
52
58 virtual void SetController(vtkMultiProcessController* controller);
59 vtkGetObjectMacro(Controller, vtkMultiProcessController);
61
63
64protected:
65
68
71
73
76
78private:
79 vtkPStreamTracer(const vtkPStreamTracer&) VTK_DELETE_FUNCTION;
80 void operator=(const vtkPStreamTracer&) VTK_DELETE_FUNCTION;
81
82 void Trace( vtkDataSet *input,
83 int vecType,
84 const char* vecName,
85 PStreamTracerPoint* pt,
88 int maxCellSize);
89
90 bool TraceOneStep(vtkPolyData* traceOut, vtkAbstractInterpolatedVelocityField*, PStreamTracerPoint* pt);
91
92 void Prepend(vtkPolyData* path, vtkPolyData* headh);
93 int Rank;
94 int NumProcs;
95
96 friend class AbstractPStreamTracerUtils;
98};
99#endif
An abstract class for obtaining the interpolated velocity values at a point.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
hierarchical dataset of vtkUniformGrids
parallel streamline generators
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
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 ...
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void SetInterpolator(vtkAbstractInterpolatedVelocityField *)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkPStreamTracer * New()
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
Streamline generator.