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";
Proxy object to connect input/output ports.
abstract class to specify dataset behavior
a simple class to control print indentation
Integrate a set of ordinary differential equations (initial value problem) in time.
A class for performing multithreaded execution.
Superclass for algorithms that produce only polydata as output.
vtkIdType InsertNextStreamPoint()
vtkIdType GetNumberOfPoints()
StreamPoint * Resize(vtkIdType sz)
StreamPoint * GetStreamPoint(vtkIdType i)
abstract object implements integration of massless particle through vector field
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
void SetIntegrationDirectionToForward()
double IntegrationStepLength
vtkIdType GetStartLocation(int &subId, double pcoords[3])
Get the starting location of the streamline in the cell coordinate system.
void SetStartLocation(vtkIdType cellId, int subId, double r, double s, double t)
Specify the start of the streamline in the cell coordinate system.
void SetIntegrator(vtkInitialValueProblemSolver *)
Set/get the integrator type to be used in the stream line calculation.
void SetStartPosition(double x[3])
Specify the start of the streamline in the global coordinate system.
void InitializeThreadedIntegrate()
vtkMultiThreader * Threader
vtkInitialValueProblemSolver * Integrator
vtkStreamer()
Construct object to start from position (0,0,0); integrate forward; terminal speed 0....
static VTK_THREAD_RETURN_TYPE ThreadedIntegrate(void *arg)
void SetSourceData(vtkDataSet *source)
Specify the source object used to generate starting points.
double MaximumPropagationTime
void SetIntegrationDirectionToIntegrateBothDirections()
const char * GetIntegrationDirectionAsString()
Return the integration direction as a character string.
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
Specify the source object used to generate starting points by making a pipeline connection.
void SetStartLocation(vtkIdType cellId, int subId, double pcoords[3])
Specify the start of the streamline in the cell coordinate system.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void Integrate(vtkDataSet *input, vtkDataSet *source)
vtkIdType NumberOfStreamers
StreamArray * GetStreamers()
void SetStartPosition(double x, double y, double z)
Specify the start of the streamline in the global coordinate system.
double * GetStartPosition()
Get the start position in global x-y-z coordinates.
void SetIntegrationDirectionToBackward()
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
#define VTK_INTEGRATE_BACKWARD
#define VTK_INTEGRATE_FORWARD
#define VTK_INTEGRATE_BOTH_DIRECTIONS
#define VTK_THREAD_RETURN_TYPE