|
| | QSelectFactory () |
| |
| virtual | ~QSelectFactory () |
| |
| virtual anatomist::WSelectChooser * | createSelectChooser (unsigned group, const std::set< anatomist::AObject * > &objects) const |
| | Creates a selection choice window.
|
| |
| virtual void | handleSelectionMenu (anatomist::AWindow *win, int x, int y, const Tree *specific=0) |
| | draws / handles the selection menu (right click)
|
| |
| virtual void | selectNeighbours (anatomist::AGraph *graph, anatomist::AGraphObject *go, std::set< anatomist::AObject * > &toselect) const |
| |
| virtual void | selectNodesWith (std::set< anatomist::AObject * > &tosel, const Graph *gr, const std::string &attr, const std::string &val) |
| |
| virtual void | unselect (unsigned group, const std::set< AObject * > &obj) const |
| |
| virtual void | selectAll (AWindow *win, const HColor *col=0) const |
| | Selects all selectable objects in a given window.
|
| |
| | SelectFactory () |
| |
| virtual | ~SelectFactory () |
| |
| const std::map< unsigned, std::set< AObject * > > & | selected () const |
| |
| virtual void | select (unsigned group, const std::set< AObject * > &obj, const HColor *col=0) const |
| |
| virtual void | unselect (unsigned group, const std::set< AObject * > &obj) const |
| |
| virtual void | unselectAll (unsigned group) const |
| |
| virtual void | selectAll (AWindow *win, const HColor *col=0) const |
| | Selects all selectable objects in a given window.
|
| |
| virtual void | flip (unsigned group, const std::set< AObject * > &obj, const HColor *col=0) const |
| | Inverts state of given objects.
|
| |
| virtual void | select (SelectMode mode, unsigned group, const std::set< AObject * > &obj, const HColor *col=0) const |
| |
| virtual bool | isSelected (unsigned group, AObject *obj) const |
| |
| virtual HColor | highlightColor (AObject *obj) const |
| |
| virtual void | setHighlightColor (AObject *obj, const HColor *col=0) const |
| |
| virtual void | refresh () const |
| | Redraws objects in involved windows.
|
| |
| virtual void | refreshSelectionRendering () const |
| | Redraws all windows containing selected objects (called after selection rendering mode has changed)
|
| |
| virtual void | propagateSelection (unsigned group) const |
| |
| virtual void | remove (anatomist::AWindow *win) |
| |
| virtual void | removeFromThisWindow (anatomist::AWindow *win) |
| |
|
| enum | SelectMode { Normal = 0
, Add = 1
, Toggle = 2
} |
| |
| static void | setFactory (SelectFactory *fac) |
| |
| static SelectFactory * | factory () |
| |
| static bool | hasAncestor (const AWindow *win, AObject *obj) |
| | tells if win sees obj or one of its ancestors
|
| |
| static AObject * | objectAt (AObject *o, const std::vector< float > &pos, float tolerence, const Referential *wref, const Point3df &wgeom, const std::string &selector="default") |
| |
| static void | select (AWindow *w, const std::vector< float > &pos, float tolerence, int modifier, const std::string &selector="default") |
| |
| static void | findObjectsAt (AWindow *w, const std::vector< float > &pos, float tolerence, std::set< AObject * > &shown, std::set< AObject * > &hidden, const std::string &selector) |
| |
| static void | registerSelector (const std::string &key, Selector *s) |
| |
| static void | registerPostSelector (const std::string &key, PostSelector *s) |
| | Registers possible actions to be taken after object selection.
|
| |
| static void | activatePostSelector (int priority, const std::string &psel) |
| | Activates a registered post-selector, it will be used after every object selection with a given priority.
|
| |
| static void | deactivatePostSelector (const std::string &psel) |
| | Dectivates a post-selector: won't be called anymore.
|
| |
| static void | setSelectColor (const HColor &col) |
| |
| static HColor & | selectColor () |
| |
| static bool & | selectColorInverse () |
| |
Selection windows factory, providing Qt windows / widgets.
Definition at line 59 of file qSelectFactory.h.