VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
osgEarthGroundCoverSourceTracker.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
15 
16 #include <osgEarth/Profile>
17 #include <geometry/chord.h>
18 
19 #include <boost/ptr_container/ptr_vector.hpp>
20 
24 
26 {
27 public:
28 
31  osgEarth::MapNode* mapNode);
32 
34  virtual ~DtOsgEarthGroundCoverSourceTracker() override;
35 
38  virtual bool init(DtTerrainSourcePager&) override;
39 
47  virtual void pageInData(DtPagingMetaDataPtr metaData, DtTerrainPagingGeometryPtr geometry) override;
48 
51  virtual void pageOutOldestData(const int priority) override;
52 
54  virtual void getProceduralTreeTile(DtDebugDrawTerrainOutputInterface::terrainLineList& nodeBoundingList) override;
55 
56 protected:
57 
58  virtual DtGroundCoverPageInTilesCommand* createGroundCoverPageInTilesCommand(
59  DtPagingMetaDataPtr metaData);
60 
61  virtual DtGroundCoverPageOutTilesCommand* createGroundCoverPageOutTilesCommand(
62  DtPagingMetaDataPtr metaData);
63 
64 };
Definition: osgEarthCommands.h:45
DtTerrainSourcePager is the base class for terrain pagers. There will be one terrainSourcePager per t...
Definition: terrainSourcePager.h:56
virtual void pageInData(DtPagingMetaDataPtr metaData, DtTerrainPagingGeometryPtr geometry) override=0
Page in data within geometry. Determines which tiles are within the geometry and adds a page in comma...
std::vector< makVrf::DtLine > terrainLineList
Lines structure/calls/list.
Definition: debugDrawTerrainOutputInterface.h:109
Definition: osgEarthGroundCoverSourceTracker.h:25
virtual void getProceduralTreeTile(DtDebugDrawTerrainOutputInterface::terrainLineList &nodeBoundingList) override=0
get the ground cover tile box for the debug draw tool
Definition: osgEarthCommands.h:87
tbb::concurrent_queue< DtTerrainPagerCommand * > DtPagerCommandQueue
Definition: vantageTerrainImplementationUtil.h:42
Definition: osgEarthBaseGroundCoverSourceTracker.h:27
virtual void pageOutOldestData(const int priority) override=0
Adds a page out command for the least-recently-used tileID to myCommandQueue.
std::shared_ptr< DtTerrainPagingGeometry > DtTerrainPagingGeometryPtr
Definition: terrainPagingGeometry.h:46
std::shared_ptr< DtPagingMetaData > DtPagingMetaDataPtr
Definition: terrainPagingGeometry.h:108
Definition: osgEarthCommands.h:20
A DtChord is a finite line segment in 3-space, represented by two points. Data derived from the two e...
#define DT_DLL_vantageTerrainImplementation
This file is used to determine how to build.
Definition: vantageTerrainImplementationDefines.h:28
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:112
virtual bool init(DtTerrainSourcePager &) override=0
Called after options are set. Returns false if error.
Definition: osgEarthCommands.h:65

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)