library of assembled shared sources

http://lass.cocamware.com

lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node Class Reference


Public Member Functions

 Node (int axis)
 Node (int first, int last)
const bool isInternal () const
TParam leftBound () const
TReference leftBound ()
TParam rightBound () const
TReference rightBound ()
const int axis () const
const int right () const
int & right ()
const bool isLeaf () const
const int first () const
const int last () const

Private Attributes

TValue leftBound_
TValue rightBound_
union {
   int   right_
   int   first_
}; 
union {
   int   axis_
   int   last_
}; 

Detailed Description

template<class ObjectType, class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
class lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node

Definition at line 149 of file aabp_tree.h.


Constructor & Destructor Documentation

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::Node ( int  axis  )  [inline]

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::Node ( int  first,
int  last 
) [inline]


Member Function Documentation

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
const bool lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::isInternal (  )  const [inline]

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
TParam lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::leftBound (  )  const [inline]

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
TReference lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::leftBound (  )  [inline]

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
TParam lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::rightBound (  )  const [inline]

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
TReference lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::rightBound (  )  [inline]

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
const int lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::axis (  )  const [inline]

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
const int lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::right (  )  const [inline]

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
int& lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::right (  )  [inline]

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
const bool lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::isLeaf (  )  const [inline]

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
const int lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::first (  )  const [inline]

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
const int lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::last (  )  const [inline]


Field Documentation

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
TValue lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::leftBound_ [private]

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
TValue lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::rightBound_ [private]

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
int lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::right_

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
int lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::first_

union { ... } [private]

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
int lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::axis_

template<class ObjectType , class ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
int lass::spat::AabpTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::last_

union { ... } [private]


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

Generated on Mon Nov 10 14:22:15 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo