source: GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/src/LBBCLeaves.cpp @ 721

Revision 721, 1.0 KB checked in by igarcia, 18 years ago (diff)
Line 
1
2#include "LBBCLeaves.h"
3#include "LBBCLeaf.h"
4
5namespace LBBC {
6
7Leaves::Leaves()
8{
9        mBillboardCloud = new BBC::BillboardCloud();
10        mLeafDistribution = new LeafDistribution();     
11}
12
13Leaves::~Leaves()
14{
15        if (mBillboardCloud)
16        {
17                delete mBillboardCloud;
18        }
19
20        if (mLeafDistribution)
21        {
22                delete mLeafDistribution;
23        }
24}
25
26BBC::EntityPtr Leaves::getEntity()
27{
28        return mEntity;
29}
30
31void Leaves::setEntity(BBC::EntityPtr value)
32{
33        mEntity = value;
34}
35
36void Leaves::load() {
37}
38
39void Leaves::unload() {
40}
41
42void Leaves::addLeaf(const Leaf & value) {
43}
44
45void Leaves::removeLeaf(unsigned int value) {
46}
47
48void Leaves::initLeavesDistribution() {
49
50}
51
52LeafDistribution* Leaves::getDistribution()
53{
54        return mLeafDistribution;
55}
56
57void Leaves::setDistribution(LeafDistribution *leafDistribution)
58{
59        mLeafDistribution = leafDistribution;
60}
61
62void Leaves::initBillboardCloud() {
63}
64
65void Leaves::setBillboardCloud(BBC::BillboardCloud *value)
66{
67        mBillboardCloud = value;
68}
69
70BBC::BillboardCloud* Leaves::getBillboardCloud()
71{
72        return mBillboardCloud;
73}
74
75}
Note: See TracBrowser for help on using the repository browser.