![]() |
VR-Forces 4.10 Class Documentation
|
Go to the source code of this file.
Classes | |
| struct | MinMaxInfo |
| code for checking if a geometry wraps around the borders of the world map More... | |
Functions | |
| DtSphere | boundingSphere2DtSphere (const osg::BoundingSphere &boundingSphere) |
| void | convertGeometry (const DtTerrainPagingGeometryPtr &geometry, const Coordinate_System *CS, const double worldWidth, std::vector< DtTerrainPagingGeometryPtr > &output) |
| Convert geometry to internal coordinate system. More... | |
| void | convertToOsgEarthCoordSys (DtPoint &p, CS_Type cstype) |
| convert to coordinate system used by osgEarth tiles More... | |
| void | convertFromOsgEarthCoordSys (DtPoint &p, CS_Type cstype) |
| convert from coordinate system used by osgEarth tiles More... | |
| void | convertFromOsgEarthCoordSys (DtVector &p, CS_Type cstype) |
| convert from coordinate system used by osgEarth tiles More... | |
| void | convertFromOsgEarthCoordSys (DtVrfChordIntersectionRecord &record, CS_Type cstype) |
| convert from coordinate system used by osgEarth tiles More... | |
| void | unwrap (double width, DtLocalVertexList &list, std::vector< DtTerrainPagingGeometryPtr > &output) |
| unwrap moves points lower one world width if they are on the upper half side of the world this is so when geometries overlap the borders of the map we know they will be on the lower half and then we only have to deal with those cases More... | |
| bool | extentIntersectsAABB (const DtVector &min1, const DtVector &max1, const DtVector &min2, const DtVector &max2) |
| TODO ALL functions below should be inline. More... | |
| bool | boundariesOverlap (double min1, double max1, double min2, double max2) |
| DtExtent | sphereExtent (const DtSphere &sphere) |
| bool | shapeIntersectsAABB (const DtLocalVertexList &shape, const DtVector &lower, const DtVector &upper) |
| bool | pointIntersectsAABB (const DtVector &p, const DtVector &lower, const DtVector &upper) |
| bool | doubleEqual (double d1, double d2) |
| DtVrfChordIntersectionRecord * | insertRecordAlongChord (const DtVrfChordIntersectionRecord &record, DtVrfChordIntersectRecordList &intList) |
| inserts points inter intersection record list checks each point against the one before and after and rejects if too close More... | |
| DtSphere boundingSphere2DtSphere | ( | const osg::BoundingSphere & | boundingSphere | ) |
| void convertGeometry | ( | const DtTerrainPagingGeometryPtr & | geometry, |
| const Coordinate_System * | CS, | ||
| const double | worldWidth, | ||
| std::vector< DtTerrainPagingGeometryPtr > & | output | ||
| ) |
Convert geometry to internal coordinate system.
convert to coordinate system used by osgEarth tiles
convert from coordinate system used by osgEarth tiles
convert from coordinate system used by osgEarth tiles
| void convertFromOsgEarthCoordSys | ( | DtVrfChordIntersectionRecord & | record, |
| CS_Type | cstype | ||
| ) |
convert from coordinate system used by osgEarth tiles
| void unwrap | ( | double | width, |
| DtLocalVertexList & | list, | ||
| std::vector< DtTerrainPagingGeometryPtr > & | output | ||
| ) |
unwrap moves points lower one world width if they are on the upper half side of the world this is so when geometries overlap the borders of the map we know they will be on the lower half and then we only have to deal with those cases
| bool extentIntersectsAABB | ( | const DtVector & | min1, |
| const DtVector & | max1, | ||
| const DtVector & | min2, | ||
| const DtVector & | max2 | ||
| ) |
TODO ALL functions below should be inline.
| bool shapeIntersectsAABB | ( | const DtLocalVertexList & | shape, |
| const DtVector & | lower, | ||
| const DtVector & | upper | ||
| ) |
| DtVrfChordIntersectionRecord* insertRecordAlongChord | ( | const DtVrfChordIntersectionRecord & | record, |
| DtVrfChordIntersectRecordList & | intList | ||
| ) |
inserts points inter intersection record list checks each point against the one before and after and rejects if too close