HE_Mesh  6.0.1
wblut.geom.WB_Octree< V > Class Template Reference

Classes

class  WB_OctreeEntry
 

Public Member Functions

 WB_Octree (final WB_Coord center, final double size)
 
void addPoint (final WB_Coord p, final V value)
 
void clear ()
 
int getLevel ()
 
WB_Octree< V > getNode (final WB_Coord p)
 
double getMinNodeSize ()
 
int getNumNodes ()
 
WB_Coord getCenter ()
 
WB_Octree< V > getParent ()
 
int getNumberOfPoints ()
 
List< WB_Octree< V > > getNodes ()
 
double getSize ()
 
boolean remove (final WB_Coord p)
 
void removeAll (final Collection< WB_Coord > points)
 
void setMinNodeSize (final double minNodeSize)
 
void setAutoPrune (final boolean state)
 
WB_AABB getBox ()
 
List< WB_OctreeEntry< V > > getEntries ()
 
List< WB_OctreeEntry< V > > getEntriesInRange (final WB_AABB AABB)
 
List< WB_OctreeEntry< V > > getEntriesInRange (final WB_Sphere sphere)
 
List< WB_OctreeEntry< V > > getEntriesInRange (final WB_Coord center, final double radius)
 
List< WB_CoordgetPoints ()
 
List< WB_CoordgetPointsInRange (final WB_AABB AABB)
 
List< WB_CoordgetPointsInRange (final WB_Sphere sphere)
 
List< WB_CoordgetPointsInRange (final WB_Coord center, final double radius)
 
List< V > getValues ()
 
List< V > getValuesInRange (final WB_AABB AABB)
 
List< V > getValuesInRange (final WB_Sphere sphere)
 
List< V > getValuesInRange (final WB_Coord center, final double radius)
 

Protected Member Functions

final int getOctant (final WB_Coord p)
 

Protected Attributes

WB_AABB box
 
WB_Coord extent
 
WB_Coord min
 
double minNodeSize = 4.0
 
WB_Octree< V > parent
 
WB_Octree< V >[] nodes
 
int numNodes
 
List< WB_OctreeEntry< V > > entries
 
double size
 
WB_Coord center
 

Private Member Functions

 WB_Octree (final WB_Octree< V > p, final WB_Coord center, final double size)
 
void prune ()
 

Private Attributes

int level = 0
 
boolean autoPrune = false
 

Constructor & Destructor Documentation

wblut.geom.WB_Octree< V >.WB_Octree ( final WB_Octree< V >  p,
final WB_Coord  center,
final double  size 
)
private
wblut.geom.WB_Octree< V >.WB_Octree ( final WB_Coord  center,
final double  size 
)

Member Function Documentation

void wblut.geom.WB_Octree< V >.clear ( )
List<WB_OctreeEntry<V> > wblut.geom.WB_Octree< V >.getEntriesInRange ( final WB_Coord  center,
final double  radius 
)
int wblut.geom.WB_Octree< V >.getLevel ( )
double wblut.geom.WB_Octree< V >.getMinNodeSize ( )
List<WB_Octree<V> > wblut.geom.WB_Octree< V >.getNodes ( )
int wblut.geom.WB_Octree< V >.getNumberOfPoints ( )
int wblut.geom.WB_Octree< V >.getNumNodes ( )
final int wblut.geom.WB_Octree< V >.getOctant ( final WB_Coord  p)
protected
List<WB_Coord> wblut.geom.WB_Octree< V >.getPointsInRange ( final WB_AABB  AABB)
List<WB_Coord> wblut.geom.WB_Octree< V >.getPointsInRange ( final WB_Sphere  sphere)
List<WB_Coord> wblut.geom.WB_Octree< V >.getPointsInRange ( final WB_Coord  center,
final double  radius 
)
double wblut.geom.WB_Octree< V >.getSize ( )
List<V> wblut.geom.WB_Octree< V >.getValues ( )
List<V> wblut.geom.WB_Octree< V >.getValuesInRange ( final WB_AABB  AABB)
List<V> wblut.geom.WB_Octree< V >.getValuesInRange ( final WB_Sphere  sphere)
List<V> wblut.geom.WB_Octree< V >.getValuesInRange ( final WB_Coord  center,
final double  radius 
)
void wblut.geom.WB_Octree< V >.prune ( )
private
void wblut.geom.WB_Octree< V >.removeAll ( final Collection< WB_Coord points)
void wblut.geom.WB_Octree< V >.setAutoPrune ( final boolean  state)
void wblut.geom.WB_Octree< V >.setMinNodeSize ( final double  minNodeSize)

Member Data Documentation

boolean wblut.geom.WB_Octree< V >.autoPrune = false
private
WB_AABB wblut.geom.WB_Octree< V >.box
protected
WB_Coord wblut.geom.WB_Octree< V >.center
protected
List<WB_OctreeEntry<V> > wblut.geom.WB_Octree< V >.entries
protected
WB_Coord wblut.geom.WB_Octree< V >.extent
protected
int wblut.geom.WB_Octree< V >.level = 0
private
WB_Coord wblut.geom.WB_Octree< V >.min
protected
double wblut.geom.WB_Octree< V >.minNodeSize = 4.0
protected
WB_Octree<V> [] wblut.geom.WB_Octree< V >.nodes
protected
int wblut.geom.WB_Octree< V >.numNodes
protected
WB_Octree<V> wblut.geom.WB_Octree< V >.parent
protected
double wblut.geom.WB_Octree< V >.size
protected

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