27 #ifndef GLVIEWER_SELECTOR2D_H
28 #define GLVIEWER_SELECTOR2D_H
36 #include <Quantity_NameOfColor.hxx>
62 virtual void detect(
int,
int );
65 virtual void select(
bool append =
false );
66 virtual void select(
const QRect&,
bool append =
false );
#define GLVIEWER_API
Macro for exports.
Definition: GLViewer.h:37
Definition: GLViewer_Context.h:58
Definition: GLViewer_Selector2d.h:46
GLViewer_Context * myGLContext
Definition: GLViewer_Selector2d.h:73
GLViewer_Context * getContext() const
Definition: GLViewer_Selector2d.h:56
void setContext(GLViewer_Context *glc)
Sets context from Viewer2d.
Definition: GLViewer_Selector2d.h:55
Definition: GLViewer_Selector.h:47
virtual void setHilightColor(Quantity_NameOfColor)=0
virtual int numSelected() const =0
virtual void unselectAll()=0
virtual void checkSelection(int, bool, int)=0
Checks selection state and emits 'selSelectionDone' or 'selSelectionCancel'
virtual void detect(int x, int y)=0
Highlights in point (x,y)
virtual void select(bool append=false)=0
Selects highlight objects.
virtual void setSelectColor(Quantity_NameOfColor)=0
virtual void undetectAll()=0
Definition: GLViewer_Viewer2d.h:76