LLRoamPatch Class Reference

#include <llroam.h>

Collaboration diagram for LLRoamPatch:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLRoamPatch (U8 max_level, BOOL back_slash)
virtual ~LLRoamPatch ()
void deleteTris ()
void updatePassive ()
void update ()
U32 checkCount ()
LLRoamTriNodeleft () const
LLRoamTriNoderight () const
LLRoamTriNodehalf (U8 h) const
U8 maxLevel () const
BOOL refine (const LLRoamTriNode *tri) const
U32 numTris () const
U32 numTrisInc ()
U32 numTrisDec ()
void setTris (LLRoamTriNode *left, LLRoamTriNode *right)
void setTris ()
void checkConsistensy () const

Protected Attributes

BOOL mBackSlash
LLRoamTriNodemTri [2]
U8 mMaxLevel
U32 mNumTris

Detailed Description

Definition at line 136 of file llroam.h.


Constructor & Destructor Documentation

LLRoamPatch::LLRoamPatch ( U8  max_level,
BOOL  back_slash 
) [inline]

Definition at line 144 of file llroam.h.

References mTri.

virtual LLRoamPatch::~LLRoamPatch (  )  [inline, virtual]

Definition at line 150 of file llroam.h.

References deleteTris().


Member Function Documentation

void LLRoamPatch::checkConsistensy (  )  const [inline]

Definition at line 213 of file llroam.h.

References LLRoamTriNode::checkConsistensy(), left(), and right().

U32 LLRoamPatch::checkCount (  )  [inline]

Definition at line 173 of file llroam.h.

References FALSE, mNumTris, mTri, NULL, and TRUE.

void LLRoamPatch::deleteTris (  )  [inline]

Definition at line 151 of file llroam.h.

References mTri.

Referenced by ~LLRoamPatch().

LLRoamTriNode* LLRoamPatch::half ( U8  h  )  const [inline]

Definition at line 191 of file llroam.h.

References mTri.

LLRoamTriNode* LLRoamPatch::left (  )  const [inline]

Definition at line 189 of file llroam.h.

References mTri.

Referenced by checkConsistensy(), and setTris().

U8 LLRoamPatch::maxLevel (  )  const [inline]

Definition at line 193 of file llroam.h.

References mMaxLevel.

U32 LLRoamPatch::numTris (  )  const [inline]

Definition at line 195 of file llroam.h.

References mNumTris.

U32 LLRoamPatch::numTrisDec (  )  [inline]

Definition at line 197 of file llroam.h.

References mNumTris.

Referenced by LLRoamTriNode::merge(), and LLRoamTriNode::mergeSimple().

U32 LLRoamPatch::numTrisInc (  )  [inline]

Definition at line 196 of file llroam.h.

References mNumTris.

Referenced by LLRoamTriNode::merge(), and LLRoamTriNode::split().

BOOL LLRoamPatch::refine ( const LLRoamTriNode tri  )  const [inline]

Definition at line 194 of file llroam.h.

References LLRoamTriNode::level(), and mMaxLevel.

Referenced by LLRoamTriNode::refine().

LLRoamTriNode* LLRoamPatch::right (  )  const [inline]

Definition at line 190 of file llroam.h.

References mTri.

Referenced by checkConsistensy(), and setTris().

void LLRoamPatch::setTris (  )  [inline]

Definition at line 205 of file llroam.h.

References mNumTris, mTri, LLRoamTriNode::setBase(), and LLRoamTriNode::setPatch().

Referenced by setTris().

void LLRoamPatch::setTris ( LLRoamTriNode left,
LLRoamTriNode right 
) [inline]

Definition at line 198 of file llroam.h.

References left(), mTri, right(), and setTris().

void LLRoamPatch::update (  )  [inline]

Definition at line 165 of file llroam.h.

References mTri, and LLRoamTriNode::update().

void LLRoamPatch::updatePassive (  )  [inline]

Definition at line 159 of file llroam.h.

References mTri, and LLRoamTriNode::updatePassive().


Member Data Documentation

BOOL LLRoamPatch::mBackSlash [protected]

Definition at line 139 of file llroam.h.

U8 LLRoamPatch::mMaxLevel [protected]

Definition at line 141 of file llroam.h.

Referenced by maxLevel(), and refine().

U32 LLRoamPatch::mNumTris [protected]

Definition at line 142 of file llroam.h.

Referenced by checkCount(), numTris(), numTrisDec(), numTrisInc(), and setTris().

LLRoamTriNode* LLRoamPatch::mTri[2] [protected]

Definition at line 140 of file llroam.h.

Referenced by checkCount(), deleteTris(), half(), left(), LLRoamPatch(), right(), setTris(), update(), and updatePassive().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:42 2010 for Second Life Viewer by  doxygen 1.4.7