Changeset 74 for trunk/VUT/GtpVisibility/include/CullingManager.h
- Timestamp:
- 05/01/05 23:29:27 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibility/include/CullingManager.h
r59 r74 12 12 { 13 13 public: 14 /** Constructor taking a scene traverser for a specific type of hierarchy as argument. 14 /** Default constructor. 15 @remark an appropriate hierarchy interface must be provided for the algorithms to 16 work on specific hierarchy 15 17 */ 16 CullingManager( HierarchyInterface *hierarchyInterface);18 CullingManager(); 17 19 /** Renders the scene using a specific occlusion culling algorithm, e.g., coherent 18 20 hierarchical culling or stop and wait. … … 24 26 */ 25 27 void SetHierarchyInterface(HierarchyInterface *hierarchyInterface); 28 /** Sets the threshold for the visibiliy culling algorithm. 29 @param visibilityThreshold number of visible pixels where an object 30 is still considered invisible. 31 */ 32 void SetVisibilityThreshold(unsigned int visibilityThreshold); 33 34 /** Returns number of frustum culled nodes. 35 */ 36 unsigned int GetNumFrustumCulledNodes(); 37 /** Returns number of occlusion query culled nodes. 38 */ 39 unsigned int GetNumQueryCulledNodes(); 26 40 27 41 protected: … … 29 43 unsigned int mNumQueryCulledNodes; 30 44 unsigned int mNumFrustumCulledNodes; 45 unsigned int mVisibilityThreshold; 31 46 32 unsigned int mVisibilityThreshold;33 47 HierarchyInterface *mHierarchyInterface; 34 48 };
Note: See TracChangeset
for help on using the changeset viewer.