View Full Version : a question about using obliqueslice
liuyijin
30th April 2010, 18:06
Hi,
I have one question about saving obliqueslices in Avizo.
Using the obliqueslice, we can view slices in different orientations (using the 'rotate' option).
This is pretty cool.
Is it possible to save the set of obliqueslices with different translate value into a set of image files in a batch way?
Thanks!
Yijin
forum_admin
3rd May 2010, 21:18
Try the combination of following commands,
1. ObliqueSlice setPlane <origin uVec vVec>
Adjust position and orientation of the plane. The command expects 9 numbers in the same format as returned by the getPlane command.
2. ObliqueSlice fire
3. ObliqueSlice createImage
Let us know how it works out for you.
Best,
-Shawn
forum_admin
3rd May 2010, 21:19
Alternative to command #1 above is,
ObliqueSlice rotate <orientationVector Angle>
e.g.,
ObliqueSlice rotate 0 0 1 60
liuyijin
13th May 2010, 17:31
Hi Shawn,
Thanks for the reply.
Your method worked for generating one slice.
My further question is that if it is possible to make some code like a "for" loop to generate all the slices?
Thank you!
Yijin
forum_admin
19th May 2010, 20:19
Hi Yijin,
Absolutely. Avizo uses TCL for its scripting interface, which is a full-featured programming language supporting loops and conditional branches.
Check out http://www.tcl.tk/.
Best,
-Shawn
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.