osgEarth 2.1.1
Public Types | Public Member Functions | Public Attributes

StreamingTile::Relative Struct Reference

List of all members.

Public Types

enum  Direction {
  PARENT = 0, WEST = 1, NORTH = 2, EAST = 3,
  SOUTH = 4
}
typedef std::map< unsigned int,
int > 
LayerIDtoLODMap

Public Member Functions

int getImageLOD (unsigned int layerID)
 Relative ()

Public Attributes

bool expected
int elevLOD
LayerIDtoLODMap imageLODs
osgTerrain::TileID tileID

Detailed Description

Definition at line 36 of file StreamingTile.


Member Typedef Documentation

typedef std::map<unsigned int, int> StreamingTile::Relative::LayerIDtoLODMap

Definition at line 45 of file StreamingTile.


Member Enumeration Documentation

Enumerator:
PARENT 
WEST 
NORTH 
EAST 
SOUTH 

Definition at line 52 of file StreamingTile.

                       {
            PARENT =0,
            WEST   =1,
            NORTH  =2,
            EAST   =3,
            SOUTH  =4
        };

Constructor & Destructor Documentation

StreamingTile::Relative::Relative ( ) [inline]

Definition at line 60 of file StreamingTile.

{ }

Member Function Documentation

int StreamingTile::Relative::getImageLOD ( unsigned int  layerID) [inline]

Definition at line 38 of file StreamingTile.

        {
            LayerIDtoLODMap::iterator itr = imageLODs.find(layerID);
            if (itr != imageLODs.end()) return itr->second;
            return -1;
        }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 48 of file StreamingTile.

Definition at line 47 of file StreamingTile.

Definition at line 49 of file StreamingTile.

osgTerrain::TileID StreamingTile::Relative::tileID

Definition at line 50 of file StreamingTile.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines