Umasoft
Main Page
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
VTBuilder
VegGenOptions.h
1
//
2
// Name: VegGenOptions.h
3
//
4
// Copyright (c) 2004 Virtual Terrain Project
5
// Free for all uses, see license.txt for details.
6
//
7
8
#ifndef __VegGenOptions_H__
9
#define __VegGenOptions_H__
10
11
class
vtVegLayer
;
12
14
class
VegGenOptions
15
{
16
public
:
17
VegGenOptions
()
18
{
19
// defaults
20
m_fSampling = 40.0f;
21
m_fScarcity = 0.02f;
22
m_iSingleSpecies = -1;
23
m_iSingleBiotype = -1;
24
m_pBiotypeLayer = NULL;
25
m_fFixedDensity = 0.1f;
26
m_pDensityLayer = NULL;
27
m_fFixedSize = 5.0f;
28
m_fRandomFrom = 0.0f;
29
m_fRandomTo = 1.0f;
30
}
31
32
// sampling
33
float
m_fSampling, m_fScarcity;
34
35
// species
36
int
m_iSingleSpecies;
37
int
m_iSingleBiotype;
38
vtVegLayer
*m_pBiotypeLayer;
39
40
// density
41
float
m_fFixedDensity;
42
vtVegLayer
*m_pDensityLayer;
43
44
// size
45
float
m_fFixedSize;
46
float
m_fRandomFrom, m_fRandomTo;
47
};
48
49
#endif // __VegGenOptions_H__
50
Generated on Fri Jun 7 2013 16:07:50 for Umasoft by
1.8.4