59 #ifndef ACG_QTLASSO_HH
60 #define ACG_QTLASSO_HH
66 #include "../GL/GLState.hh"
67 #include "../Math/VectorT.hh"
72 #include <QMouseEvent>
86 class ACGDLLEXPORT
QtLasso :
public QObject
95 void reset() { is_active_ =
false; free_mask(); }
96 bool is_active()
const {
return is_active_; }
98 bool is_vertex_selected(
const Vec3d& _v);
109 void slotMouseEvent(QMouseEvent* _event);
114 void signalLassoSelection(ACG::QtLasso::SelectionMode);
128 Vec2i first_point_, last_point_, rubberband_point_;
129 unsigned char *mask_;
130 unsigned int mask_width_, mask_height_;
138 #endif // ACG_QTLASSO_HH defined
Namespace providing different geometric functions concerning angles.