This class is the base class for creating a "pass-though" layer in the terrain interface. A pass-though layer contains a real terrain implementation but it wraps all the functions in pass-though functions, which may perform operations in addition to the calls being made to the real terrain implementation. This may be used for logging intersections, gathering statistics, or doing performance analysis.
|
| | DtTerrainPassThroughLayer (DtTerrainImplementation *terrainImplementation, DtConsoleCommandManager *cmdMgr) |
| |
| virtual | ~DtTerrainPassThroughLayer () |
| |
virtual
MAKVRinTerra::DtFeatureDatabase & | featureDatabase () |
| |
virtual const
MAKVRinTerra::DtFeatureDatabase & | featureDatabase () const |
| |
virtual
MAKVRinTerra::DtFeatureContext & | featureContext () |
| |
virtual const
MAKVRinTerra::DtFeatureContext & | featureContext () const |
| |
| virtual bool | loadTerrain (const makArchives::DtGenericTerrainRecord &rec) |
| |
| virtual const Coordinate_System * | coordinateSystem () const |
| |
| virtual void | shutdown (bool block) |
| |
| virtual void | preloadTerrainAreas (const DtTerrainPagingGeometryList &preloadGeometry) |
| |
| virtual bool | chordIntersect (DtTerrainIntersectStatus &status, const DtChord &chord, DtVrfChordIntersectionRecord &record, const DtTerrainIntersectOptions &options) const |
| |
| virtual bool | allIntersectsAlongChord (DtTerrainIntersectStatus &status, const DtChord &chord, DtVrfChordIntersectRecordList &intList, const DtTerrainIntersectOptions &options) const |
| |
| virtual void | cacheTerrainArea (int requestId, unsigned minLOD, unsigned maxLOD, const DtExtent &cacheArea, DtCacheProgressCallbackFunction fcn=0, void *usr=0) |
| |
| virtual void | cancelCacheTerrainArea (int requestId) |
| |
virtual const
DtTerrainCapabilities * | terrainCapabilities () const |
| |
| virtual void | setIntersectDataLoadExpireTime (const double &expireTime) |
| |
| virtual void | expireDataLoadRequestsBeforeTime (const double ¤tTime) |
| |
| virtual void | processTrianglesInArea (DtTriangleOutputInterface &, const DtTerrainProcessPolygonsBox &box) const |
| |
| virtual DtTerrainInformation * | terrainInformation () |
| |
| | DtTerrainImplementation (DtConsoleCommandManager *cmdManager) |
| |
| virtual | ~DtTerrainImplementation () |
| |
virtual
MAKVRinTerra::DtAerodromeLoader & | aerodromeLoader () |
| |
virtual const
MAKVRinTerra::DtAerodromeLoader & | aerodromeLoader () const |
| |
| virtual void | cacheAerodromes () |
| |
| virtual void | init () |
| |
| virtual void | finishedLoading (const MAKVRinTerra::DtProj &proj) |
| |
| virtual void | clearCache () |
| |
| virtual double | modelHeightDifferencesFromAppearances (int oldApp, int newApp) const |
| |
| virtual bool | createFromExtent (const Dt3dBoundingVolume &) |
| |
| virtual bool | loadModel (const DtFilename &, const DtEntityType &t=DtEntityType()) |
| |
| virtual DtTerrainInterfaceConfig & | configurationOptions () |
| |
virtual const
DtTerrainInterfaceConfig & | configurationOptions () const |
| |
| virtual bool | dataAvailable (const DtTerrainPagingGeometryList &geometry, DtTerrainIntersectOptions::Fidelity=DtTerrainIntersectOptions::MAX_FIDELITY) |
| |
| virtual void | breakUpChords (const MAKVRinTerra::DtProj &, const DtChord &chord, std::vector< DtChord > &chords) |
| |
| virtual bool | hasFeatureContext () const |
| |
| virtual DtTerrainGeometryHandle * | createEntityGeometry (const DtFilename &file) |
| |
| virtual DtTerrainGeometryHandle * | createEntityGeometry (const DtEntityType &file) |
| |
| virtual void | loadVisuals (const DtScenarioExplorer &) |
| |
virtual
DtDynamicTerrainRequestHandle | addDynamicTerrainChangeRequest (double time, makVrv::DtDynamicTerrainChange *command) |
| |
| virtual DtDynamicTerrainQueryHandle | queryDynamicTerrainFeatures (const DtDynamicTerrainQueryCallback &callback, makVrv::DtDynamicTerrainGeometry *geometry=0, bool useOriginalGeometry=false) |
| |
| virtual void | queryCurrentDynamicTerrainFeatures (const DtDynamicTerrainQueryCallback &callback, makVrv::DtDynamicTerrainGeometry *geometry=0, bool useOriginalGeometry=false) |
| |
| virtual void | writeTerrainIndex (const DtString &name) |
| |
| virtual void | addTerrainChangeNotificationCallback (DtTerrainChangeNotificationCallbackFcn fcn, void *user) |
| |
| virtual void | removeTerrainChangeNotificationCallback (DtTerrainChangeNotificationCallbackFcn fcn, void *user) |
| |
| virtual void | invokeTerrainChangeNotificationCallBacks () |
| |
| virtual void | setAssertOnBlockingTerrainCalls (bool assertBlock) |
| |
| virtual bool | assertOnBlockingTerrainCalls () const |
| |
| virtual void | setWarnOnBlockingTerrainCalls (bool warnBlock) |
| |
| virtual bool | warnOnBlockingTerrainCalls () const |
| |
Specifies a list of terrain areas that should be preloaded by the terrain implementation, in the case of a paging or streaming terrain source. The typical use of this is to specify parts of the terrain that are expected to be needed in the near future.
The terrain may not be loaded immediately upon making this call, and there is no guarantee that the terrain areas will be available for intersection immediately after making this call.
- Parameters
-
| preloadGeometry | A list of the geometric areas that should be preloaded. They can be specified using any of the subclasses of DtTerrainPagingGeometry. |
- Note
- The geometry set with this call completely replaces any geometry previously set using this call.
-
The default implementation for this is a noop.
Reimplemented from DtTerrainImplementation.