18#include <vrvCore/DtIntersector.h>
59 virtual bool elevationAt(DtVector point,
double& result)
override;
80 DtVector start, DtVector end, DtVector& result, std::vector<makVrv::DtElementID>* ignoreId = 0)
override;
92 DtVector start, DtTaitBryan ori, DtVector& result, std::vector<makVrv::DtElementID>* ignoreId = 0)
override;
119 virtual bool screenRayCast(
float x,
float y, DtVector& result, makVrv::DtElementID&
id,
120 makVrv::DtIntersector::IntersectProperties props = makVrv::DtIntersector::SupportNodes,
121 std::vector<makVrv::DtElementID>* ignoreId = 0,
const std::string& window =
"",
const std::string& channel =
"");
DtIntersector()
Constructor.
makVrv::DtDe & myDe
Reference to the VRV display engine.
Definition vrvIntersector.h:125
makVrv::DtIntersector * myIntersector
Pointer to the internal VRV intersector implementation.
Definition vrvIntersector.h:128
virtual bool screenRayCast(float x, float y, DtVector &result) override
Performs a ray cast from screen coordinates.
virtual bool elevationAt(DtVector point, double &result) override
Gets the terrain elevation at a specific point.
virtual bool getIntersection(DtVector start, DtTaitBryan ori, DtVector &result, std::vector< makVrv::DtElementID > *ignoreId=0) override
Gets the first intersection along a ray from a point in a direction.
virtual bool screenRayCast(float x, float y, DtVector &result, makVrv::DtElementID &id, makVrv::DtIntersector::IntersectProperties props=makVrv::DtIntersector::SupportNodes, std::vector< makVrv::DtElementID > *ignoreId=0, const std::string &window="", const std::string &channel="")
Extended screen ray casting with additional control options.
virtual ~DtVrvIntersector() override
Virtual destructor to properly clean up resources.
DtVrvIntersector(makVrv::DtDe &de)
Constructor that initializes with a reference to the display engine.
virtual bool getIntersection(DtVector start, DtVector end, DtVector &result, std::vector< makVrv::DtElementID > *ignoreId=0) override
Gets the first intersection between two points.
virtual bool terrainIntersectionAt(DtVector point, DtVector &result) override
Gets the terrain intersection point at a specific location.
Defines export macros for the VR-Engage Player Station library.
#define PLAYERSTATION_DLL
Definition export.h:24
Defines the DtIntersector interface for ray casting and intersection testing.
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
Definition appLauncherComponent.h:28
makVrv::DtDe * de()
Gets the display element pointer used by the plugin.