0032208: Tests - refactor visualization tests to cover several graphic drivers
[occt.git] / tests / v3d / trihedron / bug27958
CommitLineData
bc001a40 1puts "==========="
2puts "OCC27958: Visualization - add a shading mode for AIS_Trihedron"
3puts "==========="
4puts ""
5
6pload VISUALIZATION
7vclear
8vinit View1
9
0aeb8984 10vzbufftrihedron -colorLabelX RED -colorLabelY GREEN -colorLabelZ BLUE
11
bc001a40 12vtrihedron t0
13
14vtrihedron t1
15vselprops -selColor 1.0 0.0 0.0
16vselmode t1 1 1
17
18vselmode t1 2 1
19vselmode t1 3 1
20
fae1ae11 21vtrihedron t1 -dispMode shading
bc001a40 22vtrihedron t1 -origin -200 -200 -300
23vtrihedron t1 -attribute XAxisLength|YAxisLength|ZAxisLength 80
24vtrihedron t1 -xaxis 40 60 120 -zaxis -120 0 40
25
26vtrihedron t1 -attribute TubeRadiusPercent 0.03
27vtrihedron t1 -attribute ConeRadiusPercent|OriginRadiusPercent 0.05
0aeb8984 28vtrihedron t1 -color XAxis|XArrow RED -textColor XAxis RED
29vtrihedron t1 -color YAxis|YArrow GREEN -textColor YAxis GREEN
30vtrihedron t1 -color ZAxis|ZArrow|Origin BLUE -textColor ZAxis BLUE
bc001a40 31
32vtrihedron t2 -origin 0 0 -300
0aeb8984 33vtrihedron t2 -color Whole PEACHPUFF
bc001a40 34vselmode t2 1 1
35vselmode t2 2 1
36vselmode t2 3 1
37
fae1ae11
ZA
38vtrihedron t3 -dispMode shading -origin 200 200 -300 -color Whole 1.0 0.0 0.0
39vtrihedron t3 -drawAxes XY -hideLabels on
40
0aeb8984 41vtrihedron t4 -origin -200 -200 300 -hideArrows
bc001a40 42
43vfit
44
45vdump $::imagedir/${::casename}.png