|
Namespaces |
| namespace | dtUtil |
Classes |
| struct | dtUtil::TargetTriangle |
Functions |
| void DT_UTIL_EXPORT | dtUtil::GetTargetTriangleData (const float azimuth, const float elevation, const CelestialMesh &mesh, TargetTriangle &outTriangle) |
| | GetTargetTriangleData - Finds the triangle in the mesh for the given azimuth elevation if it exists, otherwise it returns the closest triangle and its coordinates.
|
| void DT_UTIL_EXPORT | dtUtil::GetCelestialCoordinates (osg::Vec3 targetDirection, const osg::Vec3 &lookForward, float &azimuth, float &elevation) |
| | GetCelestialCoordinates - calculates the azimuth and elevation w.r.t.
|
| void DT_UTIL_EXPORT | dtUtil::GetCelestialDirection (const float azimuth, const float elevation, const osg::Vec3 &forwardDirection, osg::Vec3 &outDirection) |
| | GetCelestialDirection - calculates the direction that a given azimuth and elevation points.
|
| int DT_UTIL_EXPORT | dtUtil::FindCelestialTriangleID (const CelestialMesh &mesh, float azimuth, float elevation) |
| | FindCelestialTriangleID - Looks up a celestial triangle from a mesh using azimuth and elevation.
|
| void DT_UTIL_EXPORT | dtUtil::GetClosestPointOnSegment (const osg::Vec3 &startPoint, const osg::Vec3 &endPoint, const osg::Vec3 &refPoint, osg::Vec3 &closestPoint) |
| | GetClosestPointOnSegment - calculates the point on a segment that is closest to a reference point.
|
| bool DT_UTIL_EXPORT | dtUtil::IsPointBetweenVectors (const osg::Vec3f &point, const osg::Vec3f &origin, const osg::Vec3f &A, const osg::Vec3f &B) |
| | IsPointBetweenVectors - determines whether a points is between the vectors origin to A and origin to B.
|
| void DT_UTIL_EXPORT | dtUtil::MapCelestialToScreen (float azimuth, float elevation, float maxDistance, float windowWidth, float windowHeight, const osg::Vec2 &screenOrigin, osg::Vec2 &outScreenPos) |
| | MapCelestialToScreen - maps azimuth and elevation to a screen position.
|