VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
boundingVolumeCommands.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
13 
17  : public DtTerrainPagerSpecificCommand<DtBoundingVolumeTerrainSourcePager>
18 #ifdef DtObjectDebugger_Enable
19  , public DtObjectDebugger<DtPageInGeometryCommand>
20 #endif
21 {
22 public:
24  virtual ~DtPageInGeometryCommand() override;
25 
26  virtual void execute(DtBoundingVolumeTerrainSourcePager* terrainPager) override;
27 
29  virtual const int type() const override;
30 
31  virtual void setGeometry(DtTerrainPagingGeometryPtr geometry);
32 
33  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
34 
35 protected:
37 };
38 
40 
42 
44  : public DtTerrainPagerSpecificCommand<DtBoundingVolumeTerrainSourcePager>
45 {
46 public:
48  virtual ~DtPageOutNodesCommand() override;
49 
50  virtual void execute(DtBoundingVolumeTerrainSourcePager* terrainPager) override;
51 
53  virtual const int type() const override;
54 
55  virtual void setNodesToRemove(const std::list<DtNodeId> nodesToRemove);
56 
57  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
58 
59 protected:
60  std::list<DtNodeId> myNodesToRemove;
61 };
DtTerrainPagingGeometryPtr myGeometry
Definition: boundingVolumeCommands.h:36
Template class for creating DtTerrainPagerCommand subclasses that are used for a specific subclass of...
Definition: terrainPagerCommand.h:126
#define DT_DEFINE_OBJECT_DEBUGGER_NAME(type)
Definition: objectCounter.h:31
Default on in debug, off in release.
Definition: objectCounter.h:27
Definition: boundingVolumeCommands.h:43
std::list< DtNodeId > myNodesToRemove
Definition: boundingVolumeCommands.h:60
Base class for commands that can be passed into the DtVantageTerrainEngine. These commands are passed...
Definition: terrainPagerCommand.h:30
std::shared_ptr< DtTerrainPagingGeometry > DtTerrainPagingGeometryPtr
Definition: terrainPagingGeometry.h:46
Command which causes all data within the specified geometry to be paged in by the terrain pager...
Definition: boundingVolumeCommands.h:16
std::shared_ptr< DtPagingMetaData > DtPagingMetaDataPtr
Definition: terrainPagingGeometry.h:108
DtBoundingVolumeTerrainSourcePager is a derived terrainSourcePager that handles a source such as meta...
Definition: boundingVolumeTerrainSourcePager.h:21
#define DT_DLL_vantageTerrainImplementation
This file is used to determine how to build.
Definition: vantageTerrainImplementationDefines.h:28
virtual const int type() const =0
virtual void execute(DtTerrainSourcePager *pager) override
Definition: terrainPagerCommand.h:139

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)