View Issue Details

IDProjectCategoryView StatusLast Update
0032657CommunityOCCT:Visualizationpublic2023-08-01 15:09
Reportereryar Assigned Tovpozdyayev 
PrioritynormalSeverityfeature 
Status newResolutionopen 
PlatformWindowsOSVC++ 2015 
Product Version7.6.0 
Target VersionUnscheduled 
Summary0032657: Visualization - Select Wireframe Shape when Display in Wireframe Mode
DescriptionWhen 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.
TagsNo tags attached.
Test case number

Activities

kgv

2021-11-12 11:12

developer   ~0105140

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).

eryar

2021-11-12 13:31

developer   ~0105143

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.

Issue History

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 smoskvin Assigned To kgv => vpozdyayev
2023-08-01 15:09 dpasukhi Target Version 7.8.0 => Unscheduled