53 #ifndef ACG_QTLASSO_HH 54 #define ACG_QTLASSO_HH 60 #include "../GL/GLState.hh" 61 #include "../Math/VectorT.hh" 66 #include <QMouseEvent> 80 class ACGDLLEXPORT
QtLasso :
public QObject
89 void reset() { is_active_ =
false; free_mask(); }
90 bool is_active()
const {
return is_active_; }
92 bool is_vertex_selected(
const Vec3d& _v);
103 void slotMouseEvent(QMouseEvent* _event);
108 void signalLassoSelection(ACG::QtLasso::SelectionMode);
122 Vec2i first_point_, last_point_, rubberband_point_;
123 unsigned char *mask_;
124 unsigned int mask_width_, mask_height_;
132 #endif // ACG_QTLASSO_HH defined
Namespace providing different geometric functions concerning angles.