11 #include <Cee_CdbDB.h>
13 #include <osgEarth/MapNodeObserver>
14 #include <osgEarth/Map>
27 CEE_NAMESPACE_BEGIN_DECL(CEE_NAMESPACE_CDBAPI)
31 CEE_NAMESPACE_END_DECL(CEE_NAMESPACE_CDBAPI)
42 namespace oe {
namespace CDB
46 class CDBModelOptions;
47 class DtCDBClassIndex;
50 class DtSceneGraphFrameNumberCallback :
public osg::NodeCallback
76 void operator()( osg::Node* node, osg::NodeVisitor* nv )
override;
93 void operator()( osg::Node*, osg::NodeVisitor* )
override;
111 void touch(
const osg::FrameStamp* stamp );
123 class CDBPager :
public osg::Group,
public osgEarth::MapNodeObserver
129 osgEarth::SceneGraphCallbacks* sgCallbacks,
DtDe& de );
146 virtual void setMapNode( osgEarth::MapNode* mapNode );
213 void traverse( osg::NodeVisitor& nv );
233 inline bool doesLod0Exist(
const CDBTileVerbose& verboseKey,
int CdbDatasetCode,
int CdbComponentSelector1,
int CdbComponentSelector2 )
const;
247 const std::string& extendeddbf )
const;
281 typedef std::vector< osg::ref_ptr<Callback> >
Callbacks;
335 ,
const std::string& instanceShp
337 ,
const std::string& classdbf
341 ,
bool& wasModelFound )
const;
std::map< DatasetInfo, LodMap > DatasetsModelRangeTable
Possible list of map that can contain specific paging values for specific datasets.
Definition: DtCDBModelRangeTable.h:40
Hold the unique CDB tile key information CDB LOD goes from -10 to 23. Negative keys to zero are all 1...
Definition: DtCDBTileKey.h:46
CDB Configuration file holding constant definition.
Definition: featureContext.h:36
bool myCanCancel
Definition: DtCDBPager.h:79
Abstract class to manage vector information.
Class the parse CDB folder before loading it to speed up the actual reading later.
void touch(const osg::FrameStamp *stamp)
called by DtPagedLodFrameNumberCallback
void operator()(osg::Node *node, osg::NodeVisitor *nv) override
Sets myFrameNumber.
"Progress" and cancellation callbacks, defined as if the frame number on the callback has been update...
Definition: DtCDBPager.h:69
CDB osg node class CdbGroupNode as the following structure for GT models Each quadrant does not have ...
Definition: DtCDBGroupNode.h:49
Class used to keep "instance" indexes attributes dbf information.
Definition: DtCDBAttributeIndex.h:82
OpenThreads::Atomic Atomic
Definition: DtOsgThreadingUtils.h:15
osg::ref_ptr< DtCdbGroupNodeProgress > myGroupNodeProgressArray[4]
Definition: DtCDBPager.h:95
DtPagedLodFrameNumberCallback(DtSceneGraphFrameNumberCallback *, bool canCancel)
CTOR.
Class used to find CDB Tiles information.
Definition: DtCDBTile.h:52
osg::observer_ptr< DtSceneGraphFrameNumberCallback > myScenegraphFrameNumberCallback
Definition: DtCDBPager.h:115
CDB Dataset information class.
Definition: DtCDBDatasetInfo.h:23
The DtCdbGroupNodeProgressthat gets passed to createPagedNode() to use. It will report cancellation i...
Definition: DtCDBPager.h:101
Paged LOD callback touches DtCdbGroupNodeProgress for each of its (up to) four children.
Definition: DtCDBPager.h:86
unsigned myFrameNumber
Definition: DtCDBPager.h:78
OpenThreads::Mutex Mutex
Definition: DtOsgThreadingUtils.h:12
Used to pass option(s) Used to pass option from the OSG earth file this "cdb" model driver...
Definition: DtCDBModelOptions.h:28
unsigned myLastTouchedFrame
Definition: DtCDBPager.h:114
DtCdbGroupNodeProgress(DtSceneGraphFrameNumberCallback *master, bool canCancel)
bool myCanCancel
Definition: DtCDBPager.h:113
CDB model earth file options for "cdb" model driver.
functions class that help find CDB tiles information
bool isCanceled() const
Has this progress call back been touched by DtSceneGraphFrameNumberCallback It is cancelled if it has...
Quadrant
Definition: DtCDBTileKey.h:32
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
Utility class to pass CDB lat/lon/ured/rref) values.
Definition: DtCDBTileVerbose.h:17
DtSceneGraphFrameNumberCallback()
CTOR.
CDB Model Tile paging range.
Definition: DtCDBModelRangeTable.h:22
void operator()(osg::Node *, osg::NodeVisitor *) override
Touches DtCdbGroupNodeProgress.
Class used to keep "class" indexes attributes index dbf information.
Definition: DtCDBAttributeIndex.h:22
CDB Dataset class. Hold Dataset information Helper class to retreive CBD Dataset information.
Definition: DtCDBDatasets.h:78
CDB class that hold definition (like DBF column name, config file, etc)Renamed DtCDBDbfConfig from Dt...
Definition: DtCDBDbfConfig.h:20