51 #ifndef vtkHyperStreamline_h
52 #define vtkHyperStreamline_h
54 #include "vtkFiltersGeneralModule.h"
57 #define VTK_INTEGRATE_FORWARD 0
58 #define VTK_INTEGRATE_BACKWARD 1
59 #define VTK_INTEGRATE_BOTH_DIRECTIONS 2
61 #define VTK_INTEGRATE_MAJOR_EIGENVECTOR 0
62 #define VTK_INTEGRATE_MEDIUM_EIGENVECTOR 1
63 #define VTK_INTEGRATE_MINOR_EIGENVECTOR 2
85 void SetStartLocation(
vtkIdType cellId,
int subId,
double pcoords[3]);
91 void SetStartLocation(
vtkIdType cellId,
int subId,
double r,
double s,
double t);
97 vtkIdType GetStartLocation(
int& subId,
double pcoords[3]);
104 void SetStartPosition(
double x[3]);
111 void SetStartPosition(
double x,
double y,
double z);
123 vtkSetClampMacro(MaximumPropagationDistance,
double, 0.0,
VTK_DOUBLE_MAX);
124 vtkGetMacro(MaximumPropagationDistance,
double);
140 vtkGetMacro(IntegrationEigenvector,
int);
141 void SetIntegrationEigenvectorToMajor()
143 this->SetIntegrationEigenvector(VTK_INTEGRATE_MAJOR_EIGENVECTOR);
182 vtkSetClampMacro(IntegrationStepLength,
double, 0.001, 0.5);
183 vtkGetMacro(IntegrationStepLength,
double);
192 vtkSetClampMacro(StepLength,
double, 0.000001, 1.0);
193 vtkGetMacro(StepLength,
double);
201 vtkGetMacro(IntegrationDirection,
int);
218 vtkSetClampMacro(TerminalEigenvalue,
double, 0.0,
VTK_DOUBLE_MAX);
219 vtkGetMacro(TerminalEigenvalue,
double);
227 vtkSetClampMacro(NumberOfSides,
int, 3,
VTK_INT_MAX);
228 vtkGetMacro(NumberOfSides,
int);
239 vtkGetMacro(Radius,
double);
268 double StartPCoords[3];
271 double StartPosition[3];
double MaximumPropagationDistance
void IntegrateMinorEigenvector()
Use the minor eigenvector field as the vector field through which to integrate.
void SetIntegrationEigenvectorToMinor()
Set / get the eigenvector field through which to ingrate.
abstract class to specify dataset behavior
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void SetIntegrationDirectionToForward()
Specify the direction in which to integrate the hyperstreamline.
void SetIntegrationDirectionToBackward()
Specify the direction in which to integrate the hyperstreamline.
concrete dataset represents vertices, lines, polygons, and triangle strips
#define VTK_INTEGRATE_MAJOR_EIGENVECTOR
#define VTK_INTEGRATE_MEDIUM_EIGENVECTOR
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
#define VTK_INTEGRATE_MINOR_EIGENVECTOR
a simple class to control print indentation
double IntegrationStepLength
#define VTK_INTEGRATE_FORWARD
int IntegrationEigenvector
void SetIntegrationEigenvectorToMedium()
Set / get the eigenvector field through which to ingrate.
double TerminalEigenvalue
#define VTK_SIZEHINT(...)
#define VTK_INTEGRATE_BACKWARD
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkHyperArray * Streamers
void SetIntegrationDirectionToIntegrateBothDirections()
Specify the direction in which to integrate the hyperstreamline.
void IntegrateMediumEigenvector()
Use the medium eigenvector field as the vector field through which to integrate.
void IntegrateMajorEigenvector()
Use the major eigenvector field as the vector field through which to integrate.
#define VTK_INTEGRATE_BOTH_DIRECTIONS
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
generate hyperstreamline in arbitrary dataset