View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0032657 | Community | OCCT:Visualization | public | 2021-11-12 05:09 | 2023-08-01 15:09 |
Reporter | eryar | Assigned To | |||
Priority | normal | Severity | feature | ||
Status | new | Resolution | open | ||
Platform | Windows | OS | VC++ 2015 | ||
Product Version | 7.6.0 | ||||
Target Version | Unscheduled | ||||
Summary | 0032657: Visualization - Select Wireframe Shape when Display in Wireframe Mode | ||||
Description | When switch Shading (S + Ctrl) to Wireframe (W + Ctrl) display mode, the sensitive entity is remain the Triangulation not wire or curve, thus the shape behind cannot be selected directly. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
It doesn't matter which display mode is used for AIS_Shape - Wireframe or Shaded. In both cases selection is computed in the same way based on triangulation - this is by design (e.g. not a bug). If it doesn't work for you - consider sub-classing AIS_Shape (by overriding ::ComputeSelection()) or contributing to OCCT, and implementing it in a different way - like exploding shape into wires and building selection from it (this wouldn't handle Isolines though, since they are not part of shape definition). |
|
Hello Kirill, Yes, this is not a bug. The selection mode has no relation with display mode, it is set by AIS_InteractiveContext::Activate(). When display shapes in Wireframe mode, selection will be more intuitive and efficiency that the Wireframe shape can be selected, because less overlap. I will try it and contribute when it works. Thanks. |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-11-12 05:09 | eryar | New Issue | |
2021-11-12 05:09 | eryar | Assigned To | => kgv |
2021-11-12 11:03 | kgv | Target Version | 7.6.0 => 7.7.0 |
2021-11-12 11:03 | kgv | Summary | Select Wireframe Shape when Display in Wireframe Mode => Visualization - Select Wireframe Shape when Display in Wireframe Mode |
2021-11-12 11:12 | kgv | Note Added: 0105140 | |
2021-11-12 11:12 | kgv | Severity | minor => feature |
2021-11-12 13:31 | eryar | Note Added: 0105143 | |
2022-08-17 11:55 | kgv | Target Version | 7.7.0 => 7.8.0 |
2022-10-19 15:50 |
|
Assigned To | kgv => vpozdyayev |
2023-08-01 15:09 | dpasukhi | Target Version | 7.8.0 => Unscheduled |