SMIL
1.1.1
Loading...
Searching...
No Matches
example-3D-image-rotate.py
1
2
import
smilPython
as
sp
3
4
imIn = sp.Image(10, 10, 10)
5
imOut = sp.Image(im)
6
imTmp = sp.Image(im)
7
8
# rotation 90 degres around Y axis
9
# 1. exchange axes y and z
10
sp.matTranspose(imIn,
"xzy"
, imTmp)
11
# 2. rotate image around new z axis
12
sp.rotateX90(imTmp, 1, imTmp)
13
# 3. put axis y back
14
sp.matTranspose(imTmp,
"xzy"
, imOut)
15
Generated on Tue Sep 17 2024 21:52:03 for SMIL by
1.9.8