00001 /****************************************************************************** 00002 * \file 00003 * 00004 * $Id:$ 00005 * 00006 * Copyright (C) Brno University of Technology 00007 * 00008 * This file is part of software developed by dcgm-robotics@FIT group. 00009 * 00010 * Author: Vit Stancl (stancl@fit.vutbr.cz) 00011 * Supervised by: Michal Spanel (spanel@fit.vutbr.cz) 00012 * Date: 5/4/2012 00013 * 00014 * This file is free software: you can redistribute it and/or modify 00015 * it under the terms of the GNU Lesser General Public License as published by 00016 * the Free Software Foundation, either version 3 of the License, or 00017 * (at your option) any later version. 00018 * 00019 * This file is distributed in the hope that it will be useful, 00020 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00021 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00022 * GNU Lesser General Public License for more details. 00023 * 00024 * You should have received a copy of the GNU Lesser General Public License 00025 * along with this file. If not, see <http://www.gnu.org/licenses/>. 00026 */ 00027 00028 #ifndef BUT_ARM_NAV_DISPLAY_H 00029 #define BUT_ARM_NAV_DISPLAY_H 00030 00031 #include <rviz/display.h> 00032 #include <rviz/view_controller.h> 00033 #include "rviz/properties/forwards.h" 00034 #include "rviz/properties/property.h" 00035 #include "rviz/properties/edit_enum_property.h" 00036 #include "rviz/properties/property_manager.h" 00037 00038 #include <OGRE/OgreSceneNode.h> 00039 #include <OgreManualObject.h> 00040 #include <OgreCamera.h> 00041 00042 #include <string> 00043 00044 #include "arm_navigation_controls.h" 00045 00046 00047 namespace srs_assisted_arm_navigation_ui { 00048 00049 class CButArmNavDisplay : public rviz::Display 00050 { 00051 00052 public: 00054 CButArmNavDisplay(const std::string & name,rviz::VisualizationManager * manager); 00055 00057 ~CButArmNavDisplay(); 00058 00059 //OverridesfromDisplay 00060 virtual void targetFrameChanged(){} 00061 virtual void fixedFrameChanged(){} 00062 virtual void createProperties() {}; 00063 00064 protected: 00065 //overridesfromDisplay 00066 virtual void onEnable() {}; 00067 virtual void onDisable() {}; 00068 00069 00070 protected: 00071 00073 CArmManipulationControls * m_armmanipulation_window; 00074 00075 };//classCBasicPlugin 00076 00077 00078 } 00079 00080 #endif // BUT_ARM_NAV_DISPLAY_H 00081