Aimsun Next Scripting
22
|
Public Member Functions | |
GKGeoSelection () | |
virtual | ~GKGeoSelection () |
virtual void | clear () |
virtual void | selectMultiple (GKObject *) |
virtual void | deselectMultiple (GKObject *obj) |
GKGeoObject * | getAny (GKType *, MatchMode mm) const |
![]() | |
GKSelection () | |
virtual | ~GKSelection () |
GKModel * | getModel () const |
virtual void | clear () |
void | select (GKObject *) |
virtual void | selectMultiple (GKObject *) |
virtual void | endSelectMultiple () |
void | deselect (GKObject *) |
virtual void | deselectMultiple (GKObject *) |
virtual void | deselectAll () |
void | remove () |
uint | size () const |
uint | size (GKType *, MatchMode) const |
bool | anySelected (GKType *, MatchMode mm) const |
GKObject * | getAny (GKType *, MatchMode mm) const |
bool | atLeast (uint, GKType *, MatchMode mm) const |
bool | canBeDeleted () const |
bool | canBeModified () const |
const QList< GKObject * > & | getObjects () const |
GKType * | getSelectionType () const |
bool | isSelected (GKObject *) const |
Additional Inherited Members | |
![]() | |
enum | MatchMode { eExactlyThisClass , eThisAndSubclasses } |
This class represents the specific selection model used for the geometric model. This means, it handles the 'selected' flag provided by the GKGeoObject objects, so the selection is effectively stablished at model level.
GKGeoSelection::GKGeoSelection | ( | ) |
|
virtual |
|
virtual |
Redefined to clear the selection flag for all GKGeoObject selected.
Reimplemented from GKSelection.
|
virtual |
Redefined to take care of GKGeoObject's internal selection flag.
Reimplemented from GKSelection.
GKGeoObject * GKGeoSelection::getAny | ( | GKType * | , |
MatchMode | mm | ||
) | const |
Redefined to cast returned GKObject to GKGeoObject, if possible.
|
virtual |
Redefined to take care of GKGeoObject's internal selection flag.
Reimplemented from GKSelection.