[vtkusers] How to generate a plane from three arbitrary points

Xiaopeng Yang yxp233 at postech.ac.kr
Fri Jul 8 12:45:55 EDT 2011


So do you mean I need to generate a triangle from the three points first?
May I ask how to generate it?

-----Original Message-----
From: David Gobbi [mailto:david.gobbi at gmail.com] 
Sent: Saturday, July 09, 2011 1:35 AM
To: Xiaopeng Yang
Cc: vtk
Subject: Re: [vtkusers] How to generate a plane from three arbitrary points

Hi Xiaopeng,

Use vtkTriangle::ComputeNormal() to compute the plane normal.
Then use the first point as the Origin of the plane.

 - David


On Fri, Jul 8, 2011 at 10:29 AM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:
> Hi,
>
>
>
> Is there any class or method to generate a vtk plane from three arbitrary
> points?
>
>
>
> Thanks,
>
> Xiaopeng










More information about the vtkusers mailing list