Ignore:
Timestamp:
04/19/05 09:12:55 (19 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/OcclusionCullingSceneManager/TestCulling/TestCullingApplication.h

    r44 r51  
    7979        OverlayElement *mHierarchyNodesInfo; 
    8080        OverlayElement *mSceneNodesInfo; 
    81  
    82         SceneNode *mCurrentObject;         // The newly created object 
    83         int mCount;                        // The number of robots on the screen 
    84         RaySceneQuery *mRaySceneQuery;     // The ray scene query pointer 
    8581}; 
    8682 
     
    9591        void createFrameListener(void); 
    9692        void setupGui(void); 
    97         virtual void createCamera(void); 
     93        /** generates a the scene hierarchy with random values  
     94        @param number of objects to generate 
     95        */ 
     96        void generateScene(int numObjects); 
     97 
     98        /** generates a new scene object  
     99        @param tranlationRatio ratio between minimal and maximal possible translation 
     100        @param rotationRatio ratio between minimal and maximal possible rotation 
     101        @idx the index of the new object 
     102        @entName the name of the object entity 
     103        */ 
     104        void generateSceneObject(const Vector3 &translationRatio, const Vector3 &rotationRatio,  
     105                                                         const int idx, const String &entName); 
     106 
     107        //virtual void createCamera(void); 
    98108 
    99109        CEGUI::OgreCEGUIRenderer *mGUIRenderer; 
    100110        CEGUI::System *mGUISystem; 
     111 
     112        Vector3 mMinTranslation; 
     113        Vector3 mMaxTranslation; 
     114 
     115        Vector3 mMinAngle; 
     116        Vector3 mMaxAngle; 
    101117 
    102118private: 
Note: See TracChangeset for help on using the changeset viewer.