Changeset 154 for trunk/VUT/Ogre/include
- Timestamp:
- 07/04/05 17:57:51 (19 years ago)
- Location:
- trunk/VUT/Ogre/include
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/Ogre/include/OgreBspHierarchyInterface.h
r87 r154 43 43 */ 44 44 AxisAlignedBox *GetBoundingBox(GtpVisibility::HierarchyNode *node); 45 46 unsigned int mNumOctreeNodes;47 45 }; 48 46 } // namespace Ogre -
trunk/VUT/Ogre/include/OgreItemBufferQueryManager.h
r153 r154 22 22 bool relativeVisibility = false); 23 23 24 /**25 Uses the specified point to execute the visibility query in all directions.26 @sa ComputeCameraVisibility()27 */28 void ComputeFromPointVisibility(const Vector3 &point,29 InfoContainer<GtpVisibility::NodeInfo> *visibleNodes,30 InfoContainer<GtpVisibility::MeshInfo> *visibleGeometry,31 bool relativeVisibility = false);32 33 24 bool ShootRay(const Ray &ray, std::vector<Mesh *> *visibleMeshes, bool isGlobalLine = false); 34 25 … … 36 27 void InitItemBuffer( InfoContainer<GtpVisibility::NodeInfo> *visibleNodes, 37 28 InfoContainer<GtpVisibility::MeshInfo> *visibleGeometry); 38 bool mWasInitialised;29 39 30 }; 40 31 -
trunk/VUT/Ogre/include/OgreOctreeHierarchyInterface.h
r130 r154 25 25 See setOption 26 26 */ 27 //bool getOption( const String &, void * );28 //bool getOptionKeys( StringVector &refKeys );29 27 void PullUpVisibility(GtpVisibility::HierarchyNode *node); 28 30 29 /** Traverses given node. 31 30 @param node current node … … 50 49 InfoContainer<GtpVisibility::MeshInfo> *visibleGeometry, 51 50 bool includeChildren = false);*/ 51 52 52 void GetGeometry(GtpVisibility::HierarchyNode *node, 53 53 GtpVisibility::GeometryList *geometryList, 54 54 bool includeChildren); 55 56 void SetNodeId(GtpVisibility::HierarchyNode *node, int id); 57 58 int GetNodeId(GtpVisibility::HierarchyNode *node); 55 59 56 60 protected: … … 65 69 */ 66 70 Real GetSquaredViewDepth(const Camera* cam, const AxisAlignedBox* box) const; 67 /** number of octree hierarchy nodes */68 unsigned int mNumOctreeNodes;69 71 }; 70 72 } // namespace Ogre -
trunk/VUT/Ogre/include/OgrePlatformQueryManager.h
r144 r154 20 20 21 21 /** 22 Computes restricted visibility from point by using an explicit camera to execute23 the visibility query.24 @param camera The camera to be used25 26 @param visibleNodes Pointer to the container where visible nodes should be added.27 This set is formed of visible leafs or fully visible interior nodes.28 If NULL no visible nodes are not evaluated.29 30 @param visibleGeometry Pointer to the container where visible meshes should be added.31 If NULL no visible meshes are not evaluated.32 33 @param projectedPixels If true the visibility member for34 NodeInfo and MeshInfo represent relative visibility; i.e. the number of visible35 pixels divided by the the number of projected pixels.36 37 @return true if the corresponding PVS exists.38 */39 virtual void40 ComputeCameraVisibility(const Camera &camera,41 InfoContainer<GtpVisibility::NodeInfo> *visibleNodes,42 InfoContainer<GtpVisibility::MeshInfo> *visibleGeometry,43 bool relativeVisibility = false44 );45 46 /**47 22 Uses the specified point to execute the visibility query in all directions. 48 23 @sa ComputeCameraVisibility() 49 24 */ 50 virtual void 51 ComputeFromPointVisibility(const Vector3 &point, 25 void ComputeFromPointVisibility(const Vector3 &point, 52 26 InfoContainer<GtpVisibility::NodeInfo> *visibleNodes, 53 27 InfoContainer<GtpVisibility::MeshInfo> *visibleGeometry, 54 bool relativeVisibility = false 55 ); 28 bool relativeVisibility = false); 56 29 57 30 /** … … 79 52 protected: 80 53 Viewport *mViewport; 54 bool mWasInitialised; 81 55 }; 82 56 -
trunk/VUT/Ogre/include/OgreSceneNodeHierarchyInterface.h
r130 r154 49 49 GtpVisibility::GeometryList *geometryList, 50 50 bool includeChildren); 51 52 void SetNodeId(GtpVisibility::HierarchyNode *node, int id); 53 54 int GetNodeId(GtpVisibility::HierarchyNode *node); 51 55 }; 52 56
Note: See TracChangeset
for help on using the changeset viewer.