#include <DigiBitmap.h>
Public Member Functions | |
| DigiBitmap () | |
| const char * | bitmapFilename () const |
| void | bitmapFilename (const char *str) |
| double | latitude () const |
| double | longitude () const |
| void | latitude (const double v) |
| void | longitude (const double v) |
| double | northSize () const |
| double | eastSize () const |
| void | northSize (const double v) |
| void | eastSize (const double v) |
| virtual void | updateData () |
| virtual void | drawFunc () |
| void | readBitmap () |
Private Member Functions | |
| bool | scaleDIB () |
Private Attributes | |
| char | bitmapFile [BITMAP_FILE_SIZE] |
| MapDisplay * | map |
| int | haveBitmap |
| pfVec2 | texCoord [4] |
| GLuint | texName |
| BYTE * | pBits |
| HWND | hWnd |
| HANDLE | hDibOriginal |
| HBITMAP | hDibScaled |
| double | lat |
| double | lon |
| double | ns |
| double | es |
| int | scaledSize |
Static Private Attributes | |
| static const unsigned int | BITMAP_FILE_SIZE = 128 |
| DigiBitmap::DigiBitmap | ( | ) |
References bitmapFilename(), es, haveBitmap, hDibOriginal, hDibScaled, hWnd, lat, lon, map, ns, pBits, scaledSize, texCoord, and texName.
| const char* DigiBitmap::bitmapFilename | ( | ) | const [inline] |
Referenced by DigiBitmap().
| void DigiBitmap::bitmapFilename | ( | const char * | str | ) | [inline] |
References bitmapFile.
| void DigiBitmap::drawFunc | ( | ) | [virtual] |
References glBegin, glEnd, haveBitmap, Eaagles::Basic::i, texCoord, texName, and Eaagles::BasicGL::vertices.
| double DigiBitmap::eastSize | ( | ) | const [inline] |
References ns.
Referenced by updateData().
| void DigiBitmap::eastSize | ( | const double | v | ) | [inline] |
References ns.
| void DigiBitmap::latitude | ( | const double | v | ) | [inline] |
| double DigiBitmap::latitude | ( | ) | const [inline] |
Referenced by updateData().
| double DigiBitmap::longitude | ( | ) | const [inline] |
References lat.
Referenced by updateData().
| void DigiBitmap::longitude | ( | const double | v | ) | [inline] |
References lat.
| void DigiBitmap::northSize | ( | const double | v | ) | [inline] |
| double DigiBitmap::northSize | ( | ) | const [inline] |
Referenced by updateData().
| void DigiBitmap::readBitmap | ( | ) |
References bitmapFile, haveBitmap, hDibOriginal, hDibScaled, hWnd, pBits, scaleDIB(), scaledSize, and texName.
| bool DigiBitmap::scaleDIB | ( | ) | [private] |
References hDibOriginal, hDibScaled, hWnd, pBits, and scaledSize.
Referenced by readBitmap().
| void DigiBitmap::updateData | ( | ) | [virtual] |
References eastSize(), lat, latitude(), lon, longitude(), map, northSize(), and Eaagles::BasicGL::vertices.
const unsigned int DigiBitmap::BITMAP_FILE_SIZE = 128 [static, private] |
char DigiBitmap::bitmapFile[BITMAP_FILE_SIZE] [private] |
Referenced by bitmapFilename(), and readBitmap().
double DigiBitmap::es [private] |
Referenced by DigiBitmap().
int DigiBitmap::haveBitmap [private] |
Referenced by DigiBitmap(), drawFunc(), and readBitmap().
HANDLE DigiBitmap::hDibOriginal [private] |
Referenced by DigiBitmap(), readBitmap(), and scaleDIB().
HBITMAP DigiBitmap::hDibScaled [private] |
Referenced by DigiBitmap(), readBitmap(), and scaleDIB().
HWND DigiBitmap::hWnd [private] |
Referenced by DigiBitmap(), readBitmap(), and scaleDIB().
double DigiBitmap::lat [private] |
Referenced by DigiBitmap(), longitude(), and updateData().
double DigiBitmap::lon [private] |
Referenced by DigiBitmap(), and updateData().
MapDisplay* DigiBitmap::map [private] |
Referenced by DigiBitmap(), and updateData().
double DigiBitmap::ns [private] |
Referenced by DigiBitmap(), and eastSize().
BYTE* DigiBitmap::pBits [private] |
Referenced by DigiBitmap(), readBitmap(), and scaleDIB().
int DigiBitmap::scaledSize [private] |
Referenced by DigiBitmap(), readBitmap(), and scaleDIB().
pfVec2 DigiBitmap::texCoord[4] [private] |
Referenced by DigiBitmap(), and drawFunc().
GLuint DigiBitmap::texName [private] |
Referenced by DigiBitmap(), drawFunc(), and readBitmap().
1.7.1