00001 00018 #ifndef FRAMEEDITORWINDOW_H 00019 #define FRAMEEDITORWINDOW_H 00020 #include <QMainWindow> 00021 #include <QListWidget> 00022 #include <QMenu> 00023 #include <QMenuBar> 00024 #include <QLabel> 00025 #ifndef Q_MOC_RUN 00026 #include <ros/ros.h> 00027 #endif 00028 #include <Transformation/transformationfile_manager_data.h> 00029 #include <VisualisationUtils/markerpublisher.h> 00030 00031 class FrameEditor : public QMainWindow 00032 { 00033 Q_OBJECT 00034 EIGEN_MAKE_ALIGNED_OPERATOR_NEW 00035 public: 00036 explicit FrameEditor(QWidget *parent = 0); 00037 00038 protected: 00039 void resizeEvent(QResizeEvent * event); 00040 00041 private: 00042 std::vector<colouredCameraFrame, Eigen::aligned_allocator<colouredCameraFrame> > colouredCameraFrames; 00043 std::vector<Transformation_Data> transformationData; 00044 00045 QMenu *fileMenu; 00046 QAction *openAct; 00047 QAction *saveAct; 00048 QListWidget * lstFrames; 00049 00050 QLabel *lblItemCount; 00051 00052 MarkerPublisher * markerPublisher; 00053 00054 int lastSelected; 00055 signals: 00056 public slots: 00057 00058 private slots: 00059 void openFile(); 00060 void saveFile(); 00061 void lstFramesItemClicked(QListWidgetItem * item); 00062 00063 }; 00064 00065 #endif // FRAMEEDITORWINDOW_H