0028095: Draw Harness, ViewerTest - use RGBA format instead of BGRA within vreadpixel
[occt.git] / tests / caf / presentation / A3
CommitLineData
40093367 1#INTERFACE CAF
2# Presentation attributes
3#
4# Testing attribute: TPrsStd_AISViewer
5# Testing attribute: TPrsStd_AISPresentation
6#
7# Testing command: AISSet
8# Testing command: AISDisplay
9# Testing command: AISRepaint
10#
11
12puts "caf003-A3"
13
14# Set NamedShape attribute
15box aBox1 100 200 300
16set aLabel 0:2
17SetShape D ${aLabel} aBox1
18
19# Initialize 3D viewer
20AISInitViewer D
21
22# Open transaction
23NewCommand D
24
25# Add AISPresentation attribute with parameter NS
26AISSet D ${aLabel} NS
27
28# Close/Open transaction
29NewCommand D
30
31# Display presentation of NamedShape in the viewer
32AISDisplay D ${aLabel}
33
34# Close/Open transaction
35NewCommand D
36
37# Undo
38Undo D
39
40# Update the viewer (AISRepaint Doc)
41AISRepaint D
42
43# Redo
44Redo D
45
46# Update the viewer
47AISRepaint D
48
49puts "There is the box in the viewer"