virtual void GtpVisibility::QueryManager::ComputeCameraVisibility const Camera camera,
InfoContainer< NodeInfo > *  visibleNodes,
InfoContainer< MeshInfo > *  visibleGeometry,
bool  relativeVisibility = false
[pure virtual]
 

Computes restricted visibility from point by using an explicit camera to execute the visibility query.

Parameters:
camera The camera to be used
visibleNodes Pointer to the container where visible nodes should be added. This set is formed of visible leafs or fully visible interior nodes. If NULL no visible nodes are not evaluated.
visibleGeometry Pointer to the container where visible meshes should be added. If NULL no visible meshes are not evaluated.
relativeVisibility If true the visibility member for NodeInfo and MeshInfo represent relative visibility; i.e. the number of visible pixels divided by the the number of projected pixels.
Returns:
true if the corresponding PVS exists.

Implemented in GtpVisibility::DummyQueryManager.


Generated on Fri Apr 29 19:49:40 2005 for GameTools Visibility Modules by  doxygen 1.4.2