Changeset 160 for trunk/VUT/Ogre/include
- Timestamp:
- 07/08/05 01:53:01 (20 years ago)
- Location:
- trunk/VUT/Ogre/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/Ogre/include/OgrePlatformOcclusionQuery.h
r87 r160 21 21 22 22 virtual bool GetQueryResult(unsigned int &queryResult, 23 23 const bool waitForResult) const; 24 24 virtual void BeginQuery(); 25 25 virtual void EndQuery(); -
trunk/VUT/Ogre/include/OgreSceneContentGenerator.h
r130 r160 7 7 8 8 namespace Ogre { 9 10 typedef std::vector<SceneNode *> SceneNodeList; 11 typedef std::vector<Entity *> EntityList; 9 12 10 13 /** Class which fills a scene with content in a random fashion. … … 20 23 */ 21 24 void GenerateScene(int numObjects, const String &objName); 25 22 26 /** Generates a new object in the scene using ray scene queries 23 27 and inserts it into thr scene hierarchy. … … 31 35 const Vector3 &rotation, const String &objName); 32 36 37 /** Minimum angle for the random orientation. 38 */ 33 39 void SetMinAngle(Vector3 minAngle); 40 41 /** Maximum angle for the random orientation. 42 */ 34 43 void SetMaxAngle(Vector3 maxAngle); 44 45 /** Minimum possible random position. 46 */ 35 47 void SetMinPos(Vector3 minPos); 48 /** Maximum possible random position. 49 */ 36 50 void SetMaxPos(Vector3 maxPos); 51 /** Scale factor applied to each generated object. 52 */ 37 53 void SetScale(Vector3 scale); 38 54 39 /** The number of created objects */ 55 /** The number of created objects. 56 */ 40 57 int GetObjectCount(); 41 58 42 /** Writes scene nodes to file */ 59 /** Writes scene nodes to file. 60 */ 43 61 bool WriteObjects(const std::string &filename); 44 62 45 /** Loads scene nodes from file */ 63 /** Loads scene nodes from file. 64 */ 46 65 bool LoadObjects(const std::string &filename); 66 47 67 /** Generates a scene object with the specified parameters 48 68 @param position the position of the scene object … … 53 73 SceneNode *GenerateSceneObject(const Vector3 &position, 54 74 const Quaternion &orientation, const String &objName); 75 76 /** Gets pointer to list of generated scene nodes. 77 */ 78 SceneNodeList *GetGeneratedSceneNodes(); 79 80 /** Gets pointer to list of entities. 81 */ 82 EntityList *GetGeneratedEntities(); 83 84 /** Removes generated object from scene graph. 85 */ 86 void RemoveGeneratedObjects(); 55 87 56 88 protected: … … 64 96 SceneManager *mSceneMgr; 65 97 66 std::vector<SceneNode *> mSceneObjects; 98 SceneNodeList mSceneNodes; 99 EntityList mEntities; 67 100 }; 68 101
Note: See TracChangeset
for help on using the changeset viewer.