GlobeEngine
geSpatial::Tile Class Reference

#include <Tile.h>

Public Member Functions

 Tile ()
 
 ~Tile ()
 
void clear ()
 
void calculateSaturatedErrors (Tile *_tile, int _width, int _height)
 
std::shared_ptr< geSpatial::CullableSpatialKeygetKey () const
 
void setKey (std::shared_ptr< geSpatial::CullableSpatialKey > _key)
 
void setKey (short _lod, int _x, int _y)
 
int getTiletype ()
 
void setTiletype (int _in)
 
void setTexture (std::shared_ptr< ge::Texture2Df > _tex)
 

Public Attributes

union {
   float *   alpha
 
   unsigned short *   alpha16
 
   unsigned char *   alpha8
 
   unsigned char *   rgba
 
data
 
std::shared_ptr< geSpatial::CullableSpatialKeykey
 
std::shared_ptr< ge::Texture2Dftex
 
TileError error_data
 
ge::TextureTypeInternals texInternals
 
int tiletype
 

Constructor & Destructor Documentation

geSpatial::Tile::Tile ( )
geSpatial::Tile::~Tile ( )

Member Function Documentation

void geSpatial::Tile::calculateSaturatedErrors ( Tile _tile,
int  _width,
int  _height 
)

*// 1b.) Diamondstep: Errorwerte der Werte die diagonal liegen

void geSpatial::Tile::clear ( )
std::shared_ptr< geSpatial::CullableSpatialKey > geSpatial::Tile::getKey ( ) const
int geSpatial::Tile::getTiletype ( )
void geSpatial::Tile::setKey ( std::shared_ptr< geSpatial::CullableSpatialKey _key)
void geSpatial::Tile::setKey ( short  _lod,
int  _x,
int  _y 
)
void geSpatial::Tile::setTexture ( std::shared_ptr< ge::Texture2Df _tex)
void geSpatial::Tile::setTiletype ( int  _in)

Member Data Documentation

float* geSpatial::Tile::alpha
unsigned short* geSpatial::Tile::alpha16
unsigned char* geSpatial::Tile::alpha8
union { ... } geSpatial::Tile::data
TileError geSpatial::Tile::error_data
std::shared_ptr<geSpatial::CullableSpatialKey> geSpatial::Tile::key
unsigned char* geSpatial::Tile::rgba
std::shared_ptr<ge::Texture2Df> geSpatial::Tile::tex
ge::TextureTypeInternals geSpatial::Tile::texInternals
int geSpatial::Tile::tiletype

The documentation for this class was generated from the following files: