Changeset 1615 for GTP/trunk/Lib


Ignore:
Timestamp:
10/12/06 19:19:04 (18 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Intersectable.h

    r1579 r1615  
    7373                 KD_INTERSECTABLE, 
    7474                 BVH_INTERSECTABLE, 
    75                  TRIANGLE_INTERSECTABLE 
     75                 TRIANGLE_INTERSECTABLE, 
     76                 OBJECTS_INTERSECTABLE 
    7677                }; 
    7778   
    7879  Intersectable(): mMailbox(0), mReferences(0), mBvhLeaf(0) {} 
     80 
     81  virtual Intersectable::~Intersectable() {}; 
    7982 
    8083  void SetId(const int id) { mId = id; } 
  • GTP/trunk/Lib/Vis/Preprocessing/src/IntersectableWrapper.h

    r1594 r1615  
    154154                return Intersectable::KD_INTERSECTABLE; 
    155155        } 
     156 
     157        AxisAlignedBox3 GetBox() const { return mBbox; } 
     158        AxisAlignedBox3 mBbox; 
    156159}; 
    157160 
     
    198201 
    199202 
     203 
     204 
    200205} 
    201206 
  • GTP/trunk/Lib/Vis/Preprocessing/src/OspTree.cpp

    r1576 r1615  
    18141814KdIntersectable *OspTree::GetOrCreateKdIntersectable(KdNode *node) 
    18151815{ 
     1816        //if (!node) return NULL; 
     1817 
    18161818        // search nodes 
    1817         std::map<KdNode *, KdIntersectable *>:: 
    1818                 const_iterator it = mKdIntersectables.find(node); 
     1819        std::map<KdNode *, KdIntersectable *>::const_iterator it = mKdIntersectables.find(node); 
    18191820 
    18201821        if (it != mKdIntersectables.end())  
Note: See TracChangeset for help on using the changeset viewer.