Changeset 2384


Ignore:
Timestamp:
05/16/07 14:29:42 (17 years ago)
Author:
vizrt_christian_seidl
Message:

Added some members for BIH

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreBiHierarchy.h

    r2349 r2384  
    118118                BihPlaneEvent clip(AxisAlignedBox& box, BihPlaneEvent::Dimension dim); 
    119119 
     120                BihPlaneEvent::Type GetType() { return mType;}; 
     121 
     122                void ClearGrowBB() 
     123                { 
     124                        IncBB.setNull(); 
     125                } 
     126 
     127                void GrowBB(AxisAlignedBox bb) 
     128                { 
     129                        IncBB.merge(bb); 
     130                } 
     131 
     132                AxisAlignedBox GetGrowBB() 
     133                { 
     134                        return IncBB; 
     135                } 
     136 
     137 
     138 
     139 
     140 
    120141                Plane * getSplitPlane() const 
    121142                { 
     
    123144                        normal[mDimension] = 1; 
    124145                        return new Plane(normal, mPosition); 
     146                } 
     147 
     148            Vector3 getPosition() 
     149                { 
     150                        return mPosition; 
    125151                } 
    126152 
     
    143169                BihPlaneEvent::Dimension        mDimension; 
    144170                BihPlaneEvent::Type             mType; 
     171                AxisAlignedBox IncBB; 
    145172 
    146173                // ------------------------------------------------------------------------------// 
     
    399426                                if (showBoxes) 
    400427                                { 
     428                                        /* 
    401429                                        if (mLevel == mOwner->getHiLiteLevel()|| (mLevel-1) == mOwner->getHiLiteLevel() || mOwner->getShowAllBoxes()) 
    402430                                        queue->addRenderable(getWireBoundingBox()); 
     431                                        */ 
    403432                                        /* 
    404433                                        if (mLevel == mOwner->getHiLiteLevel() || mOwner->getShowAllBoxes()) 
Note: See TracChangeset for help on using the changeset viewer.