INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
coordinateframemanager.h00001 #ifndef HYDROQGUI_COORDINATEFRAMEMANAGER_H 00002 #define HYDROQGUI_COORDINATEFRAMEMANAGER_H 00003 00004 #include <QString> 00005 #include <hydroutil/uncopyable.h> 00006 00007 namespace hydroqgui { 00008 00016 class CoordinateFrameManager : public hydroutil::Uncopyable 00017 { 00018 00019 public: 00020 00021 CoordinateFrameManager(); 00022 00023 // sets the coordinate frame to the guielement's platform 00024 void setCoordinateFramePlatform( const QString &platformName ); 00025 void setOriginPlatform( const QString &platformName ); 00026 00027 // access method for platform coincident with origin 00028 const QString& coordinateFramePlatform() { return coordinateFramePlatform_; } 00029 QString coordinateFramePlatform() const { return coordinateFramePlatform_; } 00030 00031 bool ignoreCoordinateFrameRotation() const { return ignoreCoordinateFrameRotation_; } 00032 00033 private: 00034 00035 QString coordinateFramePlatform_; 00036 bool ignoreCoordinateFrameRotation_; 00037 }; 00038 00039 } 00040 00041 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)