Separate SceneQuery class to query for pairs of objects which are possibly intersecting one another.  
 More...
#include <OgreSceneQuery.h>
Separate SceneQuery class to query for pairs of objects which are possibly intersecting one another. 
◆ WorldFragmentType
This type can be used by collaborating applications & SceneManagers to agree on the type of world geometry to be returned from queries. 
Not all these types will be supported by all SceneManagers; once the application has decided which SceneManager specialisation to use, it is expected that it will know which type of world geometry abstraction is available to it. 
| Enumerator | 
|---|
| WFT_NONE | Return no world geometry hits at all.  | 
| WFT_PLANE_BOUNDED_REGION | Return pointers to convex plane-bounded regions.  | 
| WFT_SINGLE_INTERSECTION | Return a single intersection point (typically RaySceneQuery only)  | 
| WFT_CUSTOM_GEOMETRY | Custom geometry as defined by the SceneManager.  | 
| WFT_RENDER_OPERATION | General RenderOperation structure.  | 
 
 
◆ IntersectionSceneQuery()
      
        
          | Ogre::IntersectionSceneQuery::IntersectionSceneQuery | ( | SceneManager * | mgr | ) |  | 
      
 
 
◆ ~IntersectionSceneQuery()
  
  | 
        
          | virtual Ogre::IntersectionSceneQuery::~IntersectionSceneQuery | ( |  | ) |  |  | virtual | 
 
 
◆ execute() [1/2]
Executes the query, returning the results back in one list. 
 
 
◆ execute() [2/2]
◆ getLastResults()
Gets the results of the last query that was run using this object, provided the query was executed using the collection-returning version of execute. 
 
 
◆ clearResults()
  
  | 
        
          | virtual void Ogre::IntersectionSceneQuery::clearResults | ( | void |  | ) |  |  | virtual | 
 
Clears the results of the last query execution. 
 
 
◆ queryResult() [1/2]
◆ queryResult() [2/2]
◆ setQueryMask()
  
  | 
        
          | virtual void Ogre::SceneQuery::setQueryMask | ( | uint32 | mask | ) |  |  | virtualinherited | 
 
Sets the mask for results of this query. 
 
 
◆ getQueryMask()
  
  | 
        
          | virtual uint32 Ogre::SceneQuery::getQueryMask | ( | void |  | ) | const |  | virtualinherited | 
 
Returns the current mask for this query. 
 
 
◆ setQueryTypeMask()
  
  | 
        
          | virtual void Ogre::SceneQuery::setQueryTypeMask | ( | uint32 | mask | ) |  |  | virtualinherited | 
 
Sets the type mask for results of this query. 
 
 
◆ getQueryTypeMask()
  
  | 
        
          | virtual uint32 Ogre::SceneQuery::getQueryTypeMask | ( | void |  | ) | const |  | virtualinherited | 
 
Returns the current mask for this query. 
 
 
◆ setWorldFragmentType()
Tells the query what kind of world geometry to return from queries; often the full renderable geometry is not what is needed. 
- The default setting is WFT_NONE. 
 
 
◆ getWorldFragmentType()
Gets the current world fragment types to be returned from the query. 
 
 
◆ getSupportedWorldFragmentTypes()
  
  | 
        
          | virtual const std::set<WorldFragmentType>* Ogre::SceneQuery::getSupportedWorldFragmentTypes | ( | void |  | ) | const |  | inlinevirtualinherited | 
 
Returns the types of world fragments this query supports. 
 
 
The documentation for this class was generated from the following file: