[vtkusers] How to create resliceAxes from two points in a curve?

richard anderson richardander at yahoo.com
Tue Mar 12 15:22:20 EDT 2019

I would like to use vtkImageReslice to get the cross section of a curve at a
point P0. 

To compute the reslixeAxes, I would like to use P0 and its neighboring point
P1 to decisde the direction. 

As you know, resliceAxes is a vtkMatrix4x4. I think it should be somehting

A, B, C, P0.x
D, E, F,  P0.y
G, H, I,  P0.z
0,  0, 0,   1

Can anyone let me know how to compute the value of {A, B, ... I}  based on
P0 and P1? 

Thank you!

Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html

More information about the vtkusers mailing list