VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pagedNode2Commands.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 #pragma once
9 
13 
17  : public DtTerrainPagerSpecificCommand<DtPagedNode2TerrainSourcePager>
18 #ifdef DtObjectDebugger_Enable
19  , public DtObjectDebugger<DtPageInGeometryCommand>
20 #endif
21 {
22 public:
24  virtual ~DtPageInPageNode2Command();
25 
27  virtual void execute(DtPagedNode2TerrainSourcePager* terrainPager);
28 
30  virtual const int type() const;
31 
33  virtual void setGeometry(DtTerrainPagingGeometryPtr geometry);
34 
36  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
37 
38 protected:
40 };
41 
43 
45 
47  : public DtTerrainPagerSpecificCommand<DtPagedNode2TerrainSourcePager>
48 {
49 public:
51  virtual ~DtPageOutPagedNode2Command();
52 
54  virtual void execute(DtPagedNode2TerrainSourcePager* terrainPager);
55 
57  virtual const int type() const;
58 
60  virtual void setNodesToRemove(const std::list<DtNodeId>& nodesToRemove);
61 
63  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
64 
65 protected:
66  std::list<DtNodeId> myNodesToRemove;
67 };
DtBoost::shared_ptr< DtTerrainPagingGeometry > DtTerrainPagingGeometryPtr
Definition: terrainPagingGeometry.h:46
A DtPagedNode2TerrainSourcePager pages in data osgEarth pagedNode2 data.
Definition: pagedNode2TerrainSourcePager.h:24
Definition: pagedNode2Commands.h:46
Template class for creating DtTerrainPagerCommand subclasses that are used for a specific subclass of...
Definition: terrainPagerCommand.h:126
std::list< DtNodeId > myNodesToRemove
Definition: pagedNode2Commands.h:66
#define DT_DEFINE_OBJECT_DEBUGGER_NAME(type)
Definition: objectCounter.h:265
Default on in debug, off in release.
Definition: objectCounter.h:31
virtual void execute(DtTerrainSourcePager *pager)
Definition: terrainPagerCommand.h:140
Base class for commands that can be passed into the DtVantageTerrainEngine. These commands are passed...
Definition: terrainPagerCommand.h:30
Command which causes all data within the specified geometry to be paged in by the terrain pager...
Definition: pagedNode2Commands.h:16
DtTerrainPagingGeometryPtr myGeometry
Definition: pagedNode2Commands.h:39
#define DT_DLL_vantageTerrainImplementation
This file is used to determine how to build.
Definition: vantageTerrainImplementationDefines.h:28
virtual const int type() const =0
DtBoost::shared_ptr< DtPagingMetaData > DtPagingMetaDataPtr
Definition: terrainPagingGeometry.h:101

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)