Bug in sliceOrder?
Eric Wies
Eric.Wies at loria.fr
Wed Oct 20 10:27:38 EDT 1999
Ana Cugat wrote:
>
> I'm using the sliceOrder.tcl source that we can find in the
> ~vtk/graphics/examplesTcl/frog directory to get always the same orientation.
>
> Isnt' there a bug in the is (inferior to superior) transform?
> the transform is at follows:
>
> 1 0 0 0
> 0 0 -1 0
> 0 -1 0 0
> 0 0 0 1
>
> so it flips the image.. shouldn't it be?
>
> 1 0 0 0
> 0 0 -1 0
> 0 1 0 0
> 0 0 0 1
>
> Thanks,
>
> Ana
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
>
Hello, i've got the same problem, Matrix must be inverted before using.
Does anyone use vtkMatrix4x4 and vtkTransform::SetMatrix ?
If i invert Matrix the picture is corect, else the translation and
rotations are oposite, i don't know if i made a mistake but if i
understand the using of matrix, the coordinate are compute by
premultiply (Matrix * Point). So what's wrong ?
Thanks for answers
--
|\/\/\/|
| | ________________
| | / \
| (o)(o) | Eric WIES |
C _) \________________/
| ,___| __/
| /
/____\
/ \
------------------------------------------------------------------
| Doctorant en informatique | Moniteur en informatique |
| | |
| LORIA | Departement d'informatique |
| Campus Scientifique - BP 239 | Universite de Metz |
| 54506 VANDOEUVRE-lès-NANCY CEDEX | Ile du Saulcy BP 80794 |
| | F-57012 Metz Cedex 01 |
| Tel : 03 83 59 30 39 | |
| Fax : 03 83 27 83 19 | |
| Mail : wies at loria.fr | |
----------------------------------------------------------------
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list