[vtkusers] vtkPlaneSource and normal

Luca Antiga lucantiga at hotmail.com
Fri Jun 7 08:22:16 EDT 2002

If you define vtkPlaneSource with three points a, b, c, you can get the 
normal by vtkMath::Cross(b-a,c-a,n) and then vtkMath::Normalize(n).


>From: Frederic Huguet <fxh39668 at gsk.com>
>To: vtkusers at public.kitware.com
>Subject: [vtkusers] vtkPlaneSource and normal
>Date: Fri, 07 Jun 2002 13:32:56 +0200
>I use a vtkPlaneSource and MFC to create a cutting plane on a 3D object.
>But I need to get the normal of this plane in real time. There is no
>function GetNormal, so How could I compute the normal vector to the
>plane ? I thought vtkPlaneWidget was useful but I can't integrate it to
>my MFC Interface. Is there any way to find the normal ?
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
>Follow this link to subscribe/unsubscribe:

Join the world’s largest e-mail service with MSN Hotmail. 

More information about the vtkusers mailing list