55 virtual bool findNearestIntersection(
double x,
double y,
double z,
58 std::list<osg::Node*>* excludeNodeList,
bool returnHitTriangle,
59 double maxIsectorLength,
bool useHighLod );
74 virtual bool findIntersectionsThroughPoint(
double x,
double y,
double z,
75 double vx,
double vy,
double vz,
78 std::list<osg::Node*>* excludeNodeList,
bool returnHitTriangle,
79 double maxIsectorLength,
bool sort,
bool useHighLod );
86 virtual bool intersectLineSegmentWithScene(
double x,
double y,
double z,
87 double end_x,
double end_y,
double end_z,
91 std::list<osg::Node*>* excludeNodeList=0,
92 bool returnHitTriangle=
false,
bool useHighLod=
false );
99 virtual bool intersectLineSegmentWithScene(
double x,
double y,
double z,
100 double end_x,
double end_y,
double end_z,
104 std::list<osg::Node*>* excludeNodeList=0,
105 bool returnHitTriangle=
false,
bool sort=
true,
bool useHighLod=
false );
109 virtual bool pick( osgViewer::View& view,
double mx,
double my,
112 std::list<osg::Node*>* excludeNodeList=0,
113 bool returnHitTriangle=
false );
117 virtual bool pick( osgViewer::View& view,
double mx,
double my,
120 std::list<osg::Node*>* excludeNodeList=0,
121 bool returnHitTriangle=
false );
124 virtual bool doOceanPick(
const DtCameraNode& sceneCamera,
double mx,
125 double my,
DtVector& oceanIntersectLocation,
DtVector& oceanIntersectNormal,
128 virtual bool pickTritonWaves(
const DtCameraNode& sceneCamera,
double mx,
132 virtual bool pickTritonSeaLevel(
const DtCameraNode& sceneCamera,
139 virtual bool intersectTritonWaves(
const DtVector& start,
const DtVector& dir,
142 virtual bool intersectTritonSeaLevel(
const DtVector& start,
const DtVector& dir,
148 virtual bool addOceanIntersectIfCloser(
const DtVector& start,
const DtVector& end,
151 virtual void fillOceanIntersection(
const DtVector& oceanIntersectLocation,
154 virtual bool calcEndpointsFromDirectionAndLength(
double x,
double y,
155 double z,
double vx,
double vy,
double vz,
double length,