- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/txp/trpage_managers.h
r12538 r13041 52 52 /* Call this when you hit a tile header in your own 53 53 Scene parser callback. The managed tile 54 can then keep track of which textures and models 54 can then keep track of which textures and models 55 55 go with this tile. 56 56 */ … … 69 69 // In version 2.1 we no longer have the tile table to 70 70 // find the tiles, only by traversing the parent can it be 71 // found. So when we have this info, this is were to save it. 71 // found. So when we have this info, this is were to save it. 72 72 void SetTileAddress(const trpgwAppAddress& gAddr); 73 73 void SetTileAddress(int32 file, int32 offset); … … 144 144 bool GetChildTileLoc(int childIdx, int &x,int &y,int &lod) const; 145 145 const trpgwAppAddress& GetChildTileAddress(int childIdx) const; 146 147 146 147 148 148 protected: 149 149 // Set if a tile is currently loaded … … 218 218 the children info. If this is not done then only lod 0 will be pageable. 219 219 */ 220 220 221 221 virtual void AckLoad(std::vector<TileLocationInfo> const& children); 222 222 … … 270 270 271 271 /* Information associated with each terrain level of 272 detail as related to paging. 272 detail as related to paging. 273 273 */ 274 274 TX_EXDECL class TX_CLDECL LodPageInfo { … … 472 472 protected: 473 473 // typedef std::vector<const trpgChildRef> ChildList; 474 // The const in the template parameter was removed because it causes GCC to 475 // freak out. I am of the opinion that const doesn't make sense in a template 476 // parameter for std::vector anyway... const prevents you from changing the 477 // value, so what exactly is the point? How does one add entries to the vector 474 // The const in the template parameter was removed because it causes GCC to 475 // freak out. I am of the opinion that const doesn't make sense in a template 476 // parameter for std::vector anyway... const prevents you from changing the 477 // value, so what exactly is the point? How does one add entries to the vector 478 478 // without giving them a value? -ADS 479 479 typedef std::vector<trpgChildRef> ChildList; … … 482 482 483 483 /* Page Manager Tester. This class tests a given paging manager 484 by applying likely 484 by applying likely 485 485 */ 486 486 TX_EXDECL class TX_CLDECL trpgPageManageTester … … 497 497 /* Feeds the paging manager coordinates starting from 498 498 the lower left to upper right of the database in the 499 given increment. 499 given increment. 500 500 */ 501 501 void Fly_LL_to_UR(double dist=100.0);
