Urho3D
Public Member Functions | Public Attributes | List of all members
Urho3D::FrustumOctreeQuery Class Reference

Frustum octree query. More...

#include </home/runner/work/rurho3d.github.io/rurho3d.github.io/urho3d_repo/Source/Urho3D/Graphics/OctreeQuery.h>

Inheritance diagram for Urho3D::FrustumOctreeQuery:
Urho3D::OctreeQuery

Public Member Functions

 FrustumOctreeQuery (Vector< Drawable * > &result, const Frustum &frustum, DrawableTypes drawableTypes=DrawableTypes::Any, unsigned viewMask=DEFAULT_VIEWMASK)
 Construct with frustum and query parameters.
 
Intersection TestOctant (const BoundingBox &box, bool inside) override
 Intersection test for an octant. More...
 
void TestDrawables (Drawable **start, Drawable **end, bool inside) override
 Intersection test for drawables. More...
 
- Public Member Functions inherited from Urho3D::OctreeQuery
 OctreeQuery (Vector< Drawable * > &result, DrawableTypes drawableTypes, unsigned viewMask)
 Construct with query parameters.
 
virtual ~OctreeQuery ()=default
 Destruct.
 
 OctreeQuery (const OctreeQuery &rhs)=delete
 Prevent copy construction.
 
OctreeQueryoperator= (const OctreeQuery &rhs)=delete
 Prevent assignment.
 
virtual Intersection TestOctant (const BoundingBox &box, bool inside)=0
 Intersection test for an octant. More...
 
virtual void TestDrawables (Drawable **start, Drawable **end, bool inside)=0
 Intersection test for drawables. More...
 

Public Attributes

Frustum frustum_
 Frustum.
 
- Public Attributes inherited from Urho3D::OctreeQuery
Vector< Drawable * > & result_
 Result vector reference.
 
DrawableTypes drawableTypes_
 Drawable flags to include.
 
unsigned viewMask_
 Drawable layers to include.
 

Detailed Description

Frustum octree query.

Member Function Documentation

◆ TestDrawables()

void Urho3D::FrustumOctreeQuery::TestDrawables ( Drawable **  start,
Drawable **  end,
bool  inside 
)
overridevirtual

Intersection test for drawables.

Implements Urho3D::OctreeQuery.

◆ TestOctant()

Intersection Urho3D::FrustumOctreeQuery::TestOctant ( const BoundingBox box,
bool  inside 
)
overridevirtual

Intersection test for an octant.

Implements Urho3D::OctreeQuery.


The documentation for this class was generated from the following files: