source: GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/LBBC/LBBCLeaves.h @ 721

Revision 721, 839 bytes checked in by igarcia, 19 years ago (diff)
Line 
1#ifndef _LBBCLEAVES_H
2#define _LBBCLEAVES_H
3
4#include <BBC.h>
5#include <LBBCLeafDistribution.h>
6
7namespace LBBC {
8
9class _BBCExport Leaves {
10  public:
11    Leaves();
12
13    virtual ~Leaves();
14
15  protected:
16    bool mMeshLoaded;
17
18        BBC::EntityPtr mEntity;
19
20        BBC::BillboardCloud *mBillboardCloud;
21
22  public:
23        BBC::EntityPtr getEntity();
24
25        void setEntity(BBC::EntityPtr value);
26
27    void load();
28
29    void unload();
30
31        void setBillboardCloud(BBC::BillboardCloud *value);
32
33        BBC::BillboardCloud* getBillboardCloud();
34
35  protected:
36    LeafDistribution *mLeafDistribution;
37       
38  public:       
39
40    void addLeaf(const Leaf & value);
41
42    void removeLeaf(unsigned int value);
43
44    void initLeavesDistribution();
45
46    void initBillboardCloud();
47
48        LeafDistribution* getDistribution();
49
50         void setDistribution(LeafDistribution* leafDistribution);
51
52};
53
54
55}
56#endif
Note: See TracBrowser for help on using the repository browser.