`#include <lloctree.h>`

Inheritance diagram for LLOctreeRoot< T >:

## Public Types | |

typedef LLOctreeState< T > | BaseType |

typedef LLOctreeNode< T > | oct_node |

## Public Member Functions | |

LLOctreeRoot (oct_node *node=NULL) | |

oct_node * | getOctNode () |

virtual bool | isLeaf () |

virtual bool | balance () |

virtual bool | insert (T *data) |

class LLOctreeRoot< T >

Definition at line 609 of file lloctree.h.

template<class T>

typedef LLOctreeState<T> LLOctreeRoot< T >::BaseType |

template<class T>

typedef LLOctreeNode<T> LLOctreeRoot< T >::oct_node |

template<class T>

LLOctreeRoot< T >::LLOctreeRoot | ( | oct_node * | node = `NULL` |
) | ` [inline]` |

Definition at line 615 of file lloctree.h.

template<class T>

virtual bool LLOctreeRoot< T >::balance | ( | ) | ` [inline, virtual]` |

Reimplemented from LLOctreeState< T >.

Definition at line 620 of file lloctree.h.

References LLOctreeState< T >::addChild(), LLOctreeState< T >::clearChildren(), LLOctreeRoot< T >::getOctNode(), i, LLOctreeState< T >::mChild, LLOctreeNode< T >::setCenter(), LLOctreeNode< T >::setSize(), TRUE, and LLOctreeNode< T >::updateMinMax().

template<class T>

oct_node* LLOctreeRoot< T >::getOctNode | ( | ) | ` [inline]` |

Reimplemented from LLOctreeState< T >.

Definition at line 617 of file lloctree.h.

References LLOctreeState< T >::getOctNode().

Referenced by LLOctreeRoot< T >::balance(), and LLOctreeRoot< T >::insert().

template<class T>

virtual bool LLOctreeRoot< T >::insert | ( | T * | data |
) | ` [inline, virtual]` |

Reimplemented from LLOctreeState< T >.

Definition at line 655 of file lloctree.h.

References LLOctreeState< T >::addChild(), LLOctreeState< T >::clearChildren(), LLOctreeNode< T >::getCenter(), LLOctreeState< T >::getChildCount(), LLOctreeRoot< T >::getOctNode(), LLOctreeNode< T >::getSize(), i, LLTreeNode< T >::insert(), LLOctreeState< T >::insert(), LLOctreeNode< T >::isInside(), llendl, LLVector3d::mdV, NULL, OCT_ERRS, LLOctreeNode< T >::pushCenter(), LLOctreeNode< T >::setCenter(), LLOctreeNode< T >::setSize(), size, and LLOctreeNode< T >::updateMinMax().

template<class T>

virtual bool LLOctreeRoot< T >::isLeaf | ( | ) | ` [inline, virtual]` |

Definition at line 618 of file lloctree.h.

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

Generated on Thu Jul 1 06:11:33 2010 for Second Life Viewer by 1.4.7