MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #27986 All Revisions ] Back to Issue ]
Summary 0027986: Visualization - AIS_InteractiveContext::SetLocation() does not update dynamic highlighting
Revision 2016-10-20 12:13 by kgv
Steps To Reproduce Test case 1 - global selection:
pload MODELING VISUALIZATION
box b 1 2 3
vclear
vinit View1
vaxo
vdisplay -dispMode 0 -highMode 1 b
vfit
vzoom 0.5
vmoveto 250 250
vsetlocation b 2 1 0
set aColor1 [vreadpixel 220 200 rgb name]
set aColor2 [vreadpixel 350 220 rgb name]
if { "$aColor1" != "BLACK" || "$aColor2" != "DARKTURQUOISE" } 
{ puts "Error: dynamic highlighting is not updated" }

This case is a regression introduced in OCCT 7.0.0 (OCCT 6.9.1 works correctly).

Test case 2 - local selection:
pload MODELING VISUALIZATION
box b 1 2 3
vclear
vinit View1
vaxo
vdisplay -dispMode 0 -highMode 1 b
vfit
vzoom 0.5
vselmode b 4 1
vmoveto 250 250
vsetlocation b 2 1 0

Access violation occurs.
The highlighting issues occur also on old OCCT versions.
Revision 2016-10-20 12:12 by kgv
Steps To Reproduce Test case 1 - global selection:
pload MODELING VISUALIZATION
box b 1 2 3
vclear
vinit View1
vaxo
vdisplay -dispMode 0 -highMode 1 b
vfit
vzoom 0.5
vmoveto 250 250
vsetlocation b 2 1 0
set aColor1 [vreadpixel 220 200 rgb name]
set aColor2 [vreadpixel 350 220 rgb name]
if { "$aColor1" != "BLACK" || "$aColor2" != "DARKTURQUOISE" } 
{ puts "Error: dynamic highlighting is not updated" }

This case is a regression related to OCCT 6.9.1.

Test case 2 - local selection:
pload MODELING VISUALIZATION
box b 1 2 3
vclear
vinit View1
vaxo
vdisplay -dispMode 0 -highMode 1 b
vfit
vzoom 0.5
vselmode b 4 1
vmoveto 250 250
vsetlocation b 2 1 0

Access violation occurs.
The highlighting issues occur also on old OCCT versions.
Revision 2016-10-20 11:45 by kgv
Steps To Reproduce Test case 1 - global selection:
pload MODELING VISUALIZATION
box b 1 2 3
vclear
vinit View1
vaxo
vdisplay -dispMode 0 -highMode 1 b
vfit
vzoom 0.5
vmoveto 250 250
vsetlocation b 2 1 0
set aColor1 [vreadpixel 220 200 rgb name]
set aColor2 [vreadpixel 350 220 rgb name]
if { "$aColor1" != "BLACK" || "$aColor2" != "DARKTURQUOISE" } 
{ puts "Error: dynamic highlighting is not updated" }

this is regression related to OCCT 6.9.1.

Test case 2 - local selection:
pload MODELING VISUALIZATION
box b 1 2 3
vclear
vinit View1
vaxo
vdisplay -dispMode 0 -highMode 1 b
vfit
vzoom 0.5
vselmode b 4 1
vmoveto 250 250
vsetlocation b 2 1 0

Access violation occurs.
Revision 2016-10-20 11:34 by kgv
Steps To Reproduce
pload MODELING VISUALIZATION
box b 1 2 3
vclear
vinit View1
vaxo
vdisplay -dispMode 0 -highMode 1 b
vfit
vzoom 0.5
vmoveto 250 250
vsetlocation b 2 1 0
set aColor1 [vreadpixel 220 200 rgb name]
set aColor2 [vreadpixel 350 220 rgb name]
if { "$aColor1" != "BLACK" || "$aColor2" != "DARKTURQUOISE" } 
{ puts "Error: dynamic highlighting is not updated" }
Revision 2016-10-20 11:30 by kgv
Steps To Reproduce
pload MODELING VISUALIZATION
box b 1 2 3
vclear
vinit View1
vaxo
vdisplay -dispMode 0 -highMode 1 b
vfit
vzoom 0.5
vmoveto 250 250
vsetlocation b 2 1 0


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker