52 #ifndef __vtkStreamer_h
53 #define __vtkStreamer_h
55 #include "vtkFiltersTracersModule.h"
61 #define VTK_INTEGRATE_FORWARD 0
62 #define VTK_INTEGRATE_BACKWARD 1
63 #define VTK_INTEGRATE_BOTH_DIRECTIONS 2
74 void SetStartLocation(
vtkIdType cellId,
int subId,
double pcoords[3]);
80 void SetStartLocation(
vtkIdType cellId,
int subId,
double r,
double s,
86 vtkIdType GetStartLocation(
int& subId,
double pcoords[3]);
91 void SetStartPosition(
double x[3]);
96 void SetStartPosition(
double x,
double y,
double z);
99 double *GetStartPosition();
113 vtkSetClampMacro(MaximumPropagationTime,
double,0.0,
VTK_DOUBLE_MAX);
114 vtkGetMacro(MaximumPropagationTime,
double);
119 vtkSetClampMacro(IntegrationDirection,
int,
121 vtkGetMacro(IntegrationDirection,
int);
122 void SetIntegrationDirectionToForward()
124 void SetIntegrationDirectionToBackward()
126 void SetIntegrationDirectionToIntegrateBothDirections()
128 const char *GetIntegrationDirectionAsString();
134 vtkSetClampMacro(IntegrationStepLength,
double,0.0000001,
VTK_DOUBLE_MAX);
135 vtkGetMacro(IntegrationStepLength,
double);
141 vtkSetMacro(SpeedScalars,
int);
142 vtkGetMacro(SpeedScalars,
int);
143 vtkBooleanMacro(SpeedScalars,
int);
152 vtkSetMacro(OrientationScalars,
int);
153 vtkGetMacro(OrientationScalars,
int);
154 vtkBooleanMacro(OrientationScalars,
int);
161 vtkGetMacro(TerminalSpeed,
double);
170 vtkSetMacro(Vorticity,
int);
171 vtkGetMacro(Vorticity,
int);
172 vtkBooleanMacro(Vorticity,
int);
175 vtkSetMacro( NumberOfThreads,
int );
176 vtkGetMacro( NumberOfThreads,
int );
178 vtkSetMacro( SavePointInterval,
double );
179 vtkGetMacro( SavePointInterval,
double );
193 vtkSetMacro(Epsilon,
double);
194 vtkGetMacro(Epsilon,
double);
215 double StartPCoords[3];
218 double StartPosition[3];
249 delete [] this->Array;
256 if ( ++this->MaxId >= this->Size )
258 this->Resize(this->MaxId);
316 vtkGetMacro( NumberOfStreamers,
vtkIdType );
320 void InitializeThreadedIntegrate();
337 return "IntegrateForward";
341 return "IntegrateBackward";
345 return "IntegrateBothDirections";