Rotate polyline on 3D Roi Tool

21 views
Skip to first unread message

MLB

unread,
Aug 3, 2017, 11:44:38 AM8/3/17
to Icy imaging
Hi,

I'm really happy to discover 3D Roi tool.

On 3D Roi (3D polyline), is it possible to rotate all the polyline ? (on one click on 3D VTK)
 
In fact I would like to adjust an orthonormal coordinate system (dedicated to the specimen I'm looking. )

Any hints ?

Thank you for your help,
Marie Laure


MLB

unread,
Aug 8, 2017, 8:32:39 AM8/8/17
to Icy imaging
This script written for 3D image should answer

http://icy.bioimageanalysis.org/script/moveAllSelectedROI

Stephane

unread,
Aug 16, 2017, 10:48:01 AM8/16/17
to Icy imaging
Hi MLB,

There is no easy way to rotate a ROI currently, 2D Polyline is a Shape internally so you can apply Affine Transform to this Shape and build a new ROI from the resulting Shape... no so straightforward though. This is even a bit more complicated for 3D Polyline where you have to use VTK transform on the 3D points from the polyline. This is just hints, not a ready to use solution..

- Stephane



Le jeudi 3 août 2017 17:44:38 UTC+2, MLB a écrit :
Reply all
Reply to author
Forward
0 new messages