Changeset 154 for trunk/VUT/Ogre/include/OgrePlatformQueryManager.h
- Timestamp:
- 07/04/05 17:57:51 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.