16 #include <matrix/vlVector.h>
21 class DtDynamicOceanObjectManager;
56 virtual bool findNearestIntersection(
double x,
double y,
double z,
60 double maxIsectorLength,
bool useHighLod );
75 virtual bool findIntersectionsThroughPoint(
double x,
double y,
double z,
76 double vx,
double vy,
double vz,
80 double maxIsectorLength,
bool sort,
bool useHighLod );
87 virtual bool intersectLineSegmentWithScene(
double x,
double y,
double z,
88 double end_x,
double end_y,
double end_z,
93 bool returnHitTriangle=
false,
bool useHighLod=
false );
100 virtual bool intersectLineSegmentWithScene(
double x,
double y,
double z,
101 double end_x,
double end_y,
double end_z,
106 bool returnHitTriangle=
false,
bool sort=
true,
bool useHighLod=
false );
110 virtual bool pick( osgViewer::View& view,
double mx,
double my,
114 bool returnHitTriangle=
false );
118 virtual bool pick( osgViewer::View& view,
double mx,
double my,
122 bool returnHitTriangle=
false );
125 virtual bool doOceanPick(
const DtCameraNode& sceneCamera,
double mx,
126 double my,
DtVector& oceanIntersectLocation,
DtVector& oceanIntersectNormal,
129 virtual bool pickTritonWaves(
const DtCameraNode& sceneCamera,
double mx,
133 virtual bool pickTritonSeaLevel(
const DtCameraNode& sceneCamera,
140 virtual bool intersectTritonWaves(
const DtVector& start,
const DtVector& dir,
143 virtual bool intersectTritonSeaLevel(
const DtVector& start,
const DtVector& dir,
149 virtual bool addOceanIntersectIfCloser(
const DtVector& start,
const DtVector& end,
152 virtual void fillOceanIntersection(
const DtVector& oceanIntersectLocation,
155 virtual bool calcEndpointsFromDirectionAndLength(
double x,
double y,
156 double z,
double vx,
double vy,
double vz,
double length,
std::vector< DtSceneRoot > DtSceneRootList
A list of DtOsgRenderer::SceneRoots.
Definition: DtSceneRoot.h:117
Contains makVrv:DtOsgIntersector class.
DtIntersector is an abstract class that provides the interface for requesting intersections with the ...
Definition: DtIntersector.h:129
DtOsgIntersector is the OSG-specific implementation of the DtIntersector class.
Definition: DtOsgIntersector.h:82
DtOsgIntersectorResult is the OSG-specific implementation of DtIntersectorResult; it is a container c...
Definition: DtOsgIntersector.h:62
Descriptor for a single intersection result.
Definition: DtIntersector.h:33
std::vector< DtOsgIntersectorResult > DtOsgIntersections
Note that even with intersection debug drawing enabled, these OSG-specific functions do not result in...
Definition: DtOsgIntersector.h:189
Abstract creator base class.
Definition: DtTritonIntersector.h:167
static const unsigned int FlagAllOn
Nodemask bitflag definitions.
Definition: DtOsgNodeTraversalFlags.h:19
DtDynamicOceanObjectManager & myDynamicOceanObjectManager
Definition: DtTritonIntersector.h:161
Manager that provides direct access to the dynamic ocean objects in use within a display engine...
Definition: DtDynamicOceanObjectManager.h:27
Contains DLL export macros.
DtTritonIntersector works with the methods in the DtOsgIntersector class to provide a Triton-aware im...
Definition: DtTritonIntersector.h:28
DtOsgItersectorExclusions is a list of osg nodes from the scene graph and a list of element IDs to ex...
Definition: DtOsgIntersector.h:50
#define DT_DLL_VRVTRITON
Definition: vrvTriton.h:19
VR-Vantage specific subclass of OSG camera.
Definition: DtCameraNode.h:30
DT_DLL_vrfutil bool intersection(const DtRailSegment *currentSegment, const DtRailSegment *nextSegment)
Given two segments, determine if where they meet is an intersection or just a bend in the road...
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Abstract creator base class.
Definition: DtIntersector.h:387