VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
terraPageTerrainSourcePager.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
15 
17 {
22 };
23 
25 
26 namespace txp
27 {
28  class TXPNode;
29 }
30 
31 typedef boost::unordered_map<osg::Node*, DtTerraPageBoundingInfo> DtTerraPageNodeBoundingVolumeMap;
32 
36 {
37 public:
38 
40  txp::TXPNode* rootNode, const DtFilename& surfaceCharacterMap);
41 
43 
46 
47  virtual bool pageInGeometry(const DtTerrainPagingGeometryPtr geometry,
48  DtTerrainIntersectIDType intersectId = 0);
49 
50  virtual bool pageOutNodes(std::list<DtNodeId>& nodesToRemove);
51 
52  virtual void updatePageTracker(DtTerrainIntersectIDType intersectId = 0);
53 
56  static DtTerrainSourcePager* terrainChooserFunction(osg::Node& node,
57  DtVantageTerrainEngine* terrainEngine, const DtFilename& surfaceCharacterMap);
58 
59  virtual void traverseChildAndLoad(osg::Group*);
60 
61 protected:
63 
68 
70 
71  osg::Matrix myMatrix;
72 };
73 
75 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)