VR-Forces 4.8 Class Documentation
 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) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
13 
17  : public DtTerrainPagerSpecificCommand<DtBoundingVolumeTerrainSourcePager>
18  , public DtObjectDebugger<DtPageInGeometryCommand>
19 {
20 public:
22  virtual ~DtPageInGeometryCommand();
23 
24  virtual void execute(DtBoundingVolumeTerrainSourcePager* terrainPager);
25 
27  virtual const int type() const;
28 
29  virtual void setGeometry(DtTerrainPagingGeometryPtr geometry);
30 
31  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
32 
33 protected:
35 };
36 
38 
40 
42  : public DtTerrainPagerSpecificCommand<DtBoundingVolumeTerrainSourcePager>
43 {
44 public:
46  virtual ~DtPageOutNodesCommand();
47 
48  virtual void execute(DtBoundingVolumeTerrainSourcePager* terrainPager);
49 
51  virtual const int type() const;
52 
53  virtual void setNodesToRemove(const std::list<DtNodeId> nodesToRemove);
54 
55  static DtTerrainPagerCommand* create(DtPagingMetaDataPtr metaData);
56 
57 protected:
58  std::list<DtNodeId> myNodesToRemove;
59 };
DtBoost::shared_ptr< DtTerrainPagingGeometry > DtTerrainPagingGeometryPtr
Definition: terrainPagingGeometry.h:41
DtTerrainPagingGeometryPtr myGeometry
Definition: boundingVolumeCommands.h:34
Template class for creating DtTerrainPagerCommand subclasses that are used for a specific subclass of...
Definition: terrainPagerCommand.h:94
#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:108
Definition: boundingVolumeCommands.h:41
std::list< DtNodeId > myNodesToRemove
Definition: boundingVolumeCommands.h:58
Base class for commands that can be passed into the DtVantageTerrainEngine.
Definition: terrainPagerCommand.h:30
Command which causes all data within the specified geometry to be paged in by the terrain pager...
Definition: boundingVolumeCommands.h:16
DtBoundingVolumeTerrainSourcePager is a derived terrainSourcePager that handles a source such as meta...
Definition: boundingVolumeTerrainSourcePager.h:19
#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:89

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)