Ignore:
Timestamp:
04/21/05 19:33:56 (19 years ago)
Author:
mattausch
Message:

added TerrainContentGenerator?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/OcclusionCullingSceneManager/TestCullingTerrain/TestCullingTerrainApplication.h

    r52 r55  
    66#include "ExampleApplication.h" 
    77#include "OgreOcclusionCullingSceneTraverser.h" 
     8#include "TerrainContentGenerator.h" 
    89 
    910Real timeDelay = 0; 
     
    2829public: 
    2930 
    30     MouseQueryListener(RenderWindow* win, Camera* cam, SceneManager *sceneManager, CEGUI::Renderer *renderer); 
     31    MouseQueryListener(RenderWindow* win, Camera* cam, SceneManager *sceneManager,  
     32                CEGUI::Renderer *renderer, RayQueryExecutor *rqe); 
    3133 
    3234 
     
    8284 
    8385        SceneNode *mCurrentObject;         // The newly created object 
     86        RaySceneQuery *mRaySceneQuery;     // The ray scene query pointer 
    8487        int mCount;                        // The number of robots on the screen 
    85         RaySceneQuery *mRaySceneQuery;     // The ray scene query pointer 
     88 
     89        RayQueryExecutor *mRayQueryExecutor; 
    8690}; 
    8791 
     
    9094{ 
    9195public: 
    92         //~TestCullingTerrainApplication(); 
     96        ~TestCullingTerrainApplication(); 
    9397 
    9498protected: 
     
    98102        virtual void createCamera(void); 
    99103 
     104        /**  
     105                generates a new scene object  
     106                @param tranlationRatio ratio between minimal and maximal possible translation 
     107                @param rotationRatio ratio between minimal and maximal possible rotation 
     108                @idx the index of the new object 
     109                @entName the name of the object entity 
     110        */ 
     111        void generateSceneObject(const Vector3 &translationRatio, const Vector3 &rotationRatio,  
     112                                                         const int idx, const String &entName); 
     113 
    100114        CEGUI::OgreCEGUIRenderer *mGUIRenderer; 
    101115        CEGUI::System *mGUISystem; 
     116        RayQueryExecutor *mRayQueryExecutor; 
     117        TerrainContentGenerator *mTerrainContentGenerator; 
     118 
     119        Vector3 mMinTranslation; 
     120        Vector3 mMaxTranslation; 
     121 
     122        Vector3 mMinAngle; 
     123        Vector3 mMaxAngle; 
    102124 
    103125private: 
Note: See TracChangeset for help on using the changeset viewer.