Rebel Fork Framework
Urho3D::OctreeQuery Class Referenceabstract

Base class for octree queries. More...

#include <Urho3D/Graphics/OctreeQuery.h>

Inheritance diagram for Urho3D::OctreeQuery:
Urho3D::NonCopyable Urho3D::AllContentOctreeQuery Urho3D::BoxOctreeQuery Urho3D::FrustumOctreeQuery Urho3D::PointOctreeQuery Urho3D::SphereOctreeQuery Urho3D::DirectionalLightShadowCasterQuery Urho3D::SpotLightGeometryQuery Urho3D::PointLightGeometryQuery

Public Member Functions

 OctreeQuery (ea::vector< Drawable * > &result, DrawableFlags drawableFlags, unsigned viewMask)
 Construct with query parameters.
virtual ~OctreeQuery ()=default
 Destruct.
virtual Intersection TestOctant (const BoundingBox &box, bool inside)=0
 Intersection test for an octant.
virtual void TestDrawables (Drawable **start, Drawable **end, bool inside)=0
 Intersection test for drawables.

Public Attributes

ea::vector< Drawable * > & result_
 Result vector reference.
DrawableFlags drawableFlags_
 Drawable flags to include.
unsigned viewMask_
 Drawable layers to include.

Additional Inherited Members

Private Member Functions inherited from Urho3D::NonCopyable
 NonCopyable (const NonCopyable &other)=delete
 NonCopyable (NonCopyable &&other)=delete
NonCopyable & operator= (const NonCopyable &other)=delete
NonCopyable & operator= (NonCopyable &&other)=delete

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:
  • Urho3D/Graphics/OctreeQuery.h