Go to the documentation of this file.
56 #include "vtkFiltersFlowPathsModule.h"
62 #ifndef VTK_LEGACY_REMOVE
64 #define VTK_INTEGRATE_FORWARD 0
65 #define VTK_INTEGRATE_BACKWARD 1
66 #define VTK_INTEGRATE_BOTH_DIRECTIONS 2
130 vtkGetMacro(MaximumPropagationTime,
double);
137 vtkSetClampMacro(IntegrationDirection,
int,
139 vtkGetMacro(IntegrationDirection,
int);
146 const char *GetIntegrationDirectionAsString();
155 vtkGetMacro(IntegrationStepLength,
double);
164 vtkGetMacro(SpeedScalars,
int);
177 vtkGetMacro(OrientationScalars,
int);
187 vtkGetMacro(TerminalSpeed,
double);
199 vtkGetMacro(Vorticity,
int);
204 vtkGetMacro( NumberOfThreads,
int );
207 vtkGetMacro( SavePointInterval,
double );
227 vtkGetMacro(Epsilon,
double);
250 double StartPCoords[3];
253 double StartPosition[3];
280 delete [] this->Array;
286 if ( ++this->MaxId >= this->Size )
288 this->Resize(this->MaxId);
360 void operator=(
const vtkStreamer&) VTK_DELETE_FUNCTION;
371 return "IntegrateForward";
375 return "IntegrateBackward";
379 return "IntegrateBothDirections";
384 #endif // VTK_LEGACY_REMOVE
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
void SetIntegrationDirectionToBackward()
#define VTK_INTEGRATE_FORWARD
vtkIdType NumberOfStreamers
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
Specify the source object used to generate starting points by making a pipeline connection.
StreamPoint * GetStreamPoint(vtkIdType i)
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
A class for performing multithreaded execution.
void SetStartPosition(double x, double y, double z)
Specify the start of the streamline in the global coordinate system.
void SetSourceData(vtkDataSet *source)
Specify the source object used to generate starting points.
void SetStartLocation(vtkIdType cellId, int subId, double pcoords[3])
Specify the start of the streamline in the cell coordinate system.
StreamPoint * Resize(vtkIdType sz)
a simple class to control print indentation
StreamArray * GetStreamers()
vtkIdType GetStartLocation(int &subId, double pcoords[3])
Get the starting location of the streamline in the cell coordinate system.
static VTK_THREAD_RETURN_TYPE ThreadedIntegrate(void *arg)
void SetIntegrator(vtkInitialValueProblemSolver *)
Set/get the integrator type to be used in the stream line calculation.
vtkStreamer()
Construct object to start from position (0,0,0); integrate forward; terminal speed 0....
const char * GetIntegrationDirectionAsString()
Return the integration direction as a character string.
double * GetStartPosition()
Get the start position in global x-y-z coordinates.
vtkIdType GetNumberOfPoints()
double MaximumPropagationTime
#define VTK_THREAD_RETURN_TYPE
void SetStartPosition(double x[3])
Specify the start of the streamline in the global coordinate system.
abstract class to specify dataset behavior
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
double IntegrationStepLength
void SetIntegrationDirectionToForward()
Proxy object to connect input/output ports.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
#define VTK_INTEGRATE_BACKWARD
vtkIdType InsertNextStreamPoint()
abstract object implements integration of massless particle through vector field
#define VTK_INTEGRATE_BOTH_DIRECTIONS
void Integrate(vtkDataSet *input, vtkDataSet *source)
Integrate a set of ordinary differential equations (initial value problem) in time.
void InitializeThreadedIntegrate()
void SetIntegrationDirectionToIntegrateBothDirections()
vtkInitialValueProblemSolver * Integrator
vtkMultiThreader * Threader
void SetStartLocation(vtkIdType cellId, int subId, double r, double s, double t)
Specify the start of the streamline in the cell coordinate system.
Superclass for algorithms that produce only polydata as output.