[vtkusers] Intersection among vtkImagePlaneWidgets

Dean Inglis inglis.dl at gmail.com
Wed Apr 17 08:46:47 EDT 2013


Hi Marco,

vtkImagePlaneWidget has methods to get the x,y,z coordinates of the plane's
origin and end points of the plane's edges that intersect
at the origin: GetOrigin(), GetPoint1(), GetPoint2()

using that information, and doing the math, as discussed for example here
(or any other myriad search on
"3 planes intersection math" results):

http://www.vitutor.com/geometry/space/three_planes.html

you should be able to figure out an algorithm to compute a solution.

regards
Dean



On Tue, Apr 16, 2013 at 4:32 PM, Marco Sambin <m.sambin at gmail.com> wrote:

> Hi all.
> In my VTK-based application, I have three intersecting (initially
> perpendicular) vtkImagePlaneWidgets. Is there an easy way to compute the
> intersection point between these three planes in VTK?
> Searching the archives, I found that similar questions were asked in the
> past, but I was unable to find a clean and satisfactory answer.
>
> I can compute the intersection point by myself if necessary, but if VTK
> offers a simpler alternative, then I will go for it!
>
> Thanks in advance for your comments.
> Best regards,
>
> Marco
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130417/3a6e4f8b/attachment.htm>


More information about the vtkusers mailing list