22 #ifndef vtkPVRayCastPickingHelper_h 23 #define vtkPVRayCastPickingHelper_h 25 #include "vtkObject.h" 26 #include "vtkPVClientServerCoreRenderingModule.h" 35 void PrintSelf(ostream& os, vtkIndent indent);
40 void SetInput(vtkAlgorithm*);
45 void SetSelection(vtkAlgorithm*);
51 vtkSetVector3Macro(PointA,
double);
52 vtkGetVector3Macro(PointA,
double);
59 vtkSetVector3Macro(PointB,
double);
60 vtkGetVector3Macro(PointB,
double);
67 vtkSetMacro(SnapOnMeshPoint,
bool);
68 vtkGetMacro(SnapOnMeshPoint,
bool);
74 void ComputeIntersection();
78 vtkGetVector3Macro(Intersection,
double);
87 void ComputeIntersectionFromDataSet(vtkDataSet* ds);
89 double Intersection[3];
helper class that used selection and ray casting to find the intersection point between the user pick...