Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
WorldTreeQuery Class Reference
Collaboration diagram for WorldTreeQuery:
[legend]

Public Member Functions

 WorldTreeQuery (WorldTree *worldTree, const AbstractShape *shape, WorldTreeNode *nodeHint=nullptr, CollisionFilter *collisionFilter=nullptr)
 
bool areGeodesNear ()
 
std::unordered_set
< WorldTreeGeode * > 
nearGeodes ()
 
bool areVoxelsIntersecting ()
 
std::unordered_set< Voxel * > intersectingVoxels ()
 
std::unordered_set< WorldObject * > intersectingWorldObjects ()
 

Protected Member Functions

WorldTreeNodegetQueryRoot (WorldTreeNode *node=nullptr) const
 
void query (WorldTreeNode *node, std::function< void(WorldTreeGeode *)> onGeodeInteraction)
 

Protected Attributes

WorldTreem_worldTree
 
WorldTreeNodem_nodeHint
 
CollisionFilterm_collisionFilter
 
const AbstractShapem_shape
 
bool m_queryInterrupted
 

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