osgEarth 2.1.1
|
Public Member Functions | |
TileUpdater (GeoPatch *gpatch) | |
void | apply (PagedLOD &node) |
Protected Member Functions | |
void | copyTileEdges (PatchGroup *node, const PatchOptions *gopt) |
void | copyCorner (PatchGroup *node, const PatchOptions *gopt) |
Protected Attributes | |
GeoPatch * | _gpatch |
KeyIndex | _tileIndex |
Matrixd | _tileMat |
Definition at line 795 of file Geographic.cpp.
seamless::TileUpdater::TileUpdater | ( | GeoPatch * | gpatch | ) | [inline] |
Definition at line 798 of file Geographic.cpp.
{
void seamless::TileUpdater::apply | ( | PagedLOD & | node | ) | [inline] |
Definition at line 810 of file Geographic.cpp.
: void copyTileEdges(PatchGroup* node, const PatchOptions* gopt) {
void seamless::TileUpdater::copyCorner | ( | PatchGroup * | node, |
const PatchOptions * | gopt | ||
) | [inline, protected] |
Definition at line 847 of file Geographic.cpp.
{ if (_tileIndex.y == ty + lodMult) //tarray[0][0] = varray[patchDim - 1][patchDim - 1] * transferMat; safeCopy(tarray[0][0], varray[patchDim - 1][patchDim - 1], transferMat); else //tarray[patchDim - 1][0] = varray[0][patchDim - 1] * transferMat; safeCopy(tarray[patchDim - 1][0], varray[0][patchDim - 1], transferMat); } else { if (_tileIndex.y == ty + lodMult) // tarray[0][patchDim - 1] = varray[patchDim - 1][0] * transferMat; safeCopy(tarray[0][patchDim - 1], varray[patchDim - 1][0], transferMat); else // tarray[patchDim - 1][patchDim - 1] = varray[0][0] * transferMat; safeCopy(tarray[patchDim - 1][patchDim - 1], varray[0][0], transferMat); } tpatch->dirtyVertexData(); } GeoPatch* _gpatch; KeyIndex _tileIndex; Matrixd _tileMat;
void seamless::TileUpdater::copyTileEdges | ( | PatchGroup * | node, |
const PatchOptions * | gopt | ||
) | [inline, protected] |
Definition at line 832 of file Geographic.cpp.
{ transferEdges(tpatch, trans->getMatrix(), idx, _gpatch, _tileMat, _tileIndex, shared); tpatch->dirtyVertexData(); } } void copyCorner(PatchGroup* node, const PatchOptions* gopt) { // The tile to update
GeoPatch* seamless::TileUpdater::_gpatch [protected] |
Definition at line 889 of file Geographic.cpp.
KeyIndex seamless::TileUpdater::_tileIndex [protected] |
Definition at line 890 of file Geographic.cpp.
Matrixd seamless::TileUpdater::_tileMat [protected] |
Definition at line 891 of file Geographic.cpp.