MipMapPatchIndex Class Reference

#include <MipMapPatchIndex.h>

List of all members.

Public Types

enum  Borders {
  BorderLeft = 0x00000007, BorderRight = 0x00000038, BorderTop = 0x000001C0,
  BorderBottom = 0x00000E00
}

Public Member Functions

 MipMapPatchIndex ()
 ~MipMapPatchIndex ()
void generate (int size, int totalsize, int skip, unsigned int border, unsigned int totallods)
void setBufferOffSet (int offset)
unsigned short * getIndices ()
unsigned int getBufferOffSet ()
int getSize ()
int getMinIndex ()
int getMaxIndex ()

Protected Attributes

int size_
int minIndex_
int maxIndex_
unsigned short * indices_
unsigned int bufferOffSet_


Detailed Description

Definition at line 24 of file MipMapPatchIndex.h.


Member Enumeration Documentation

enum MipMapPatchIndex::Borders

Enumerator:
BorderLeft 
BorderRight 
BorderTop 
BorderBottom 

Definition at line 30 of file MipMapPatchIndex.h.


Constructor & Destructor Documentation

MipMapPatchIndex::MipMapPatchIndex (  ) 

Definition at line 26 of file MipMapPatchIndex.cpp.

MipMapPatchIndex::~MipMapPatchIndex (  ) 

Definition at line 32 of file MipMapPatchIndex.cpp.

References indices_.


Member Function Documentation

void MipMapPatchIndex::generate ( int  size,
int  totalsize,
int  skip,
unsigned int  border,
unsigned int  totallods 
)

Definition at line 37 of file MipMapPatchIndex.cpp.

References BorderBottom, BorderLeft, BorderRight, BorderTop, DIALOG_ASSERT, indices_, int(), maxIndex_, minIndex_, and size_.

Referenced by MipMapPatchIndexs::generate().

void MipMapPatchIndex::setBufferOffSet ( int  offset  )  [inline]

Definition at line 39 of file MipMapPatchIndex.h.

References bufferOffSet_.

Referenced by MipMapPatchIndexs::generate().

unsigned short* MipMapPatchIndex::getIndices (  )  [inline]

Definition at line 41 of file MipMapPatchIndex.h.

References indices_.

Referenced by Water2Patch::draw(), LandVisibilityPatch::draw(), LandVisibilityPatch::drawLODLevel(), MipMapPatchIndexs::generate(), and MipMapPatchIndexs::getIndex().

unsigned int MipMapPatchIndex::getBufferOffSet (  )  [inline]

Definition at line 42 of file MipMapPatchIndex.h.

References bufferOffSet_.

Referenced by Water2Patch::draw(), and LandVisibilityPatch::draw().

int MipMapPatchIndex::getSize (  )  [inline]

Definition at line 43 of file MipMapPatchIndex.h.

References size_.

Referenced by Water2Patch::draw(), LandVisibilityPatch::draw(), LandVisibilityPatch::drawLODLevel(), and MipMapPatchIndexs::generate().

int MipMapPatchIndex::getMinIndex (  )  [inline]

Definition at line 44 of file MipMapPatchIndex.h.

References minIndex_.

Referenced by Water2Patch::draw(), and LandVisibilityPatch::draw().

int MipMapPatchIndex::getMaxIndex (  )  [inline]

Definition at line 45 of file MipMapPatchIndex.h.

References maxIndex_.

Referenced by Water2Patch::draw(), and LandVisibilityPatch::draw().


Member Data Documentation

int MipMapPatchIndex::size_ [protected]

Definition at line 48 of file MipMapPatchIndex.h.

Referenced by generate(), and getSize().

int MipMapPatchIndex::minIndex_ [protected]

Definition at line 48 of file MipMapPatchIndex.h.

Referenced by generate(), and getMinIndex().

int MipMapPatchIndex::maxIndex_ [protected]

Definition at line 48 of file MipMapPatchIndex.h.

Referenced by generate(), and getMaxIndex().

unsigned short* MipMapPatchIndex::indices_ [protected]

Definition at line 49 of file MipMapPatchIndex.h.

Referenced by generate(), getIndices(), and ~MipMapPatchIndex().

unsigned int MipMapPatchIndex::bufferOffSet_ [protected]

Definition at line 50 of file MipMapPatchIndex.h.

Referenced by getBufferOffSet(), and setBufferOffSet().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:04 2009 for Scorched3D by  doxygen 1.5.3