0027986: Visualization - AIS_InteractiveContext::SetLocation() does not update dynami...
[occt.git] / tests / bugs / vis / bug25300_1
CommitLineData
5ad8c033 1puts "============"
2puts "CR25300"
3puts "============"
4puts ""
5
6##########################################################################################
7puts "Visualization - Build wireframe representation consistent with the shape's triangulation"
8#
9# Case 1: Test isolines on conic shape where usual algorithm builds isos beyond the
10# shape's boundaries
11##########################################################################################
12
13pload VISUALIZATION
14
15restore [locate_data_file bug25300_pencil.brep] aPencil
16
17set aSimpleIsoImg $imagedir/${casename}_iso.png
18set aIsoOnTrgImg $imagedir/${casename}_iso_on_triang.png
19
20vinit View1
21vclear
22vaxo
23vdisplay aPencil
24vviewparams -scale 9787.997 -proj -0.0115 -0.9998 0.0145
25vviewparams -up -0.0155 0.0147 0.9998 -at 0.0503 0 0
26vsetdispmode 1
27
28# shows that default isoline builder has problemas with proper
29# construction of isolines on top of the pencil
30vmoveto 200 200
31vdump $aSimpleIsoImg
32checkcolor 337 162 0 1 1
33
34vmoveto 0 0
35
36# enable isoline-on-triangulation builder
37vaspects aPencil -isoontriang on
38
39# shows that isoline-on-triangulation builder constructs isos that
40# do not extend beyond the boundaries of shape's triangulation
41vmoveto 200 200
42vdump $aIsoOnTrgImg
43checkcolor 337 162 0 0 0