source: GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/LBBC/LBBCManager.h @ 959

Revision 959, 2.3 KB checked in by igarcia, 18 years ago (diff)
Line 
1#ifndef _LBBCMANAGER_H
2#define _LBBCMANAGER_H
3
4#include <LBBCPrerequisites.h>
5#include <LBBCLeaves.h>
6#include <LBBCLeafDistribution.h>
7#include <LBBCLeafDistributionGenerator.h>
8#include <LBBCLeafDistributionSerializer.h>
9#include <LBBCKdTreeClusterGenerator.h>
10#include <LBBCKMeansClusterGenerator.h>
11#include <LBBCDiffuseColorPointClusterGenerator.h>
12#include <LBBCKdTreeClusterSerializer.h>
13#include <LBBCKMeansClusterSerializer.h>
14#include <LBBCSampleConfigFile.h>
15#include <BBCColladaMeshSerializer.h>
16
17namespace LBBC {
18
19class _BBCExport LBBCManager : public BBC::BBCManager {
20  public:
21    LBBCManager();
22
23    ~LBBCManager();
24
25        void loadSampleConfigFile(Ogre::String sampleConfigFile);
26
27        SampleConfigFile* getSampleConfigFile();
28
29        void initialize();
30
31        void setSampleConfigFile(SampleConfigFile *sampleConfigFile);
32
33        void generateEntityDistribution();
34
35        void loadEntityDistribution();
36
37        void saveEntityDistributionSplitted();
38
39        void createEntityDistribution();
40
41        void saveEntityDistributionXML();               
42
43        void generateEntityClusters();
44
45        void createEntityClusters();
46
47        void saveEntityClusters();
48
49        void saveSingleEntity();
50       
51        void generateBillboardCloud();
52
53        void saveBillboardCloudGroupedIndirectTexturing();
54
55        void saveBillboardCloudGroupedDiffuseColor();
56
57        void saveBillboardCloudSplitted();
58
59        void saveBillboardCloudGroupedDiffuseColorXML();
60
61        void saveBillboardCloudGroupedIndirectTexturingXML();
62
63        void saveBillboardCloudSplittedXML();
64
65        Leaves* getLeaves();
66
67        void loadBillboardCloudSplittedXML();
68
69        void loadBillboardCloudGroupedDiffuseColorXML();
70
71        void loadBillboardCloudGroupedIndirectTexturingXML();
72
73        void saveBillboardCloudDiffuseColorPointCluster();
74
75        void generateBillboardCloudDiffuseColorPointCluster();
76
77  protected:
78
79        LBBC::Leaves* mLeaves;
80
81        LBBC::LeafDistributionSerializer* mLeafDistributionSerializer;
82
83        LBBC::LeafDistributionGenerator* mLeafDistributionGenerator;
84
85        BBC::BillboardCloudGenerator* mBillboardCloudGenerator;
86
87        BBC::BillboardCloudSerializer* mBillboardCloudSerializer;
88
89        BBC::BillboardCloudUVMapper* mBillboardCloudUVMapper;
90
91        BBC::ColladaMeshSerializer* mColladaMeshSerializer;
92
93        BBC::OgreMeshSerializer* mOgreMeshSerializer;
94
95        SampleConfigFile* mSampleConfigFile;
96
97        Ogre::ConfigFile* mConfigFile;
98
99        DiffuseColorPointClusterGenerator* mDiffuseColorPointClusterGenerator;
100
101};
102
103}
104#endif
Note: See TracBrowser for help on using the repository browser.