Connects the ESM Store used in OpenMW with the ESMTerrain storage.  
 More...
#include <terrainstorage.hpp>
|  | 
|  | TerrainStorage (const VFS::Manager *vfs, const std::string &normalMapPattern="", const std::string &normalHeightMapPatteern="", bool autoUseNormalMaps=false, const std::string &specularMapPattern="", bool autoUseSpecularMaps=false) | 
|  | 
| virtual void | getBounds (float &minX, float &maxX, float &minY, float &maxY) | 
|  | Get bounds of the whole terrain in cell units.  More... 
 | 
|  | 
|  | Storage (const VFS::Manager *vfs, const std::string &normalMapPattern="", const std::string &normalHeightMapPattern="", bool autoUseNormalMaps=false, const std::string &specularMapPattern="", bool autoUseSpecularMaps=false) | 
|  | 
| const ESM::Land::LandData * | getLandData (int cellX, int cellY, int flags) | 
|  | 
| virtual bool | getMinMaxHeights (float size, const osg::Vec2f ¢er, float &min, float &max) | 
|  | 
| virtual void | fillVertexBuffers (int lodLevel, float size, const osg::Vec2f ¢er, osg::ref_ptr< osg::Vec3Array > positions, osg::ref_ptr< osg::Vec3Array > normals, osg::ref_ptr< osg::Vec4Array > colours) | 
|  | 
| virtual void | getBlendmaps (float chunkSize, const osg::Vec2f &chunkCenter, bool pack, ImageVector &blendmaps, std::vector< Terrain::LayerInfo > &layerList) | 
|  | 
| virtual float | getHeightAt (const osg::Vec3f &worldPos) | 
|  | 
| virtual Terrain::LayerInfo | getDefaultLayer () | 
|  | 
| virtual float | getCellWorldSize () | 
|  | Get the transformation factor for mapping cell units to world units.  More... 
 | 
|  | 
| virtual int | getCellVertices () | 
|  | Get the number of vertices on one side for each cell. Should be (power of two)+1.  More... 
 | 
|  | 
| virtual | ~Storage () | 
|  | 
|  | 
| typedef std::vector < osg::ref_ptr< osg::Image > >
 | ImageVector | 
|  | 
Connects the ESM Store used in OpenMW with the ESMTerrain storage. 
      
        
          | MWRender::TerrainStorage::TerrainStorage | ( | const VFS::Manager * | vfs, | 
        
          |  |  | const std::string & | normalMapPattern = "", | 
        
          |  |  | const std::string & | normalHeightMapPatteern = "", | 
        
          |  |  | bool | autoUseNormalMaps = false, | 
        
          |  |  | const std::string & | specularMapPattern = "", | 
        
          |  |  | bool | autoUseSpecularMaps = false | 
        
          |  | ) |  |  | 
      
 
 
  
  | 
        
          | void MWRender::TerrainStorage::getBounds | ( | float & | minX, |  
          |  |  | float & | maxX, |  
          |  |  | float & | minY, |  
          |  |  | float & | maxY |  
          |  | ) |  |  |  | virtual | 
 
 
  
  | 
        
          | const ESM::Land * MWRender::TerrainStorage::getLand | ( | int | cellX, |  
          |  |  | int | cellY |  
          |  | ) |  |  |  | privatevirtual | 
 
 
The documentation for this class was generated from the following files: