source: GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/BBC/BBCBillboardCloud.h @ 900

Revision 900, 1.3 KB checked in by igarcia, 19 years ago (diff)
Line 
1#ifndef _BBCBILLBOARDCLOUD_H
2#define _BBCBILLBOARDCLOUD_H
3
4#include <BBCBillboardGroup.h>
5#include <BBCBillboard.h>
6#include <BBCEntityCluster.h>
7#include <BBCEntity.h>
8
9namespace BBC {
10
11class _BBCExport BillboardCloud {
12  public:
13    BillboardCloud();
14
15    virtual ~BillboardCloud();
16
17
18  protected:
19          std::vector<BillboardPtr> mBillboardList;
20         
21          std::vector<BillboardGroupPtr> mBillboardGroupList;
22
23  public:
24        std::vector<BillboardPtr>* getBillboardList();
25
26        void setBillboardList(std::vector<BillboardPtr> &value);
27
28        void clearBillboardCloud();
29
30    void addBillboard(BillboardPtr value);
31
32    void removeBillboard(unsigned int value);
33
34        BillboardPtr getBillboard(unsigned int value); 
35
36        unsigned int BillboardCloud::getNumBillboards();
37
38        void generateBillboardCloud(bool mergeBillboards);
39
40        void initializeBillboardCloudGroups(unsigned int numberGroups);
41
42        void generateBillboardCloudGroups();
43
44        unsigned int getNumBillboardGroups();
45
46        BillboardGroupPtr getBillboardGroup(unsigned int iBillboardGroup);
47
48        void addBillboardGroup(BillboardGroupPtr value);
49
50        void removeBillboardGroup(unsigned int value);
51
52        EntityPtr getEntity();
53
54        EntityPtr getEntityGrouped();
55
56        void setEntity(EntityPtr value);
57
58        void setEntityGrouped(EntityPtr value);
59
60  protected:
61        EntityPtr mEntity;
62       
63        EntityPtr mEntityGrouped;
64};
65
66}
67#endif
Note: See TracBrowser for help on using the repository browser.