library of assembled shared sources

http://lass.cocamware.com

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


Public Member Functions

 Node (const TAabb &aabb)
 Node (const TAabb &aabb, int first, int last)
const bool isInternal () const
const TAabbaabb () const
const int right () const
int & right ()
const bool isLeaf () const
const int first () const
const int last () const

Private Attributes

TAabb aabb_
int first_
union {
   int   right_
   int   last_
}; 

Detailed Description

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

Definition at line 148 of file aabb_tree.h.


Constructor & Destructor Documentation

template<typename ObjectType , typename ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
lass::spat::AabbTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::Node ( const TAabb aabb  )  [inline, explicit]

Definition at line 151 of file aabb_tree.h.

template<typename ObjectType , typename ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
lass::spat::AabbTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::Node ( const TAabb aabb,
int  first,
int  last 
) [inline]


Member Function Documentation

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

template<typename ObjectType , typename ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
const TAabb& lass::spat::AabbTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::aabb (  )  const [inline]

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

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

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

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

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


Field Documentation

template<typename ObjectType , typename ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
TAabb lass::spat::AabbTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::aabb_ [private]

template<typename ObjectType , typename ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
int lass::spat::AabbTree< ObjectType, ObjectTraits, SplitHeuristics >::Node::first_ [private]

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

template<typename ObjectType , typename ObjectTraits = DefaultObjectTraits<ObjectType>, typename SplitHeuristics = DefaultSplitHeuristics<>>
int lass::spat::AabbTree< 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