View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000529 | Community | OCCT:Visualization | public | 2002-07-11 14:58 | 2011-12-15 17:54 |
| Reporter | Assigned To | ||||
| Priority | normal | Severity | feature | ||
| Status | closed | Resolution | unable to reproduce | ||
| OS | All | ||||
| Summary | 0000529: Adding a method AIS_InteractiveContext::SetPreselected | ||||
| Description | This improvement proposal has been added by Francois Lauzon at http://www.opencascade.org/forumorg/bug.php?bug_id=62&f=8 : ======= A method to preselect an interactive by software would be quite usefull, for example you have a tree list that show your model and you want to preselect them when the user move the mouse over the widgets. Here is a suggestion, I've attached an implementation, based on the MoveTo method, but I don't know much about the internal of InteractiveContext and it may break some stuff (or maybe not). ======== Additional discussion: ------ Patrik Muller: I'm not sure - but there is void SetCurrentObject (const Handle(AIS_InteractiveObject)& aniobj, const Standard_Boolean updateviewer = Standard_True ) So if you store the handle and combine it with your "TreeItem" data - wouldn't that give this result?? -- Francois Lauzon: I've tried it, but SetCurrentObject will actually highlight and select the object, what I want his pre-selection highlight (the light blue one) like you've got using MoveTo. ------ | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2002-07-12 13:46 | bugmaster | Assigned To | bugmaster => gg |
| 2002-07-12 13:46 | bugmaster | Status | new => assigned |
| 2002-09-12 21:08 | bugmaster | Assigned To | gg => sav |
| 2003-01-10 15:53 |
|
Status | assigned => resolved |
| 2003-01-10 16:49 | bugmaster | Status | resolved => closed |
| 2003-01-10 16:49 | bugmaster | Resolution | @0@ => unable to reproduce |
| 2011-08-02 11:24 | bugmaster | Category | OCCT:VIZ => OCCT:Visualization |
| 2011-12-15 17:54 | bugmaster | Project | Open CASCADE => Community |