Urho3D
Public Member Functions | Public Attributes | List of all members
Urho3D::OctreeQuery Class Referenceabstract

Base class for octree queries. More...

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

Inheritance diagram for Urho3D::OctreeQuery:
Urho3D::AllContentOctreeQuery Urho3D::BoxOctreeQuery Urho3D::FrustumOctreeQuery Urho3D::PointOctreeQuery Urho3D::SphereOctreeQuery

Public Member Functions

 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

Vector< Drawable * > & result_
 Result vector reference.
 
DrawableTypes drawableTypes_
 Drawable flags to include.
 
unsigned viewMask_
 Drawable layers to include.
 

Detailed Description

Base class for octree queries.

Member Function Documentation

◆ TestDrawables()

virtual void Urho3D::OctreeQuery::TestDrawables ( Drawable **  start,
Drawable **  end,
bool  inside 
)
pure virtual

◆ TestOctant()

virtual Intersection Urho3D::OctreeQuery::TestOctant ( const BoundingBox box,
bool  inside 
)
pure virtual

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