FlightGear next
flightgear::Octree::Branch Class Reference

#include <PositionedOctree.hxx>

Inherits flightgear::Octree::Node.

Public Member Functions

 Branch (const SGBoxd &aBox, int64_t aIdent, bool persistent)
 
virtual void visit (const SGVec3d &aPos, double aCutoff, FGPositioned::Filter *, FindNearestResults &, FindNearestPQueue &aQ)
 
virtual LeaffindLeafForPos (const SGVec3d &aPos) const
 
int childMask () const
 
virtual void visitForLines (const SGVec3d &aPos, double aCutoff, PolyLineList &aLines, FindLinesDeque &aQ) const
 
virtual NodefindNodeForBox (const SGBoxd &box) const
 
- Public Member Functions inherited from flightgear::Octree::Node
int64_t guid () const
 
const SGBoxd & bbox () const
 
bool contains (const SGVec3d &aPos) const
 
double distToNearest (const SGVec3d &aPos) const
 
virtual ~Node ()
 
void addPolyLine (const PolyLineRef &)
 

Additional Inherited Members

- Protected Member Functions inherited from flightgear::Octree::Node
 Node (const SGBoxd &aBox, int64_t aIdent, bool persistent)
 
- Protected Attributes inherited from flightgear::Octree::Node
const int64_t _ident
 
const bool _persistent = false
 
const SGBoxd _box
 
PolyLineList lines
 

Detailed Description

Definition at line 189 of file PositionedOctree.hxx.

Constructor & Destructor Documentation

◆ Branch()

flightgear::Octree::Branch::Branch ( const SGBoxd & aBox,
int64_t aIdent,
bool persistent )

Definition at line 169 of file PositionedOctree.cxx.

Member Function Documentation

◆ childMask()

int flightgear::Octree::Branch::childMask ( ) const

Definition at line 319 of file PositionedOctree.cxx.

◆ findLeafForPos()

virtual Leaf * flightgear::Octree::Branch::findLeafForPos ( const SGVec3d & aPos) const
inlinevirtual

Implements flightgear::Octree::Node.

Definition at line 198 of file PositionedOctree.hxx.

◆ findNodeForBox()

Node * flightgear::Octree::Branch::findNodeForBox ( const SGBoxd & box) const
virtual

Reimplemented from flightgear::Octree::Node.

Definition at line 230 of file PositionedOctree.cxx.

◆ visit()

void flightgear::Octree::Branch::visit ( const SGVec3d & aPos,
double aCutoff,
FGPositioned::Filter * ,
FindNearestResults & ,
FindNearestPQueue & aQ )
virtual

Implements flightgear::Octree::Node.

Definition at line 177 of file PositionedOctree.cxx.

◆ visitForLines()

void flightgear::Octree::Branch::visitForLines ( const SGVec3d & aPos,
double aCutoff,
PolyLineList & aLines,
FindLinesDeque & aQ ) const
virtual

Reimplemented from flightgear::Octree::Node.

Definition at line 196 of file PositionedOctree.cxx.


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