osgEarth 2.1.1
Public Member Functions | Static Public Member Functions

seamless::QscProfile Class Reference

Inheritance diagram for seamless::QscProfile:
Collaboration diagram for seamless::QscProfile:

List of all members.

Public Member Functions

 QscProfile ()
virtual void getIntersectingTiles (const osgEarth::GeoExtent &extent, std::vector< osgEarth::TileKey > &out_intersectingKeys) const

Static Public Member Functions

static int getFace (const osgEarth::TileKey *key)

Detailed Description

Definition at line 145 of file QSC.


Constructor & Destructor Documentation

seamless::QscProfile::QscProfile ( )

Definition at line 650 of file QSC.cpp.

    : Profile(createQscSRS(),
              0.0, 0.0, 4.0, 3.0,
              -180.0, -90.0, 180.0, 90.0,
              0,
              4, 3)
{
}

Member Function Documentation

int seamless::QscProfile::getFace ( const osgEarth::TileKey key) [static]

Gets the cube face associated with a tile key (in cube srs).

Definition at line 659 of file QSC.cpp.

{
    int faceX = key->getTileX() >> key->getLevelOfDetail();
    int faceY = key->getTileY() >> key->getLevelOfDetail();
    if (faceY == 0)
        return 5;
    else if (faceY == 2)
        return 4;
    else
        return faceX;
}

Here is the call graph for this function:

void seamless::QscProfile::getIntersectingTiles ( const osgEarth::GeoExtent extent,
std::vector< osgEarth::TileKey > &  out_intersectingKeys 
) const [virtual]

Definition at line 1019 of file Euler.cpp.

{
    OE_FATAL << "EulerProfile::getIntersectingTiles not implemented yet!\n";
}

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