DiscussionsIssue archiveOCCT:Visualization

Archived issue #0027527

Visualization - can't highlight polyline presentation of Wire after setting transparency

CommunityOCCT:Visualizationclosed5 public notes

Search issues

Description

It's can be reproduced with AIS_Shape which has wireframe presentation. User has to set the transparency and then select the object by AIS_InteractiveContext::MoveTo command. Though the object is selected under mouse, it won't be highlighted.

Steps to reproduce

pload MODELING VISUALIZATION
box b 1 2 3
explode b W
vclear
vinit View1
vdisplay -dispmode 1 b_1
vfit
vsettransparency b_1 0.8
vmoveto 118 102
# OK on current master - dynamic highlighting works
vselect 118 102
# KO on current master - selected object is not highlighted


1. Make AIS_InteractiveContext and SetDisplayMode(AIS_Shaded);
2. Create a wire and make AIS_Shape for it.
3. Display the wire AIS_Shape object.
4. Set wire transparency = 0.8
5. Select by MoveTo command.

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


Detailed log of new commits:

Author: isk
Date: Thu Jul 7 10:32:37 2016 +0300

    0027527: Visualization - can't highlight polyline presentation of Wire after setting transparency.
    Add a new parameter theDispMode in the SelectMgr_EntityOwner::HilightWithColor().
    Add a new parameter thePriority in the PrsMgr_Presentation::Highlight(). This parameter is priority of presentation in display mode.
    Add a new parameter thePriority in the Graphic3d_Structure::Highlight().
02Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
03Commenter 3
Add a test case.
04Commenter 2
Branch [archived branch] has been deleted by Commenter 3.

[revision removed]
05Commenter 3
Dear Commenter 1,

please switch bug into VERIFIED state - it has been fixed by patch for #0027925.
Test case is not needed.

Related records