osgEarth 2.1.1
Public Member Functions | Protected Attributes

osgEarth::TileFormat Class Reference

List of all members.

Public Member Functions

 TileFormat ()
unsigned int getWidth () const
void setWidth (unsigned int width)
unsigned int getHeight () const
void setHeight (unsigned int height)
const std::string & getMimeType () const
void setMimeType (const std::string &mimeType)
const std::string & getExtension () const
void setExtension (const std::string &extension)

Protected Attributes

unsigned int _width
unsigned int _height
std::string _mimeType
std::string _extension

Detailed Description

TMS tile format. Specifies format information of a tile

Definition at line 49 of file TMS.


Constructor & Destructor Documentation

TileFormat::TileFormat ( )

Definition at line 50 of file TMS.cpp.

                      :
_width(0),
_height(0)
{
}

Member Function Documentation

const std::string& osgEarth::TileFormat::getExtension ( ) const [inline]

Gets the extension of a tile

Definition at line 87 of file TMS.

{return _extension;}

Here is the caller graph for this function:

unsigned int osgEarth::TileFormat::getHeight ( ) const [inline]

Gets the height of a tile

Definition at line 67 of file TMS.

{return _height;}

Here is the caller graph for this function:

const std::string& osgEarth::TileFormat::getMimeType ( ) const [inline]

Gets the mime type of a tile

Definition at line 77 of file TMS.

{return _mimeType;}

Here is the caller graph for this function:

unsigned int osgEarth::TileFormat::getWidth ( ) const [inline]

Gets the width of a tile

Definition at line 57 of file TMS.

{return _width;}

Here is the caller graph for this function:

void osgEarth::TileFormat::setExtension ( const std::string &  extension) [inline]

Sets the extension of a tile

Definition at line 92 of file TMS.

{_extension = extension;}

Here is the caller graph for this function:

void osgEarth::TileFormat::setHeight ( unsigned int  height) [inline]

Sets the height of a tile

Definition at line 72 of file TMS.

{_height = height;}

Here is the caller graph for this function:

void osgEarth::TileFormat::setMimeType ( const std::string &  mimeType) [inline]

Sets the mime type of a tile

Definition at line 82 of file TMS.

{_mimeType = mimeType;}
void osgEarth::TileFormat::setWidth ( unsigned int  width) [inline]

Sets the width of a tile

Definition at line 62 of file TMS.

{_width = width;}

Here is the caller graph for this function:


Member Data Documentation

std::string osgEarth::TileFormat::_extension [protected]

Definition at line 98 of file TMS.

unsigned int osgEarth::TileFormat::_height [protected]

Definition at line 96 of file TMS.

std::string osgEarth::TileFormat::_mimeType [protected]

Definition at line 97 of file TMS.

unsigned int osgEarth::TileFormat::_width [protected]

Definition at line 95 of file TMS.


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