wx_rviz_buttons.h
Go to the documentation of this file.
00001 /****************************************************************
00002  *
00003  * Copyright (c) 2010
00004  *
00005  * Fraunhofer Institute for Manufacturing Engineering
00006  * and Automation (IPA)
00007  *
00008  * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00009  *
00010  * Project name: care-o-bot
00011  * ROS stack name: cob_3d_environment_perception_intern
00012  * ROS package name: cob_3d_mapping_demonstrator
00013  * Description: Feature Map for storing and handling geometric features
00014  *
00015  * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00016  *
00017  * Author: Georg Arbeiter, email:georg.arbeiter@ipa.fhg.de
00018  * Supervised by: Georg Arbeiter, email:georg.arbeiter@ipa.fhg.de
00019  *
00020  * Date of creation: 03/2012
00021  * ToDo:
00022  *
00023  *
00024  *
00025  * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00026  *
00027  * Redistribution and use in source and binary forms, with or without
00028  * modification, are permitted provided that the following conditions are met:
00029  *
00030  *     * Redistributions of source code must retain the above copyright
00031  *       notice, this list of conditions and the following disclaimer.
00032  *     * Redistributions in binary form must reproduce the above copyright
00033  *       notice, this list of conditions and the following disclaimer in the
00034  *       documentation and/or other materials provided with the distribution.
00035  *     * Neither the name of the Fraunhofer Institute for Manufacturing
00036  *       Engineering and Automation (IPA) nor the names of its
00037  *       contributors may be used to endorse or promote products derived from
00038  *       this software without specific prior written permission.
00039  *
00040  * This program is free software: you can redistribute it and/or modify
00041  * it under the terms of the GNU Lesser General Public License LGPL as
00042  * published by the Free Software Foundation, either version 3 of the
00043  * License, or (at your option) any later version.
00044  *
00045  * This program is distributed in the hope that it will be useful,
00046  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00047  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00048  * GNU Lesser General Public License LGPL for more details.
00049  *
00050  * You should have received a copy of the GNU Lesser General Public
00051  * License LGPL along with this program.
00052  * If not, see <http://www.gnu.org/licenses/>.
00053  *
00054  ****************************************************************/
00055 
00056 #ifndef RVIZ_BUTTONS_H
00057 #define RVIZ_BUTTONS_H
00058 
00059 #include <wx/wx.h>
00060 #include <wx/menu.h>
00061 //#include <wx/panel.h>
00062 #include <wx/dialog.h>
00063 #include <wx/msgdlg.h>
00064 //#include <wx/sizer.h>
00065 #include <ros/ros.h>
00066 #include <string.h>
00067 #include "rviz/display.h"
00068 #include "cob_3d_mapping_demonstrator/rviz_buttons_panel.h"
00069 
00070 namespace rviz
00071 {
00072   class RvizButtons : public Display
00073 {
00074 public:
00076     RvizButtons(const std::string& name, VisualizationManager* manager/*wxWindow *parent, const wxString& title, rviz::WindowManagerInterface * wmi*/);
00077     ~RvizButtons();
00078 
00079     void onEnable();
00080 
00081     void onDisable();
00082 
00083 
00084     void targetFrameChanged()
00085     {
00086     }
00087 
00088     void fixedFrameChanged()
00089     {
00090     }
00091 
00092 
00093 protected:
00095     //rviz::WindowManagerInterface * m_wmi;
00096 
00097 
00098     /*wxStaticText *m_text_status;
00099     wxStaticText *m_text_object;
00100     wxStaticText *m_text_timeout;
00101     wxStaticText *m_text_dist; // distance to closest pregrasp position*/
00102 
00103     ros::ServiceServer service_start_;
00104     ros::ServiceServer service_timeout_;
00105 
00106     //wxWindow *parent_;
00107     RvizButtonsPanel* panel_;
00108     wxFrame* frame_; // temp
00109 
00110 
00111 
00112 
00113 //private:
00114 //    DECLARE_EVENT_TABLE()
00115 
00116 };
00117 }
00118 
00119 #endif // RVIZ_BUTTONS_H


cob_3d_mapping_demonstrator
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:03:46