#ifndef _PROTO_MAPTERRAIN_HPP_ #define _PROTO_MAPTERRAIN_HPP_ #ifndef _PROTO_ANGLES_HPP_ #include #endif #ifndef _PROTO_TRIGTABLE_HPP_ #include #endif #ifndef _PROTO_GEOMETRY_HPP_ #include #endif #ifndef _COMMON_SMARTPOINTER_HPP_ #include #endif #ifndef _COMMON_CALLBACK_HPP_ #include #endif #ifndef _COMMON_BITMAP_HPP_ #include #endif class GUIWindow; class Display; class ViewPoint; class MapTerrain { public: MapTerrain(SmartPointer &parentWindow,const String &strColorBitmap,const String &strHeightBitmap); MapTerrain(void); virtual ~MapTerrain(); void mapTerrain(Display &display,ViewPoint &viewPoint); Angles &angles(void); TrigTable &trigTable(void); Geometry &geometry(void); Bitmap &colorBitmap(void); Bitmap &heightBitmap(void); private: MapTerrain(const MapTerrain &mapTerrain); MapTerrain &operator=(const MapTerrain &mapTerrain); CallbackData::ReturnType sizeHandler(CallbackData &someCallbackData); Callback mSizeHandler; SmartPointer mParentWindow; Bitmap mColorBitmap; Bitmap mHeightBitmap; Angles mAngles; Geometry mGeometry; TrigTable mTrigTable; }; inline Angles &MapTerrain::angles(void) { return mAngles; } inline TrigTable &MapTerrain::trigTable(void) { return mTrigTable; } inline Geometry &MapTerrain::geometry(void) { return mGeometry; } inline Bitmap &MapTerrain::colorBitmap(void) { return mColorBitmap; } inline Bitmap &MapTerrain::heightBitmap(void) { return mHeightBitmap; } #endif