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

Revision 967, 10.6 KB checked in by igarcia, 19 years ago (diff)
Line 
1#include "LBBCSampleConfigFile.h"
2
3namespace LBBC {
4
5SampleConfigFile::SampleConfigFile(): Ogre::ConfigFile()
6{
7}
8       
9SampleConfigFile::~SampleConfigFile()
10{
11}
12
13Ogre::String SampleConfigFile::getEntitySampleMaterialName()
14{
15        return getSetting("Entity Sample Material Name");
16}
17
18Ogre::String SampleConfigFile::getEntitySampleMeshName()
19{
20        return getSetting("Entity Sample Mesh Name");
21}
22
23bool SampleConfigFile::getEntityDistributionGeneration()
24{
25        return Ogre::StringConverter::parseBool(getSetting("Entity Distribution Generation"));
26}
27
28bool SampleConfigFile::getEntityDistributionMerged()
29{
30        return Ogre::StringConverter::parseBool(getSetting("Entity Distribution Merged"));
31}
32
33Ogre::String SampleConfigFile::getEntityDistributionSplittedMeshName()
34{
35        return getSetting("Entity Distribution Splitted Mesh Name");
36}
37
38Ogre::String SampleConfigFile::getEntityDistributionSplittedMaterialName()
39{
40        return getSetting("Entity Distribution Splitted Material Name");
41}
42
43Ogre::String SampleConfigFile::getEntityDistributionMergedMeshName()
44{
45        return getSetting("Entity Distribution Merged Mesh Name");
46}
47
48Ogre::String SampleConfigFile::getEntityDistributionMergedMaterialName()
49{
50        return getSetting("Entity Distribution Merged Material Name");
51}
52
53Ogre::String SampleConfigFile::getEntityDistributionFolder()
54{
55        return getSetting("Entity Distribution Folder");
56}
57
58Ogre::String SampleConfigFile::getEntityDistributionXMLName()
59{
60        return getSetting("Entity Distribution XML Name");
61}
62
63Ogre::String SampleConfigFile::getEntitiesFolder()
64{
65        return getSetting("Entities Folder");
66}
67
68
69Ogre::String SampleConfigFile::getEntitiesMeshName()
70{
71        return getSetting("Entities Mesh Name");
72}
73
74Ogre::String SampleConfigFile::getBillboardCloudGroupedIndirectTexturingXMLName()
75{
76        return getSetting("Billboard Cloud Grouped Indirect Texturing XML Name");
77}
78
79bool SampleConfigFile::getEntitySampleMeshGeneration()
80{
81        return Ogre::StringConverter::parseBool(getSetting("Entity Sample Mesh Generation"));
82}
83
84bool SampleConfigFile::getEntityClustersGeneration()
85{
86        return Ogre::StringConverter::parseBool(getSetting("Entity Clusters Generation"));
87}
88
89float SampleConfigFile::getEntityClustersAlpha()
90{
91        return Ogre::StringConverter::parseReal(getSetting("Entity Clusters Alpha"));
92}
93
94unsigned int SampleConfigFile::getEntityClustersMaxClusters()
95{
96        return Ogre::StringConverter::parseInt(getSetting("Entity Clusters MaxClusters"));
97}
98
99unsigned int SampleConfigFile::getEntityClustersNumIterations()
100{
101        return Ogre::StringConverter::parseInt(getSetting("Entity Clusters NumIterations"));
102}
103
104bool SampleConfigFile::getEntityClustersGroupedClusters()
105{
106        return Ogre::StringConverter::parseBool(getSetting("Entity Clusters Grouped Clusters"));
107}
108
109bool SampleConfigFile::getEntityClustersSplittedClusters()
110{
111        return Ogre::StringConverter::parseBool(getSetting("Entity Clusters Splitted Clusters"));
112}
113
114bool SampleConfigFile::getEntityDistributionSplitted()
115{
116        return Ogre::StringConverter::parseBool(getSetting("Entity Distribution Splitted"));
117}
118
119bool SampleConfigFile::getBillboardCloudGroupedDiffuseColorBillboards()
120{
121        return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Grouped Diffuse Color Billboards"));
122}
123
124bool SampleConfigFile::getBillboardCloudSplittedBillboards()
125{
126        return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Splitted Billboards"));
127}
128
129Ogre::String SampleConfigFile::getBillboardCloudDiffuseColorPointClustersMeshName()
130{
131        return getSetting("Billboard Cloud Diffuse Color Point Clusters Mesh Name");
132}
133
134Ogre::String SampleConfigFile::getBillboardCloudDiffuseColorPointClustersMaterialName()
135{
136        return getSetting("Billboard Cloud Diffuse Color Point Clusters Material Name");
137}
138
139Ogre::String SampleConfigFile::getEntityClustersFolder()
140{
141        return getSetting("Entity Clusters Folder");
142}
143
144Ogre::String SampleConfigFile::getEntityClustersGroupedMeshName()
145{
146        return getSetting("Entity Clusters Grouped Mesh Name");
147}
148
149Ogre::String SampleConfigFile::getEntityClustersSplittedMeshName()
150{
151        return getSetting("Entity Clusters Splitted Mesh Name");
152}
153
154Ogre::String SampleConfigFile::getEntityClustersGroupedMaterialName()
155{
156        return getSetting("Entity Clusters Grouped Material Name");
157}
158
159Ogre::String SampleConfigFile::getEntityClustersSplittedMaterialName()
160{
161        return getSetting("Entity Clusters Splitted Material Name");
162}
163
164Ogre::String SampleConfigFile::getBillboardCloudFolder()
165{
166        return getSetting("Billboard Cloud Folder");
167}
168
169Ogre::String SampleConfigFile::getBillboardCloudGroupedDiffuseColorMeshName()
170{
171        return getSetting("Billboard Cloud Grouped Diffuse Color Mesh Name");
172}
173
174Ogre::String SampleConfigFile::getBillboardCloudGroupedIndirectTexturingMeshName()
175{
176        return getSetting("Billboard Cloud Grouped Indirect Texturing Mesh Name");
177}
178
179Ogre::String SampleConfigFile::getBillboardCloudSplittedMeshName()
180{
181        return getSetting("Billboard Cloud Splitted Mesh Name");
182}
183
184Ogre::String SampleConfigFile::getBillboardCloudGroupedIndirectTexturingMaterialName()
185{
186        return getSetting("Billboard Cloud Grouped Indirect Texturing Material Name");
187}
188
189Ogre::String SampleConfigFile::getBillboardCloudGroupedDiffuseColorMaterialName()
190{
191        return getSetting("Billboard Cloud Grouped Diffuse Color Material Name");
192}
193
194Ogre::String SampleConfigFile::getBillboardCloudSplittedMaterialName()
195{
196        return getSetting("Billboard Cloud Splitted Material Name");
197}
198
199Ogre::String SampleConfigFile::getEntityClustersGroupedTextureUnit0Name()
200{
201        return getSetting("Entity Clusters Grouped Texture Unit 0 Name");
202}
203
204Ogre::String SampleConfigFile::getEntityClustersSplittedTextureUnit0Name()
205{
206        return getSetting("Entity Clusters Splitted Texture Unit 0 Name");
207}
208
209Ogre::String SampleConfigFile::getBillboardCloudGroupedDiffuseColorTextureUnit0Name()
210{
211        return getSetting("Billboard Cloud Grouped Diffuse Color Texture Unit 0 Name");
212}
213
214Ogre::String SampleConfigFile::getBillboardCloudGroupedIndirectTexturingTextureUnit0Name()
215{
216        return getSetting("Billboard Cloud Grouped Indirect Texturing Texture Unit 0 Name");
217}
218
219Ogre::String SampleConfigFile::getBillboardCloudSplittedTextureUnit0Name()
220{
221        return getSetting("Billboard Cloud Splitted Texture Unit 0 Name");
222}
223
224Ogre::String SampleConfigFile::getBillboardCloudIndirectGroupedBillboardsTextureAtlasName()
225{
226        return getSetting("Billboard Cloud Indirect Grouped Billboards Texture Atlas Name");
227}
228
229unsigned int SampleConfigFile::getBillboardCloudDiffuseColorEntityTextureAtlasBitRange()
230{
231        return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Diffuse Color Entity Texture Atlas Bit Range"));
232}
233
234unsigned int SampleConfigFile::getBillboardCloudDiffuseColorGroupedBillboardsTextureSize()
235{
236        return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Diffuse Color Grouped Billboards Texture Size"));
237}
238
239unsigned int SampleConfigFile::getBillboardCloudGroupedIndirectTexturingGroups()
240{
241        return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Grouped Indirect Texturing Groups"));
242}
243
244unsigned int SampleConfigFile::getBillboardCloudGroupedDiffuseColorGroups()
245{
246        return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Grouped Diffuse Color Groups"));
247}
248
249unsigned int SampleConfigFile::getBillboardCloudDiffuseColorGroupedBillboardsTextureAtlasBitRange()
250{
251        return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Diffuse Color Grouped Billboards Texture Atlas Bit Range"));
252}
253
254unsigned int SampleConfigFile::getBillboardCloudIndirectGroupedBillboardsTextureAtlasBitRange()
255{
256        return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Indirect Grouped Billboards Texture Atlas Bit Range"));
257}
258
259unsigned int SampleConfigFile::getBillboardCloudIndirectGroupedBillboardsTextureAtlasSize()
260{
261        return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Indirect Grouped Billboards Texture Atlas Size"));
262}
263
264unsigned int SampleConfigFile::getBillboardCloudIndirectGroupedBillboardsTextureSize()
265{
266        return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Indirect Grouped Billboards Texture Size"));
267}
268
269unsigned int SampleConfigFile::getBillboardCloudDiffuseColorGroupedBillboardsTextureAtlasSize()
270{
271        return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Diffuse Color Grouped Billboards Texture Atlas Size"));
272}
273
274bool SampleConfigFile::getBillboardCloudDiffuseColorGroupedBillboardsTextureAtlasDebug()
275{
276        return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Diffuse Color Grouped Billboards Texture Atlas Debug"));
277}
278
279bool SampleConfigFile::getBillboardCloudIndirectGroupedBillboardsTextureAtlasDebug()
280{
281        return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Indirect Grouped Billboards Texture Atlas Debug"));
282}
283
284bool SampleConfigFile::getBillboardCloudDiffuseColorGroupedBillboardsTextureAtlasGeneration()
285{
286        return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Diffuse Color Grouped Billboards Texture Atlas Generation"));
287}
288
289bool SampleConfigFile::getBillboardCloudIndirectGroupedBillboardsTextureAtlasGeneration()
290{
291        return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Indirect Grouped Billboards Texture Atlas Generation"));
292}
293
294bool SampleConfigFile::getBillboardCloudGroupedIndirectTexturingBillboards()
295{
296        return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Grouped Indirect Texturing Billboards"));
297}
298
299bool SampleConfigFile::getBillboardCloudDiffuseColorEntityTextureAtlasGeneration()
300{
301        return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Diffuse Color Entity Texture Atlas Generation"));
302}
303
304Ogre::String SampleConfigFile::getBillboardCloudDiffuseColorEntityTextureName()
305{
306        return getSetting("Billboard Cloud Diffuse Color Entity Texture Name");
307}
308
309Ogre::String SampleConfigFile::getBillboardCloudDiffuseColorGroupedBillboardsTextureAtlasName()
310{
311        return getSetting("Billboard Cloud Diffuse Color Grouped Billboards Texture Atlas Name");
312}
313
314Ogre::String SampleConfigFile::getBillboardCloudDiffuseColorEntityTextureAtlasName()
315{
316        return getSetting("Billboard Cloud Diffuse Color Entity Texture Atlas Name");
317}
318
319unsigned int SampleConfigFile::getBillboardCloudDiffuseColorEntityTextureAtlasSize()
320{
321        return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Diffuse Color Entity Texture Atlas Size"));
322}
323
324unsigned int SampleConfigFile::getBillboardCloudDiffuseColorEntityTextureAtlasNumSamples()
325{
326        return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Diffuse Color Entity Texture Atlas NumSamples"));
327}
328
329Ogre::String SampleConfigFile::getBillboardCloudSplittedXMLName()
330{
331        return getSetting("Billboard Cloud Splitted XML Name");
332}
333
334Ogre::String SampleConfigFile::getBillboardCloudGroupedDiffuseColorXMLName()
335{
336        return getSetting("Billboard Cloud Grouped Diffuse Color XML Name");
337}
338
339}
Note: See TracBrowser for help on using the repository browser.