osgEarth 2.1.1
Public Types | Public Member Functions | Public Attributes

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 72 of file CustomTile.


Member Typedef Documentation

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

Definition at line 83 of file CustomTile.


Member Enumeration Documentation

Enumerator:
PARENT 
WEST 
NORTH 
EAST 
SOUTH 

Definition at line 88 of file CustomTile.

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

Constructor & Destructor Documentation

Relative::Relative ( ) [inline]

Definition at line 96 of file CustomTile.

{ } // : key(0,0,0,0L) { }

Member Function Documentation

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

Definition at line 74 of file CustomTile.

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

Member Data Documentation

Definition at line 82 of file CustomTile.

Definition at line 81 of file CustomTile.

Definition at line 84 of file CustomTile.

osgTerrain::TileID Relative::tileID

Definition at line 85 of file CustomTile.


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