vtPagedStructureLodGrid Class Reference

Inheritance diagram for vtPagedStructureLodGrid:

Inheritance graph
[legend]
List of all members.

Detailed Description

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.


Public Member Functions

void Release ()
void RefreshPaging (vtStructureArray3d *pArray)
vtPagedStructureLODFindGroup (vtStructure *str)


Member Function Documentation

vtPagedStructureLOD * vtPagedStructureLodGrid::FindGroup vtStructure str  ) 
 

For a given vtStructure, find the lod group parent for it, using the structure's earth extents.

void vtPagedStructureLodGrid::RefreshPaging vtStructureArray3d pArray  ) 
 

In case the paging grid did not load some structure before (because the structures were hidden), tell it to check again. You should call this when a structure layer becomes enabled (un-hidden).

void vtPagedStructureLodGrid::Release  )  [virtual]
 

Releases a node. Use this method instead of C++'s delete operator when you are done with a node. Internally, the node is reference counted so it is not deleted until all references to it are removed.

Implements vtLodGrid.


Generated on Tue Apr 22 10:11:08 2008 for vtlib library by  doxygen 1.4.5