osgEarth 2.1.1
Public Member Functions | Private Attributes

TileInfo Class Reference

#include <MapService.h>

List of all members.

Public Member Functions

 TileInfo ()
 TileInfo (int tile_size, const std::string &format, int min_level, int max_level, int _num_tiles_wide, int _num_tiles_high)
 TileInfo (const TileInfo &rhs)
bool isValid () const
int getTileSize () const
const std::string & getFormat () const
int getMinLevel () const
int getMaxLevel () const
int getNumTilesWide () const
int getNumTilesHigh () const

Private Attributes

std::string format
int tile_size
int min_level
int max_level
bool is_valid
int num_tiles_wide
int num_tiles_high

Detailed Description

The tiling scheme defined by the map service.

Definition at line 49 of file MapService.h.


Constructor & Destructor Documentation

TileInfo::TileInfo ( )

Definition at line 32 of file MapService.cpp.

: is_valid( false )
{
    //NOP
}
TileInfo::TileInfo ( int  tile_size,
const std::string &  format,
int  min_level,
int  max_level,
int  _num_tiles_wide,
int  _num_tiles_high 
)

Definition at line 38 of file MapService.cpp.

                                                                                                                                       :
format( _format ),
tile_size( _tile_size ),
min_level( _min_level ),
max_level( _max_level ),
is_valid( true ),
num_tiles_wide(_num_tiles_wide),
num_tiles_high(_num_tiles_high)
{ 
    //NOP
}
TileInfo::TileInfo ( const TileInfo rhs)

Definition at line 50 of file MapService.cpp.


Member Function Documentation

const std::string & TileInfo::getFormat ( ) const

Definition at line 73 of file MapService.cpp.

                          {
    return format;
}
int TileInfo::getMaxLevel ( ) const

Definition at line 83 of file MapService.cpp.

                            {
    return max_level;
}
int TileInfo::getMinLevel ( ) const

Definition at line 78 of file MapService.cpp.

                            {
    return min_level;
}
int TileInfo::getNumTilesHigh ( ) const

Definition at line 93 of file MapService.cpp.

                                {
    return num_tiles_high;
}
int TileInfo::getNumTilesWide ( ) const

Definition at line 88 of file MapService.cpp.

                                {
    return num_tiles_wide;
}
int TileInfo::getTileSize ( ) const

Definition at line 68 of file MapService.cpp.

                            {
    return tile_size;
}
bool TileInfo::isValid ( ) const

Definition at line 63 of file MapService.cpp.

                        {
    return is_valid;
}

Member Data Documentation

std::string TileInfo::format [private]

Definition at line 73 of file MapService.h.

bool TileInfo::is_valid [private]

Definition at line 76 of file MapService.h.

int TileInfo::max_level [private]

Definition at line 75 of file MapService.h.

int TileInfo::min_level [private]

Definition at line 75 of file MapService.h.

int TileInfo::num_tiles_high [private]

Definition at line 78 of file MapService.h.

int TileInfo::num_tiles_wide [private]

Definition at line 77 of file MapService.h.

int TileInfo::tile_size [private]

Definition at line 74 of file MapService.h.


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