34 #ifndef LVRLABELDIALOG_HPP_ 35 #define LVRLABELDIALOG_HPP_ 37 #include "ui_LVRLabelDialogUI.h" 38 #include <QTreeWidget> 43 #include <vtkPolyData.h> 44 #include <vtkSmartPointer.h> 46 #include <boost/shared_array.hpp> 50 #define LABEL_NAME_COLUMN 0 51 #define LABELED_POINT_COLUMN 1 52 #define LABEL_VISIBLE_COLUMN 2 53 #define LABEL_ID_COLUMN 3 70 void setPoints(
const std::string,
const vtkSmartPointer<vtkPolyData> points);
74 void addNewInstance();
75 void responseLabels(std::vector<uint16_t>);
76 void updatePointCount(uint16_t,
int);
77 void cellSelected(QTreeWidgetItem*,
int);
78 void comboBoxIndexChanged(
int index);
79 void visibilityChanged(QTreeWidgetItem*,
int);
83 void labelRemoved(QPair<int, QColor>);
84 void labelAdded(QTreeWidgetItem*);
85 void labelChanged(uint16_t);
86 void labelLoaded(
int, std::vector<int>);
87 void hidePoints(
int,
bool);
98 std::map<std::string, vtkSmartPointer<vtkPolyData>>
m_points;
QColor m_dataSelectionColor
QColor m_modelSelectionColor
std::map< std::string, vtkSmartPointer< vtkPolyData > > m_points
QTreeWidget * m_treeWidget