#include <GLViewer_Selector.h>
GLViewer_Selector Base class for object selection in SUIT-based application
GLViewer_Selector::~GLViewer_Selector |
( |
| ) |
|
static int GLViewer_Selector::appendKey |
( |
| ) |
|
|
inlinestatic |
Sets/returns the key for appending selected objects ( SHIFT by default )
virtual void GLViewer_Selector::checkSelection |
( |
int |
, |
|
|
bool |
, |
|
|
int |
|
|
) |
| |
|
pure virtual |
virtual void GLViewer_Selector::detect |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
pure virtual |
void GLViewer_Selector::lock |
( |
bool |
locked | ) |
|
Locks / unlocks the selector. If locked, nothing can be selected regadless of the selection mode. [ public ]
References myLocked.
virtual int GLViewer_Selector::numSelected |
( |
| ) |
const |
|
pure virtual |
virtual void GLViewer_Selector::select |
( |
bool |
append = false | ) |
|
|
pure virtual |
virtual void GLViewer_Selector::select |
( |
const QRect & |
, |
|
|
bool |
append = false |
|
) |
| |
|
pure virtual |
void GLViewer_Selector::selSelectionCancel |
( |
| ) |
|
|
signal |
static void GLViewer_Selector::setAppendKey |
( |
int |
k | ) |
|
|
inlinestatic |
virtual void GLViewer_Selector::setHilightColor |
( |
Quantity_NameOfColor |
| ) |
|
|
pure virtual |
void GLViewer_Selector::setMinRectSize |
( |
const QSize & |
minSize | ) |
|
Sets the min size of rectangle to treat it as a rectangle for multiple selection( sensitivity ). If a rectangle size is less than that min size, the right-bottom point of the rectangle will be used for single selection. The default min size is ( 1,1 ). [ public ]
References myMinRectSize.
virtual void GLViewer_Selector::setSelectColor |
( |
Quantity_NameOfColor |
| ) |
|
|
pure virtual |
virtual void GLViewer_Selector::undetectAll |
( |
| ) |
|
|
pure virtual |
virtual void GLViewer_Selector::unselectAll |
( |
| ) |
|
|
pure virtual |
int GLViewer_Selector::apppendKey = Qt::ShiftModifier |
|
staticprivate |
bool GLViewer_Selector::myLocked |
|
protected |
QSize GLViewer_Selector::myMinRectSize |
|
protected |
The documentation for this class was generated from the following files: