TDME2 1.9.121
Terrain2 Member List

This is the complete list of members for Terrain2, including all inherited members.

applyBrushToTerrainModels(BoundingBox &terrainBoundingBox, vector< Model * > &terrainModels, vector< float > &terrainHeightVector, const Vector3 &brushCenterPosition, Texture *brushTexture, float brushScale, float brushStrength, BrushOperation brushOperation, float flattenHeight=0.0f)Terrain2static
applyFoliageBrush(BoundingBox &terrainBoundingBox, vector< float > &terrainHeightVector, const Vector3 &brushCenterPosition, const FoliageBrush &foliageBrush, const vector< FoliageBrushPrototype > &foliageBrushPrototypes, BrushOperation brushOperation, vector< unordered_map< int, vector< Transformations > > > &foliageMaps, vector< unordered_map< int, vector< Transformations > > > &newFoliageMaps)Terrain2static
applyFoliageDeleteBrush(BoundingBox &terrainBoundingBox, const Vector3 &brushCenterPosition, const FoliageBrush &foliageBrush, const vector< FoliageBrushPrototype > &foliageBrushPrototypes, BrushOperation brushOperation, vector< unordered_map< int, vector< Transformations > > > &foliageMaps, unordered_set< int > &recreateFoliagePartitions)Terrain2static
applyRampBrushToTerrainModels(BoundingBox &terrainBoundingBox, vector< Model * > &terrainModels, vector< float > &terrainHeightVector, const Vector3 &brushCenterPosition, Texture *brushTexture, float brushRotation, const Vector2 &brushScale, float flattenHeightMin, float flattenHeightMax)Terrain2static
BrushOperation enum nameTerrain2
BRUSHOPERATION_ADD enum valueTerrain2
BRUSHOPERATION_DELETE enum valueTerrain2
BRUSHOPERATION_FLATTEN enum valueTerrain2
BRUSHOPERATION_NONE enum valueTerrain2
BRUSHOPERATION_RAMP enum valueTerrain2
BRUSHOPERATION_SMOOTH enum valueTerrain2
BRUSHOPERATION_SUBTRACT enum valueTerrain2
BRUSHOPERATION_WATER_ADD enum valueTerrain2
BRUSHOPERATION_WATER_DELETE enum valueTerrain2
computeTerrainVertexNormal(const vector< float > &terrainHeightVector, int verticesPerX, int verticesPerZ, int x, int z)Terrain2inlineprivatestatic
computeWaterPositionMap(BoundingBox &terrainBoundingBox, const vector< float > &terrainHeightVector, const Vector3 &brushCenterPosition, float waterHeight, unordered_map< int, unordered_set< int > > &waterPositionMap)Terrain2static
computeWaterReflectionEnvironmentMappingPosition(const unordered_map< int, unordered_set< int > > &waterPositionMap, float waterHeight)Terrain2static
createFoliageMaps(BoundingBox &terrainBoundingBox, vector< unordered_map< int, vector< Transformations > > > &foliageMaps)Terrain2static
createFoliageMaps(float terrainWidth, float terrainDepth, vector< unordered_map< int, vector< Transformations > > > &foliageMaps)Terrain2static
createTerrainModels(float width, float depth, float y, vector< float > &terrainHeightVector, BoundingBox &terrainBoundingBox, vector< Model * > &terrainModels, bool createLODLevels=false)Terrain2static
createWaterModels(BoundingBox &terrainBoundingBox, const unordered_map< int, unordered_set< int > > &waterPositionMap, float waterHeight, int waterModelIdx, vector< Model * > &waterModels)Terrain2static
determineWater(const vector< float > &terrainHeightVector, int verticesPerX, int verticesPerZ, int x, int z, float waterHeight)Terrain2inlineprivatestatic
determineWaterXPositionSet(const vector< float > &terrainHeightVector, int verticesPerX, int verticesPerZ, int x, int z, float waterHeight, unordered_set< int > &waterXPositionSet)Terrain2inlineprivatestatic
emptyFoliageMaps(vector< unordered_map< int, vector< Transformations > > > &foliageMaps)Terrain2static
getTerrainModelsHeight(BoundingBox &terrainBoundingBox, vector< Model * > &terrainModels, vector< float > &terrainHeightVector, const Vector3 &brushCenterPosition, float &brushHeight)Terrain2static
getTerrainVertex(int x, int z, Vector3 &vertex)Terrain2inlineprivatestatic
getTerrainVertex(const vector< float > &terrainHeightVector, int verticesPerX, int verticesPerZ, int x, int z, Vector3 &vertex)Terrain2inlineprivatestatic
getWaterVertex(int x, int z, float waterHeight, Vector3 &vertex)Terrain2inlineprivatestatic
hasWaterPosition(const unordered_map< int, unordered_set< int > > &waterPositionSet, int x, int z)Terrain2inlineprivatestatic
mirrorXAxis(bool flipZ, float width, float depth, vector< float > &terrainHeightVector, unordered_map< int, float > &waterPositionMapsHeight, unordered_map< int, unordered_map< int, unordered_set< int > > > &waterPositionMaps, vector< unordered_map< int, vector< Transformations > > > &foliageMaps)Terrain2static
mirrorZAxis(bool flipX, float width, float depth, vector< float > &terrainHeightVector, unordered_map< int, float > &waterPositionMapsHeight, unordered_map< int, unordered_map< int, unordered_set< int > > > &waterPositionMaps, vector< unordered_map< int, vector< Transformations > > > &foliageMaps)Terrain2static
PARTITION_SIZETerrain2static
STEP_SIZETerrain2static
updateFoliageTerrainBrush(BoundingBox &terrainBoundingBox, vector< float > &terrainHeightVector, const Vector3 &brushCenterPosition, const FoliageBrush &foliageBrush, vector< unordered_map< int, vector< Transformations > > > &foliageMaps, unordered_set< int > &updateFoliagePartitions)Terrain2static
updateFoliageTerrainRampBrush(BoundingBox &terrainBoundingBox, vector< float > &terrainHeightVector, const Vector3 &brushCenterPosition, Texture *brushTexture, float brushRotation, const Vector2 &brushScale, vector< unordered_map< int, vector< Transformations > > > &foliageMaps, unordered_set< int > &updateFoliagePartitions)Terrain2static