Commit | Line | Data |
---|---|---|
bc001a40 | 1 | puts "===========" |
2 | puts "OCC27958: Visualization - add a shading mode for AIS_Trihedron" | |
3 | puts "===========" | |
4 | puts "" | |
5 | ||
6 | pload VISUALIZATION | |
7 | vclear | |
8 | vinit View1 | |
9 | ||
10 | vtrihedron t0 | |
11 | ||
12 | vtrihedron t1 | |
13 | vselprops -selColor 1.0 0.0 0.0 | |
14 | vselmode t1 1 1 | |
15 | ||
16 | vselmode t1 2 1 | |
17 | vselmode t1 3 1 | |
18 | ||
fae1ae11 | 19 | vtrihedron t1 -dispMode shading |
bc001a40 | 20 | vtrihedron t1 -origin -200 -200 -300 |
21 | vtrihedron t1 -attribute XAxisLength|YAxisLength|ZAxisLength 80 | |
22 | vtrihedron t1 -xaxis 40 60 120 -zaxis -120 0 40 | |
23 | ||
24 | vtrihedron t1 -attribute TubeRadiusPercent 0.03 | |
25 | vtrihedron t1 -attribute ConeRadiusPercent|OriginRadiusPercent 0.05 | |
26 | vtrihedron t1 -color XAxis Quantity_NOC_RED | |
27 | vtrihedron t1 -color YAxis Quantity_NOC_GREEN | |
28 | vtrihedron t1 -color ZAxis|Origin Quantity_NOC_BLUE1 | |
29 | ||
fae1ae11 ZA |
30 | vtrihedron t1 -textColor 1.0 1.0 1.0 |
31 | vtrihedron t1 -arrowColor 0.0 0.0 1.0 | |
bc001a40 | 32 | |
33 | vtrihedron t2 -origin 0 0 -300 | |
34 | vtrihedron t2 -color Whole Quantity_NOC_PEACHPUFF | |
35 | vselmode t2 1 1 | |
36 | vselmode t2 2 1 | |
37 | vselmode t2 3 1 | |
38 | ||
fae1ae11 ZA |
39 | vtrihedron t3 -dispMode shading -origin 200 200 -300 -color Whole 1.0 0.0 0.0 |
40 | vtrihedron t3 -drawAxes XY -hideLabels on | |
41 | ||
42 | vtrihedron t4 -origin -200 -200 300 -hideArrows | |
bc001a40 | 43 | |
44 | vfit | |
45 | ||
46 | vdump $::imagedir/${::casename}.png |