|
void | Setup (const FPoint3 &origin, const FPoint3 &size, int iDimension, float fLODDistance, vtHeightField3d *pHF=NULL) |
|
void | Cleanup () |
|
void | SetDistance (float fLODDistance) |
|
bool | AppendToGrid (vtStructureArray3d *sa, int iIndex) |
|
void | RemoveFromGrid (vtStructureArray3d *sa, int iIndex) |
|
vtPagedStructureLOD * | GetPagedCell (int a, int b) |
|
void | DoPaging (const FPoint3 &CamPos, int iMaxStructures, float fDeleteDistance) |
|
bool | AddToQueue (vtPagedStructureLOD *pLOD, vtStructureArray3d *pArray, int iIndex) |
|
bool | RemoveFromQueue (vtStructureArray3d *pArray, int iIndex) |
|
uint | GetQueueSize () |
|
void | SortQueue () |
|
void | ClearQueue (vtStructureArray3d *pArray) |
|
void | RefreshPaging (vtStructureArray3d *pArray) |
|
void | EnableLoading (bool b) |
|
int | GetLoadCount () |
|
void | ResetLoadCount () |
|
int | GetTotalConstructed () |
|
vtPagedStructureLOD * | FindGroup (vtStructure *str) |
|
void | ConstructByIndex (vtPagedStructureLOD *pLOD, vtStructureArray3d *pArray, uint iStructIndex) |
|
bool | AddToGrid (osg::Node *pNode) |
|
void | RemoveFromGrid (osg::Node *pNode) |
|
float | GetDistance () |
|
int | GetDimension () |
|
FPoint3 | GetCellSize () |
|
vtPagedStructureLodGrid provides a more complex implementation of vtLodGrid.
Like vtSimpleLodGrid, it consists of a 2D grid of LOD nodes, each covering a rectangular cell, which causes that cell's children to only be shown when within a given distance. Additionally, the cells can contain structures (vtStructure) which are not constructed until the cell is visible.