19 #include <matrix/vlVector.h>
24 class DtIntersectorCache;
55 virtual bool findNearestIntersectionToPoint(
double x,
double y,
double z,
58 std::vector<DtElementID>* ignoreList = 0,
bool returnTriangle =
false,
59 double maxIsectorLength = -1.,
bool useHighLod=
false );
68 virtual bool findAllIntersectionsThroughPoint(
double x,
double y,
double z,
71 std::vector<DtElementID>* ignoreList = 0,
bool sort =
true,
bool useHighLod=
false );
79 virtual bool findFirstIntersectWithLineSegment(
80 double x,
double y,
double z,
double end_x,
double end_y,
double end_z,
82 std::vector<DtElementID>* ignoreList=0,
bool useHighLod=
false);
90 virtual bool findAllIntersectWithLineSegment(
91 double x,
double y,
double z,
double end_x,
double end_y,
double end_z,
93 std::vector<DtElementID>* ignoreList=0,
bool sort=
true,
bool useHighLod=
false );
100 virtual bool pick(
DtChannel& channel,
double mx,
double my,
102 std::vector<DtElementID>* ignoreList=0);
108 virtual bool pickAll(
DtChannel* channel,
double mx,
double my,
110 std::vector<DtElementID>* ignoreList=0);
117 virtual void setCacheLimit(
int);
120 virtual void clearCache();
124 virtual void setDynamicOceanProperties(
IntersectProperties
The IntersectProperties enum is a flag set that indicates the types of nodes to be considered for int...
Definition: DtIntersector.h:31
bool myCacheIsShared
Definition: DtCachedIntersector.h:133
DtModelSetId myModelSet
Definition: DtCachedIntersector.h:134
int myCacheLimit
Definition: DtCachedIntersector.h:135
DtIntersectorCache * myCache
Definition: DtCachedIntersector.h:132
DtIntersector * myModelSetIntersector
Definition: DtCachedIntersector.h:138
DtIntersector is an abstract class that provides the interface for requesting intersections with the ...
Definition: DtIntersector.h:25
Descriptor for a single intersection result.
Definition: DtIntersectorResult.h:21
std::vector< DtIntersectorResult > DtIntersections
A vector of DtIntersectionRecords.
Definition: DtIntersector.h:50
the Intersector Cache class. Use to store intersection and intersection results. Can only be used to ...
Definition: DtIntersectorCache.h:28
DynamicOceanProperties
Definition: DtIntersector.h:42
The abstract Channel Class.
Definition: DtChannel.h:35
Contains makVrv:DtIntersector class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
A Cached Intersector will first look at the local cache, and, if the local cache does not have the in...
Definition: DtCachedIntersector.h:31
DtIntersector::DynamicOceanProperties myDynamicOceanProperties
Definition: DtCachedIntersector.h:136
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...
DtDe & myDe
Definition: DtCachedIntersector.h:131
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtModelSetId
Definition: DtModelSetEnums.h:19
Definition: DtIntersector.h:33