source: GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/src/LBBCSampleConfigFile.cpp @ 699

Revision 699, 5.0 KB checked in by igarcia, 19 years ago (diff)
Line 
1#include "LBBCSampleConfigFile.h"
2
3namespace LBBC {
4
5SampleConfigFile::SampleConfigFile()
6{
7}
8       
9SampleConfigFile::~SampleConfigFile()
10{
11}
12
13Ogre::String SampleConfigFile::getEntitySampleMeshPrefixFilename()
14{
15        return getSetting("Entity Sample Mesh Prefix Filename");
16}
17
18bool SampleConfigFile::getEntityDistributionGeneration()
19{
20        return Ogre::StringConverter::parseBool(getSetting("Entity Distribution Generation"));
21}
22
23bool SampleConfigFile::getEntityDistributionMerged()
24{
25        return Ogre::StringConverter::parseBool(getSetting("Entity Distribution Merged"));
26}
27
28Ogre::String SampleConfigFile::getEntityDistributionSplittedMaterialPrefixName()
29{
30        return getSetting("Entity Distribution Splitted Material Prefix Name");
31}
32
33Ogre::String SampleConfigFile::getEntityDistributionMergedMaterialPrefixName()
34{
35        return getSetting("Entity Distribution Merged Material Prefix Name");
36}
37
38Ogre::String SampleConfigFile::getEntityDistributionFolder()
39{
40        return getSetting("Entity Distribution Folder");
41}
42
43Ogre::String SampleConfigFile::getEntityDistributionXMLPrefixFilename()
44{
45        return getSetting("Entity Distribution XML Prefix Filename");
46}
47
48Ogre::String SampleConfigFile::getEntitiesFolder()
49{
50        return getSetting("Entites Folder");
51}
52
53
54Ogre::String SampleConfigFile::getEntitiesMeshPrefixFilename()
55{
56        return getSetting("Entities Mesh Prefix Filename");
57}
58
59Ogre::String SampleConfigFile::getBillboardCloudXMLPrefixFilename()
60{
61        return getSetting("Billboard Cloud XML Prefix Filename");
62}
63
64bool SampleConfigFile::getEntitySampleMeshGeneration()
65{
66        return Ogre::StringConverter::parseBool(getSetting("Entity Sample Mesh Generation"));
67}
68
69bool SampleConfigFile::getEntityClustersGeneration()
70{
71        return Ogre::StringConverter::parseBool(getSetting("Entity Clusters Generation"));
72}
73
74float SampleConfigFile::getEntityClustersAlpha()
75{
76        return Ogre::StringConverter::parseReal(getSetting("Entity Clusters Alpha"));
77}
78
79unsigned int SampleConfigFile::getEntityClustersMaxClusters()
80{
81        return Ogre::StringConverter::parseInt(getSetting("Entity Clusters MaxClusters"));
82}
83
84unsigned int SampleConfigFile::getEntityClustersNumIterations()
85{
86        return Ogre::StringConverter::parseInt(getSetting("Entity Clusters NumIterations"));
87}
88
89bool SampleConfigFile::getEntityClustersMergedClusters()
90{
91        return Ogre::StringConverter::parseBool(getSetting("Entity Clusters Merged Clusters"));
92}
93
94bool SampleConfigFile::getEntityClustersSplittedClusters()
95{
96        return Ogre::StringConverter::parseBool(getSetting("Entity Clusters Splitted Clusters"));
97}
98
99bool SampleConfigFile::getEntityDistributionSplitted()
100{
101        return Ogre::StringConverter::parseBool(getSetting("Entity Distribution Splitted"));
102}
103
104bool SampleConfigFile::getBillboardCloudGeneration()
105{
106        return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Generation"));
107}
108
109bool SampleConfigFile::getBillboardCloudMergedBillboards()
110{
111        return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Merged Billboards"));
112}
113
114bool SampleConfigFile::getBillboardCloudSplittedBillboards()
115{
116        return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Splitted Billboards"));
117}
118
119Ogre::String SampleConfigFile::getEntityClustersFolder()
120{
121        return getSetting("Entity Clusters Folder");
122}
123
124Ogre::String SampleConfigFile::getEntityClustersMeshPrefixFilename()
125{
126        return getSetting("Entity Clusters Mesh Prefix Filename");
127}
128
129Ogre::String SampleConfigFile::getEntityClustersMaterialPrefixFilename()
130{
131        return getSetting("Entity Clusters Material Prefix Filename");
132}
133
134Ogre::String SampleConfigFile::getBillboardCloudFolder()
135{
136        return getSetting("Billboard Cloud Folder");
137}
138
139Ogre::String SampleConfigFile::getBillboardCloudMeshPrefixFilename()
140{
141        return getSetting("Billboard Cloud Mesh Prefix Filename");
142}
143
144Ogre::String SampleConfigFile::getBillboardCloudMaterialPrefixFilename()
145{
146        return getSetting("Billboard Cloud Material Prefix Filename");
147}
148
149bool SampleConfigFile::getBillboardCloudDiffuseColorTextureAtlasGeneration()
150{
151        return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Diffuse Color Texture Atlas Generation"));
152}
153
154unsigned int SampleConfigFile::getBillboardCloudDiffuseColorTextureSize()
155{
156        return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Diffuse Color Texture Size"));
157}
158
159unsigned int SampleConfigFile::getBillboardCloudDiffuseColorTextureAtlasSize()
160{
161        return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Diffuse Color Texture Atlas Size"));
162}
163
164bool SampleConfigFile::getBillboardCloudIndirectTextureAtlasGeneration()
165{
166        return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Diffuse Color Texture Atlas Generation"));
167}
168
169unsigned int SampleConfigFile::getBillboardCloudIndirectTextureSize()
170{
171        return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Indirect Texture Size"));
172}
173
174unsigned int SampleConfigFile::getBillboardCloudIndirectTextureAtlasSize()
175{
176        return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Indirect Texture Atlas Size"));
177}
178
179}
Note: See TracBrowser for help on using the repository browser.