Ignore:
Timestamp:
07/04/05 17:57:51 (19 years ago)
Author:
mattausch
Message:

added item buffer queries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/Ogre/include/OgrePlatformQueryManager.h

    r144 r154  
    2020     
    2121    /**  
    22         Computes restricted visibility from point by using an explicit camera to execute 
    23         the visibility query. 
    24         @param camera The camera to be used 
    25  
    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 for 
    34         NodeInfo and MeshInfo represent relative visibility; i.e. the number of visible 
    35         pixels divided by the the number of projected pixels. 
    36  
    37         @return true if the corresponding PVS exists. 
    38     */ 
    39     virtual void 
    40     ComputeCameraVisibility(const Camera &camera, 
    41                             InfoContainer<GtpVisibility::NodeInfo> *visibleNodes, 
    42                             InfoContainer<GtpVisibility::MeshInfo> *visibleGeometry, 
    43                             bool relativeVisibility = false 
    44                             ); 
    45      
    46     /**  
    4722        Uses the specified point to execute the visibility query in all directions.  
    4823        @sa ComputeCameraVisibility() 
    4924    */ 
    50     virtual void 
    51     ComputeFromPointVisibility(const Vector3 &point, 
     25    void ComputeFromPointVisibility(const Vector3 &point, 
    5226                               InfoContainer<GtpVisibility::NodeInfo> *visibleNodes, 
    5327                               InfoContainer<GtpVisibility::MeshInfo> *visibleGeometry, 
    54                                bool relativeVisibility = false 
    55                                ); 
     28                               bool relativeVisibility = false); 
    5629     
    5730  /**  
     
    7952protected: 
    8053        Viewport *mViewport; 
     54        bool mWasInitialised; 
    8155}; 
    8256 
Note: See TracChangeset for help on using the changeset viewer.