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);
184 void releaseOwnership();
188 explicit QueryHandle(
const std::shared_ptr<QueryInfo>&);
209 bool useOriginalGeometry =
false);
214 bool useOriginalGeometry =
false);
216 virtual void queryCurrentFeatures(
219 bool useOriginalGeometry =
false);
221 virtual void queryCurrentFeatures(
224 bool useOriginalGeometry =
false);
235 bool isDisabled()
const;
241 virtual QueryHandle queryFeatures(QueryInfo* query);
258 virtual double minTileArea()
const = 0;
259 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:173
Can be thrown from query callback to remove query.
Definition: DtDynamicTerrainWorld.h:194
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:44
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:243
std::weak_ptr< QueryInfo > myQuery
Definition: DtDynamicTerrainWorld.h:190
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.