VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
metaflightTerrainSourcePager.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 
16 
18 
20 {
25 };
26 
27 typedef boost::unordered_map<makVrv::DtHierarchicalPagedLod*, DtMetaflightBoundingInfo> DtHierNodeBoundingVolumeMap;
28 
32 {
33 public:
34 
36  osg::Group* rootNode, const DtFilename& surfaceCharacterMap);
37 
39 
42 
43  virtual bool pageInGeometry(const DtTerrainPagingGeometryPtr geometry,
44  DtTerrainIntersectIDType intersectId = 0);
45 
46  virtual bool pageOutNodes(std::list<DtNodeId>& nodesToRemove);
47 
48  virtual void updatePageTracker(DtTerrainIntersectIDType intersectId = 0);
49 
52  static DtTerrainSourcePager* terrainChooserFunction(osg::Node& node,
53  DtVantageTerrainEngine* terrainEngine, const DtFilename& surfaceCharacterMap);
54 
55 protected:
56 
58  {
59  public:
61  virtual ~DtMetaflightTerrainVisitor();
62 
64  virtual void apply(osg::Group& node);
65 
66  protected:
67  virtual void indent();
68 
69  public:
71  };
72 
73 protected:
74  osg::Group* myRootNode;
75 
76 
82 };
83 
85 

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)