FlightGear next
|
#include <PositionedOctree.hxx>
Inherits flightgear::Octree::Node.
Public Member Functions | |
Leaf (const SGBoxd &aBox, int64_t aIdent, bool persistent) | |
virtual void | visit (const SGVec3d &aPos, double aCutoff, FGPositioned::Filter *aFilter, FindNearestResults &aResults, FindNearestPQueue &) |
virtual Leaf * | findLeafForPos (const SGVec3d &) const |
void | insertChild (FGPositioned::Type ty, PositionedID id) |
void | removeChild (PositionedID id) |
![]() | |
int64_t | guid () const |
const SGBoxd & | bbox () const |
bool | contains (const SGVec3d &aPos) const |
double | distToNearest (const SGVec3d &aPos) const |
virtual void | visitForLines (const SGVec3d &aPos, double aCutoff, PolyLineList &aLines, FindLinesDeque &aQ) const |
virtual Node * | findNodeForBox (const SGBoxd &box) const |
virtual | ~Node () |
void | addPolyLine (const PolyLineRef &) |
Additional Inherited Members | |
![]() | |
Node (const SGBoxd &aBox, int64_t aIdent, bool persistent) | |
![]() | |
const int64_t | _ident |
const bool | _persistent = false |
const SGBoxd | _box |
PolyLineList | lines |
Definition at line 163 of file PositionedOctree.hxx.
flightgear::Octree::Leaf::Leaf | ( | const SGBoxd & | aBox, |
int64_t | aIdent, | ||
bool | persistent ) |
Definition at line 84 of file PositionedOctree.cxx.
|
inlinevirtual |
Implements flightgear::Octree::Node.
Definition at line 172 of file PositionedOctree.hxx.
void flightgear::Octree::Leaf::insertChild | ( | FGPositioned::Type | ty, |
PositionedID | id ) |
Definition at line 132 of file PositionedOctree.cxx.
void flightgear::Octree::Leaf::removeChild | ( | PositionedID | id | ) |
Definition at line 138 of file PositionedOctree.cxx.
|
virtual |
Implements flightgear::Octree::Node.
Definition at line 91 of file PositionedOctree.cxx.