22 #include <boost/unordered_map.hpp>
23 #include <tbb/spin_rw_mutex.h>
38 typedef boost::shared_ptr<CollisionObject>
Ptr;
44 void incrementEnableCount();
45 void decrementEnableCount();
66 bool isInDefaultState()
const;
67 bool lastStateWasDefaultState()
const;
71 void setToDefaultState();
83 typedef boost::unordered_map<DtAppearance, CollisionObjectVector>
AppearanceMap;
96 bool isDisabled()
const;
98 void setAppearance(DtAppearance app);
99 void setPosition(
const DtPoint& location,
const DtDcm& orientation);
102 virtual DtVector position()
const override;
103 virtual DtDcm orientation()
const override;
109 virtual void setupDynamicFeature(
const DtPoint& location,
double radius);
110 void destroyDynamicFeature();
tbb::spin_rw_mutex myMutex
Definition: entityTerrainGeometryHandle.h:112
Definition: DtDynamicTerrainFeature.h:316
DtVantageTerrainEngine & myVantageTerrainEngine
Definition: entityTerrainGeometryHandle.h:114
Bullet collision object which defaults to being disabled and is enabled when the enable count is non-...
Definition: entityTerrainGeometryHandle.h:35
Represents (possibly infinite) area of space.
Definition: DtDynamicTerrainGeometry.h:20
boost::unordered_map< DtAppearance, CollisionObjectVector > AppearanceMap
Definition: entityTerrainGeometryHandle.h:83
Allows manipulating a terrain object. Returned by functions which create terrain objects.
Definition: terrainImplementation.h:143
Definition: entityTerrainGeometryHandle.h:51
boost::shared_ptr< CollisionObject > Ptr
Definition: entityTerrainGeometryHandle.h:38
makVrv::DtDynamicTerrainWorld::RequestHandle myRequestHandle
Definition: entityTerrainGeometryHandle.h:123
boost::optional< DtAppearance > myCurrentAppearance
Definition: entityTerrainGeometryHandle.h:117
Implementation of handle which allows controlling entity geometry which has been inserted into the te...
Definition: entityTerrainGeometryHandle.h:30
boost::optional< DtDcm > myCurrentOrientation
Definition: entityTerrainGeometryHandle.h:119
Definition: bvhTriangleMeshShape.h:110
Interface which abstracts the concept of a individually identifiable "thing" in the terrain...
Definition: DtDynamicTerrainFeature.h:83
makVrv::DtDynamicTerrainGeometry * myGeometry
Definition: entityTerrainGeometryHandle.h:76
makVrv::DtDynamicTerrainWorld::FeatureHandle myFeatureHandle
Definition: entityTerrainGeometryHandle.h:122
Contains makVrv::DtDynamicTerrainFeature class.
#define DT_DLL_vantageTerrainImplementation
This file is used to determine how to build.
Definition: vantageTerrainImplementationDefines.h:28
Contains makVrv::DtDynamicTerrainWorld class.
Command which can be given to the dynamic terrain system to perform some change. This class is a simp...
Definition: DtDynamicTerrainChange.h:42
Feature Insertion/Removal/Paging Features represent parts of the terrain which are individually ident...
Definition: DtDynamicTerrainWorld.h:99
tbb::atomic< bool > myDefaultStateFlag
Definition: entityTerrainGeometryHandle.h:79
This class wraps the VR-Vantage Display Engine, and uses as a terrain loader and intersector. This is the terrain engine that powers the DtVantageTerrainImplementation. The DtVantageTerrainEngine runs the DtDe it its own thread, and processes commands thought the command queue.
Definition: vantageTerrainEngine.h:109
AppearanceMap myAppearanceMap
Definition: entityTerrainGeometryHandle.h:125
tbb::atomic< unsigned > myEnableCount
Definition: entityTerrainGeometryHandle.h:48
makVrv::DtDynamicTerrainGeometry * myOriginalGeometry
Definition: entityTerrainGeometryHandle.h:77
const DtFilename myFile
Definition: entityTerrainGeometryHandle.h:115
std::vector< CollisionObject::Ptr > CollisionObjectVector
Definition: entityTerrainGeometryHandle.h:82
boost::shared_ptr< DynamicFeature > myFeature
Definition: entityTerrainGeometryHandle.h:121
boost::optional< DtPoint > myCurrentLocation
Definition: entityTerrainGeometryHandle.h:118
Resource handle for a change request which has been added to the system. Returned from addChangeReque...
Definition: DtDynamicTerrainFeature.h:95