U3D
Open-source, cross-platform 2D and 3D game engine built in C++
Loading...
Searching...
No Matches
Urho3D::PointOctreeQuery Class Reference

#include </var/dev/u3d/stable/Source/Urho3D/Graphics/OctreeQuery.h>

Inheritance diagram for Urho3D::PointOctreeQuery:
[legend]
Collaboration diagram for Urho3D::PointOctreeQuery:
[legend]

Public Member Functions

 PointOctreeQuery (PODVector< Drawable * > &result, const Vector3 &point, unsigned char drawableFlags=DRAWABLE_ANY, unsigned viewMask=DEFAULT_VIEWMASK)
 Construct with point 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 (PODVector< Drawable * > &result, unsigned char drawableFlags, 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

Vector3 point_
 Point.
 
- Public Attributes inherited from Urho3D::OctreeQuery
PODVector< Drawable * > & result_
 Result vector reference.
 
unsigned char drawableFlags_
 Drawable flags to include.
 
unsigned viewMask_
 Drawable layers to include.
 

Detailed Description

Point octree query.

Member Function Documentation

◆ TestDrawables()

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

Intersection test for drawables.

Implements Urho3D::OctreeQuery.

Here is the call graph for this function:

◆ TestOctant()

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

Intersection test for an octant.

Implements Urho3D::OctreeQuery.

Here is the call graph for this function:

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