50 virtual void shutdown(
bool block)
override;
NOTE: This entire class is deprecated, in favor of Dt3dChord.
Definition: chord.h:40
This is the abstract base class for all terrain implementations. A terrain implementation is used by ...
Definition: terrainImplementation.h:244
DtVrfChordIntersectionRecord represents a list of DtChordIntersectRecords. This is useful for followi...
Definition: vrfChordIntersectRecordList.h:31
virtual MAKVRinTerra::DtFeatureContext & featureContext()
Access feature context.
DtGenericTerrainRecords allow the VR-Forces terrainInterface library to instantiate and configure the...
Definition: DtGenericTerrainRecord.h:34
DtTerrainPassThroughLayer *(* DtCreatorFcn)(DtTerrainPassThroughLayer::DtCreatorParam)
Definition: stringKeyFactory.h:84
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.
Definition: terrainPassThroughLayer.h:22
std::list< std::pair< DtPagingMetaDataPtr, DtTerrainPagingGeometryPtr > > DtTerrainPagingGeometryList
Definition: terrainPagingGeometry.h:111
DtTerrainImplementation * terrainImplementation
Definition: terrainPassThroughLayer.h:83
Definition: terrainPassThroughLayer.h:81
virtual bool chordIntersect(DtTerrainIntersectStatus &status, const DtChord &chord, DtVrfChordIntersectionRecord &record, const DtTerrainIntersectOptions &options) const =0
Returns topmost intersection of chord with terrain in record.
This is a class which maintains a list of string command names and the callback functions that are to...
Definition: consoleCommandManager.h:56
The DtExtent represents an axis-aligned 3d bounding box.
Definition: extent.h:43
DtStringKeyFactoryWithParam< DtTerrainPassThroughLayer, DtTerrainPassThroughLayer::DtCreatorParam > DtTerrainPassThroughLayerFactory
Definition: terrainPassThroughLayer.h:93
virtual bool allIntersectsAlongChord(DtTerrainIntersectStatus &status, const DtChord &chord, DtVrfChordIntersectRecordList &intList, const DtTerrainIntersectOptions &options) const =0
Returns all intersections of chord with terrain.
DtTerrainPassThroughLayerFactory::DtCreatorFcn DtTerrainPassThroughLayerCreatorFcn
Definition: terrainPassThroughLayer.h:94
DtTerrainIntersectOptions Passed to terrain intersect functions to modify how intersect acts...
Definition: terrainIntersectOptions.h:22
virtual void cacheTerrainArea(int requestId, unsigned minLOD, unsigned maxLOD, const DtExtent &cacheArea, DtCacheProgressCallbackFunction fcn=0, void *usr=0)
Call this to start the process of caching terrain data (if supported for the open terrain) using the ...
Definition: coordSystem.h:54
virtual bool loadTerrain(const makArchives::DtGenericTerrainRecord &rec)=0
Loads a terrain given the terrain record.
virtual void cancelCacheTerrainArea(int requestId)
Call this routine to cancel a potential cache in progress.
#define DT_DLL_terrainInterface
This file is used to determine how to build.
Definition: terrainInterfaceDefines.h:25
This class holds parameters which define the capabilities of the current terrain. The terrain impleme...
Definition: terrainCapabilities.h:28
virtual void preloadTerrainAreas(const DtTerrainPagingGeometryList &preloadGeometry)
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.
Definition: terrainImplementation.h:334
Definition: featureContext.h:50
virtual DtTerrainInformation * terrainInformation()
Return the terrain information pointer of the terrain implementation (null if none exist) this is a d...
Definition: terrainImplementation.h:385
Definition: vrfChordIntersectionRecord.h:19
unsigned int DtTerrainCategoryMask
This bitmask is made using DtTerrainCategory values.
Definition: rwTerrainCategoryMask.h:27
virtual void setIntersectDataLoadExpireTime(const double &expireTime)
No-op. Override to set the default expiration time for data load requests generated by intersect call...
Definition: terrainImplementation.h:371
DtString extraParameters
Definition: terrainPassThroughLayer.h:85
void(* DtCacheProgressCallbackFunction)(int requestId, int current, bool completed, double elapsedTime, void *usr)
Callback for terrain caching.
Definition: terrainImplementation.h:117
virtual void processTrianglesInArea(DtTriangleOutputInterface &, const DtTerrainProcessPolygonsBox &, DtTerrainCategoryMask terrainCategoryMask) const =0
virtual const Coordinate_System * coordinateSystem() const =0
Interface for getting terrain triangle data out of DtTerrainInterface::trianglesInArea. This object should always be created on the stack.
Definition: terrainProcessPolygonsBox.h:134
virtual MAKVRinTerra::DtFeatureDatabase & featureDatabase()
Access feature database.
Definition: featureContext.h:228
DtConsoleCommandManager * commandManager
Definition: terrainPassThroughLayer.h:84
DtTerrainImplementation * myTerrainImplementation
Definition: terrainPassThroughLayer.h:89
virtual void expireDataLoadRequestsBeforeTime(const double ¤tTime)
No-op. Override to expire data load requests generated before the given time. See comment for #setInt...
Definition: terrainImplementation.h:377
virtual void shutdown(bool block=true)
Shutdown the terrain.
DtTerrainIntersectStatus Contains information about status of "data available" when an intersection c...
Definition: terrainIntersectStatus.h:23
virtual const DtTerrainCapabilities * terrainCapabilities() const =0
Represents an area query which can be used to extract triangles from DtTerrainInterface. The box points are in local but the box is always projected against the local topo at the center point of the box.
Definition: terrainProcessPolygonsBox.h:60