this class handles all interactions with the Ogre Terrain system
More...
#include <TerrainGeometryManager.h>
this class handles all interactions with the Ogre Terrain system
Definition at line 38 of file TerrainGeometryManager.h.
◆ TerrainGeometryManager()
TerrainGeometryManager::TerrainGeometryManager |
( |
Terrain * |
terrainManager | ) |
|
◆ ~TerrainGeometryManager()
TerrainGeometryManager::~TerrainGeometryManager |
( |
| ) |
|
◆ configureTerrainDefaults()
void TerrainGeometryManager::configureTerrainDefaults |
( |
| ) |
|
|
private |
◆ getHeightAt()
float TerrainGeometryManager::getHeightAt |
( |
float |
x, |
|
|
float |
z |
|
) |
| |
◆ getHeightAtTerrainPosition()
float TerrainGeometryManager::getHeightAtTerrainPosition |
( |
float |
x, |
|
|
float |
z |
|
) |
| |
|
private |
◆ getMaxTerrainSize()
Ogre::Vector3 TerrainGeometryManager::getMaxTerrainSize |
( |
| ) |
|
◆ getNormalAt()
Ogre::Vector3 TerrainGeometryManager::getNormalAt |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
◆ getPageConfig()
Ogre::DataStreamPtr RoR::TerrainGeometryManager::getPageConfig |
( |
int |
x, |
|
|
int |
z |
|
) |
| |
|
private |
◆ getTerrainGroup()
Ogre::TerrainGroup* RoR::TerrainGeometryManager::getTerrainGroup |
( |
| ) |
|
|
inline |
◆ getTerrainImage()
bool RoR::TerrainGeometryManager::getTerrainImage |
( |
int |
x, |
|
|
int |
y, |
|
|
Ogre::Image & |
img |
|
) |
| |
|
private |
◆ initTerrain()
void RoR::TerrainGeometryManager::initTerrain |
( |
| ) |
|
|
private |
◆ InitTerrain()
bool TerrainGeometryManager::InitTerrain |
( |
std::string |
otc_filename | ) |
|
◆ isFlat()
bool RoR::TerrainGeometryManager::isFlat |
( |
| ) |
|
|
inline |
◆ loadTerrainConfig()
bool RoR::TerrainGeometryManager::loadTerrainConfig |
( |
Ogre::String |
filename | ) |
|
|
private |
◆ SetupBlendMaps()
void TerrainGeometryManager::SetupBlendMaps |
( |
RoR::OTCPage & |
page, |
|
|
Ogre::Terrain * |
t |
|
) |
| |
|
private |
◆ SetupGeometry()
void TerrainGeometryManager::SetupGeometry |
( |
RoR::OTCPage & |
page, |
|
|
bool |
flat = false |
|
) |
| |
|
private |
◆ SetupLayers()
void TerrainGeometryManager::SetupLayers |
( |
RoR::OTCPage & |
page, |
|
|
Ogre::Terrain * |
terrain |
|
) |
| |
|
private |
◆ updateLightMap()
void TerrainGeometryManager::updateLightMap |
( |
| ) |
|
◆ UpdateMainLightPosition()
void TerrainGeometryManager::UpdateMainLightPosition |
( |
| ) |
|
◆ m_ogre_terrain_group
Ogre::TerrainGroup* RoR::TerrainGeometryManager::m_ogre_terrain_group |
|
private |
◆ m_spec
std::shared_ptr<RoR::OTCFile> RoR::TerrainGeometryManager::m_spec |
|
private |
◆ m_was_new_geometry_generated
bool RoR::TerrainGeometryManager::m_was_new_geometry_generated |
|
private |
◆ mBase
Ogre::Real RoR::TerrainGeometryManager::mBase = 0.f |
|
private |
◆ mHeightData
float* RoR::TerrainGeometryManager::mHeightData = nullptr |
|
private |
◆ mIsFlat
bool RoR::TerrainGeometryManager::mIsFlat |
|
private |
◆ mMaxHeight
float RoR::TerrainGeometryManager::mMaxHeight |
|
private |
◆ mMinHeight
float RoR::TerrainGeometryManager::mMinHeight |
|
private |
◆ mPos
Ogre::Vector3 RoR::TerrainGeometryManager::mPos = Ogre::Vector3::ZERO |
|
private |
◆ mScale
Ogre::Real RoR::TerrainGeometryManager::mScale = 0.f |
|
private |
◆ mSize
Ogre::uint16 RoR::TerrainGeometryManager::mSize = 0 |
|
private |
◆ terrainManager
The documentation for this class was generated from the following files: