CloudyDay
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
WangCloud
TerrainConfig.h
1
#pragma once
2
#include <string>
3
#include <vector>
4
5
namespace
osgCloudyDay
6
{
10
class
TerrainConfig
11
{
12
public
:
16
TerrainConfig
(
void
);
20
~TerrainConfig
(
void
);
21
26
void
SetPath2File
(std::string path);
31
std::string
GetPath2File
();
32
37
void
SetPath2DiffuseTexture
(std::string path);
42
std::string
GetPath2DiffuseTexture
();
43
48
void
SetPath2DefinationTexture
(std::string path);
53
std::string
GetPath2DefinationTexture
();
54
59
void
SetPath2HeightTexture
(std::string path);
64
std::string
GetPath2HeightTexture
();
65
70
int
GetNumberOfTexture
();
75
void
AddPath2Texture
(std::string path);
81
std::string
GetPathAt
(
int
at);
82
87
int
GetNumberOfNormalTexture
();
92
void
AddPath2NormalTexture
(std::string path);
98
std::string
GetNormalPathAt
(
int
at);
99
104
bool
UseTesselationShader
();
109
void
SetTesselationShader
(
bool
value);
110
111
protected
:
112
bool
m_use_geometry_shader;
113
std::string m_path2file;
114
std::string m_diffuse_texture;
115
std::string m_heightmap;
116
std::string m_defination;
117
std::vector<std::string> m_textures;
118
std::vector<std::string> m_textures_normal;
119
};
120
}
Generated on Thu Oct 2 2014 18:53:51 for CloudyDay by
1.8.1.1