20 #include <boost/function.hpp>
27 class DtDynamicTerrainChange;
28 class DtDynamicTerrainIndex;
29 class DtDynamicTerrainChanges;
30 class DtDynamicTerrainGeometry;
81 static unsigned long long GetQueryCount();
100 typedef std::vector< std::weak_ptr<DtDynamicTerrainFeature> >
FeatureVector;
110 void releaseOwnership();
122 explicit FeatureHandle(
const std::shared_ptr<DtDynamicTerrainFeature>&);
131 virtual FeatureHandle pageInFeature(
const std::shared_ptr<DtDynamicTerrainFeature>& feature);
183 void releaseOwnership();
187 explicit QueryHandle(
const std::shared_ptr<QueryInfo>&);
208 bool useOriginalGeometry =
false);
213 bool useOriginalGeometry =
false);
215 virtual void queryCurrentFeatures(
218 bool useOriginalGeometry =
false);
220 virtual void queryCurrentFeatures(
223 bool useOriginalGeometry =
false);
234 bool isDisabled()
const;
240 virtual QueryHandle queryFeatures(QueryInfo* query);
257 virtual double minTileArea()
const = 0;
258 virtual double maxTileArea()
const = 0;
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
Represents (possibly infinite) area of space.
Definition: DtDynamicTerrainGeometry.h:20
Queries. Queries work very much like change requests except instead of changing the state of the feat...
Definition: DtDynamicTerrainWorld.h:172
Can be thrown from query callback to remove query.
Definition: DtDynamicTerrainWorld.h:193
std::vector< std::weak_ptr< DtDynamicTerrainFeature > > FeatureVector
Definition: DtDynamicTerrainWorld.h:100
DtDynamicTerrainFeature::RequestHandle RequestHandle
Change Requests. Change requests are added to the terrain to cause the contained features to change s...
Definition: DtDynamicTerrainWorld.h:145
Contains makVrv::DtVirtualBaseClass class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Interface which abstracts the concept of a individually identifiable "thing" in the terrain...
Definition: DtDynamicTerrainFeature.h:83
Contains makVrv::DtDynamicTerrainFeature 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:97
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
Impl * myImpl
Definition: DtDynamicTerrainWorld.h:242
std::weak_ptr< QueryInfo > myQuery
Definition: DtDynamicTerrainWorld.h:189
Container for dynamic terrain features, change requests, and queries.
Definition: DtDynamicTerrainWorld.h:69
FeatureVector myFeatureInfos
Definition: DtDynamicTerrainWorld.h:124
Resource handle for a change request which has been added to the system. Returned from addChangeReque...
Definition: DtDynamicTerrainFeature.h:95
Contains DLL export macros.