#include <TerrainConfig.h>
List of all members.
Protected Attributes |
|
bool | m_use_geometry_shader |
|
std::string | m_path2file |
|
std::string | m_diffuse_texture |
|
std::string | m_heightmap |
|
std::string | m_defination |
|
std::vector< std::string > | m_textures |
|
std::vector< std::string > | m_textures_normal |
Detailed Description
Class to configure the terrain
Constructor & Destructor Documentation
| osgCloudyDay::TerrainConfig::TerrainConfig |
( |
void |
| ) |
|
| osgCloudyDay::TerrainConfig::~TerrainConfig |
( |
void |
| ) |
|
Member Function Documentation
| void osgCloudyDay::TerrainConfig::AddPath2NormalTexture |
( |
std::string |
path | ) |
|
Method to add a normal texture path to the normal texture
| void osgCloudyDay::TerrainConfig::AddPath2Texture |
( |
std::string |
path | ) |
|
Method to add a texture path to the texture
| std::string osgCloudyDay::TerrainConfig::GetNormalPathAt |
( |
int |
at | ) |
|
Method returns the path to a normal texture
- Parameters:
-
- Returns:
- path to the normal texture
| int osgCloudyDay::TerrainConfig::GetNumberOfNormalTexture |
( |
| ) |
|
Returns the number of normal textures
- Returns:
- number of normal textures
| int osgCloudyDay::TerrainConfig::GetNumberOfTexture |
( |
| ) |
|
Returns the number of textures
- Returns:
- number of textures
| std::string osgCloudyDay::TerrainConfig::GetPath2DefinationTexture |
( |
| ) |
|
Returns the path to the definition texture
- Returns:
- path to the definition texture
| std::string osgCloudyDay::TerrainConfig::GetPath2DiffuseTexture |
( |
| ) |
|
Returns the path to the diffuse texture
- Returns:
- path to the diffuse texture
| std::string osgCloudyDay::TerrainConfig::GetPath2File |
( |
| ) |
|
Returns the path to the 3D model
- Returns:
- path to the 3D model
| std::string osgCloudyDay::TerrainConfig::GetPath2HeightTexture |
( |
| ) |
|
Returns the path to the height texture
- Returns:
- path to the height texture
| std::string osgCloudyDay::TerrainConfig::GetPathAt |
( |
int |
at | ) |
|
Method returns the path to a texture
- Parameters:
-
- Returns:
- path to the texture
| void osgCloudyDay::TerrainConfig::SetPath2DefinationTexture |
( |
std::string |
path | ) |
|
Set the path to the definition texture
- Parameters:
-
| path | to definition texture |
| void osgCloudyDay::TerrainConfig::SetPath2DiffuseTexture |
( |
std::string |
path | ) |
|
Set the path to the diffuse texture
- Parameters:
-
| void osgCloudyDay::TerrainConfig::SetPath2File |
( |
std::string |
path | ) |
|
Set the path to the 3D model
- Parameters:
-
| void osgCloudyDay::TerrainConfig::SetPath2HeightTexture |
( |
std::string |
path | ) |
|
Set the path to the height texture
- Parameters:
-
| void osgCloudyDay::TerrainConfig::SetTesselationShader |
( |
bool |
value | ) |
|
Method sets, if the tesselation shader should be used
- Parameters:
-
| value | tesselation shader? yes/no |
| bool osgCloudyDay::TerrainConfig::UseTesselationShader |
( |
| ) |
|
Returns, if the tesselation shader should be used
- Returns:
- tesselation shader? yes/no
The documentation for this class was generated from the following files: