Ignore:
Timestamp:
05/23/08 17:47:22 (16 years ago)
Author:
mattausch
Message:

implemented dynamic object placement / removal

File:
1 edited

Legend:

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

    r2694 r2702  
    5555{ 
    5656public: 
    57  
     57        /** Copy constructor. 
     58        */ 
     59        SceneGraphLeaf(SceneGraphLeaf const&); 
    5860        SceneGraphLeaf(); 
    5961        SceneGraphLeaf(bool isDynamic); 
     
    7476        virtual void UpdateBox(); 
    7577 
    76 #if DYNAMIC_OBJECTS_HACK 
    7778        SceneGraphLeafIntersectable *GetIntersectable() { return mIntersectable; } 
    78 #endif 
    7979 
    80         /// used as actual pvs entry 
     80        const Matrix4x4 &GetTransformation() const { return mTrafo; } 
     81 
     82        //void SetGeometry(ObjectContainer *geometry); 
     83 
     84        /// used as actual pvs entry: note should be pointer to geometry!! 
    8185        ObjectContainer mGeometry; 
    82   const Matrix4x4 &GetTransformation() const { return mTrafo; } 
     86 
     87 
    8388protected: 
    8489 
    85 #if DYNAMIC_OBJECTS_HACK 
    86          
    8790        SceneGraphLeafIntersectable *mIntersectable; 
    88         CKTB *mKtbTree; 
    89  
    90 #endif 
    9191 
    9292        bool mIsDynamic; 
Note: See TracChangeset for help on using the changeset viewer.