Octree implementation of SphereSceneQuery.
More...
#include <OgreOctreeSceneQuery.h>
◆ 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.
|
◆ OctreeSphereSceneQuery()
Ogre::OctreeSphereSceneQuery::OctreeSphereSceneQuery |
( |
SceneManager * |
creator | ) |
|
◆ ~OctreeSphereSceneQuery()
Ogre::OctreeSphereSceneQuery::~OctreeSphereSceneQuery |
( |
| ) |
|
◆ execute() [1/2]
◆ execute() [2/2]
Executes the query, returning the results back in one list.
◆ setSphere()
void Ogre::SphereSceneQuery::setSphere |
( |
const Sphere & |
sphere | ) |
|
|
inherited |
Sets the sphere which is to be used for this query.
◆ getSphere()
const Sphere& Ogre::SphereSceneQuery::getSphere |
( |
| ) |
const |
|
inherited |
Gets the sphere which is being used for this query.
◆ 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::RegionSceneQuery::clearResults |
( |
void |
| ) |
|
|
virtualinherited |
Clears the results of the last query execution.
◆ queryResult() [1/2]
bool Ogre::RegionSceneQuery::queryResult |
( |
MovableObject * |
first | ) |
|
|
virtualinherited |
◆ 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 set<WorldFragmentType>::type* 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: