VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
osgEarthVegetationLayerSourceTracker.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 
35 
38  virtual bool init(DtTerrainSourcePager&);
39 
47  virtual void pageInData(DtPagingMetaDataPtr metaData,
49 
52  virtual void pageOutOldestData(const int priority);
53 
56 
57 protected:
58 
59  virtual DtVegetationLayerPageInTilesCommand* createVegetationLayerPageInTilesCommand(DtPagingMetaDataPtr metaData);
60 
61  virtual DtVegetationLayerPageOutTilesCommand* createVegetationLayerPageOutTilesCommand(DtPagingMetaDataPtr metaData);
62 
63 };
DtBoost::shared_ptr< DtTerrainPagingGeometry > DtTerrainPagingGeometryPtr
Definition: terrainPagingGeometry.h:46
Definition: osgEarthCommands.h:45
virtual bool init(DtTerrainSourcePager &)=0
Called after options are set. Returns false if error.
DtTerrainSourcePager is the base class for terrain pagers. There will be one terrainSourcePager per t...
Definition: terrainSourcePager.h:58
std::vector< makVrf::DtLine > terrainLineList
Lines structure/calls/list.
Definition: debugDrawTerrainOutputInterface.h:103
tbb::concurrent_queue< DtTerrainPagerCommand * > DtPagerCommandQueue
Definition: vantageTerrainImplementationUtil.h:41
virtual void getProceduralTreeTile(DtDebugDrawTerrainOutputInterface::terrainLineList &nodeBoundingList)
Return a list of tiles that represent the ground cover loaded.
Definition: osgEarthBaseGroundCoverSourceTracker.h:27
Definition: osgEarthCommands.h:107
virtual void pageInData(DtPagingMetaDataPtr metaData, DtTerrainPagingGeometryPtr geometry)=0
Page in data within geometry. Determines which tiles are within the geometry and adds a page in comma...
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:109
Definition: osgEarthVegetationLayerSourceTracker.h:25
DtBoost::shared_ptr< DtPagingMetaData > DtPagingMetaDataPtr
Definition: terrainPagingGeometry.h:101
Definition: osgEarthCommands.h:129
virtual void pageOutOldestData(const int priority)=0
Adds a page out command for the least-recently-used tileID to myCommandQueue.

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)