orca-robotics INTRODUCTION Overview Download and Install Quick Start Documentation Publications REPOSITORY Interfaces Components Libraries Utilities Software Map DEVELOPER Tutorials Examples Dev Guide Dashboard Wiki login/pass: orca/orca PEOPLE Contributors Users Project Download Mailing lists
|
iknowsplatformposition.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2004-2008 Alex Brooks 00005 * 00006 * This copy of Orca is licensed to you under the terms described in 00007 * the LICENSE file included in this distribution. 00008 * 00009 */ 00010 00011 #ifndef ORCAGUI3D_IKNOWSPLATFORMPOSITION_H 00012 #define ORCAGUI3D_IKNOWSPLATFORMPOSITION_H 00013 00014 namespace orcaqgui3d { 00015 00019 class IKnowsPlatformPosition 00020 { 00021 00022 public: 00023 00024 virtual ~IKnowsPlatformPosition() {} 00025 00026 // Returns a number from 1 to 10 indicating the extent to which this 00027 // GUI element should be trusted. 00028 // This is used in the case that multiple GUI elements on a single platform 00029 // all purport to know the position. 00030 virtual int platformKnowledgeReliability() const=0; 00031 00032 virtual float x() const=0; 00033 virtual float y() const=0; 00034 virtual float z() const=0; 00035 virtual float roll() const=0; 00036 virtual float pitch() const=0; 00037 virtual float yaw() const=0; 00038 00039 private: 00040 00041 00042 }; 00043 00044 } 00045 00046 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)