<html><head></head><body><div class="ydpa416288cyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:10px;"><div></div>
        <div>Thank you very much for the help! </div><div><br></div><div>After reslice, the output is an 2D image, is there anyway to know the coordinate of point  P0 in the 2D image? </div><div><br></div><div>or is there any way to make P0 at the center of output 2D image?</div><div><br></div><div>Thanks again!</div><div><br></div><div><br></div>
        
        </div><div id="ydp96bd955eyahoo_quoted_3575336196" class="ydp96bd955eyahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Thursday, March 14, 2019, 12:29:04 AM PDT, Xing Li <lihouxing0710@gmail.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="ydp96bd955eyiv9687153397"><div><div dir="ltr">You can use <span style="color:rgb(128,0,128);">vtkMath</span>::<span style="color:rgb(0,103,124);">Perpendiculars</span>(A,B,C,0) to generate the other two directions, where A is p0-p1 or p1-p0</div><br clear="none"><div class="ydp96bd955eyiv9687153397gmail_quote"><div class="ydp96bd955eyiv9687153397gmail_attr" dir="ltr">richard anderson via vtkusers <<a shape="rect" href="mailto:vtkusers@vtk.org" rel="nofollow" target="_blank">vtkusers@vtk.org</a>> 于2019年3月13日周三 上午3:28写道:<br clear="none"></div><div class="ydp96bd955eyiv9687153397yqt1637267369" id="ydp96bd955eyiv9687153397yqt16774"><blockquote class="ydp96bd955eyiv9687153397gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;">I would like to use vtkImageReslice to get the cross section of a curve at a<br clear="none">
point P0. <br clear="none">
<br clear="none">
To compute the reslixeAxes, I would like to use P0 and its neighboring point<br clear="none">
P1 to decisde the direction. <br clear="none">
<br clear="none">
As you know, resliceAxes is a vtkMatrix4x4. I think it should be somehting<br clear="none">
as:<br clear="none">
<br clear="none">
A, B, C, P0.x<br clear="none">
D, E, F,  P0.y<br clear="none">
G, H, I,  P0.z<br clear="none">
0,  0, 0,   1<br clear="none">
<br clear="none">
Can anyone let me know how to compute the value of {A, B, ... I}  based on<br clear="none">
P0 and P1? <br clear="none">
<br clear="none">
Thank you!<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
--<br clear="none">
Sent from: <a shape="rect" href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" rel="nofollow" target="_blank">http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html</a><br clear="none">
_______________________________________________<br clear="none">
Powered by <a shape="rect" href="http://www.kitware.com" rel="nofollow" target="_blank">www.kitware.com</a><br clear="none">
<br clear="none">
Visit other Kitware open-source projects at <a shape="rect" href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br clear="none">
<br clear="none">
Please keep messages on-topic and check the VTK FAQ at: <a shape="rect" href="http://www.vtk.org/Wiki/VTK_FAQ" rel="nofollow" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br clear="none">
<br clear="none">
Search the list archives at: <a shape="rect" href="http://markmail.org/search/?q=vtkusers" rel="nofollow" target="_blank">http://markmail.org/search/?q=vtkusers</a><br clear="none">
<br clear="none">
Follow this link to subscribe/unsubscribe:<br clear="none">
<a shape="rect" href="https://vtk.org/mailman/listinfo/vtkusers" rel="nofollow" target="_blank">https://vtk.org/mailman/listinfo/vtkusers</a><br clear="none">
</blockquote></div></div></div></div></div>
            </div>
        </div></body></html>