0027958: Visualization, AIS_Trihedron - add shaded presentation option
[occt.git] / tests / bugs / vis / bug27958
CommitLineData
bc001a40 1puts "==========="
2puts "OCC27958: Visualization - add a shading mode for AIS_Trihedron"
3puts "==========="
4puts ""
5
6pload VISUALIZATION
7vclear
8vinit View1
9
10vtrihedron t0
11
12vtrihedron t1
13vselprops -selColor 1.0 0.0 0.0
14vselmode t1 1 1
15
16vselmode t1 2 1
17vselmode t1 3 1
18
19vtrihedron t1 -dispmode shading
20vtrihedron t1 -origin -200 -200 -300
21vtrihedron t1 -attribute XAxisLength|YAxisLength|ZAxisLength 80
22vtrihedron t1 -xaxis 40 60 120 -zaxis -120 0 40
23
24vtrihedron t1 -attribute TubeRadiusPercent 0.03
25vtrihedron t1 -attribute ConeRadiusPercent|OriginRadiusPercent 0.05
26vtrihedron t1 -color XAxis Quantity_NOC_RED
27vtrihedron t1 -color YAxis Quantity_NOC_GREEN
28vtrihedron t1 -color ZAxis|Origin Quantity_NOC_BLUE1
29
30vtrihedron t1 -textcolor 1.0 1.0 1.0
31vtrihedron t1 -arrowcolor 0.0 0.0 1.0
32
33vtrihedron t2 -origin 0 0 -300
34vtrihedron t2 -color Whole Quantity_NOC_PEACHPUFF
35vselmode t2 1 1
36vselmode t2 2 1
37vselmode t2 3 1
38
39vtrihedron t3 -dispmode shading -origin 200 200 -300 -color Whole 1.0 0.0 0.0
40vtrihedron t3 -drawaxes XY -hidelabels on
41
42vfit
43
44vdump $::imagedir/${::casename}.png