[vtkusers] strange problem while creating a binary mask

dean.inglis at camris.ca dean.inglis at camris.ca
Tue Oct 31 07:49:30 EST 2006


Anja

it is standard in most graphics algorithms
and allows one to determine, among other things,
whether a point is inside or outside a polygon,
what is to the "left" and what is the "right" 
of line segments etc.

Dean

> 
> Date: 2006/10/31 Tue AM 02:33:20 GMT-05:00
> To: "Dean's business account" > CC: vtkusers at vtk.org
> Subject: Re: [vtkusers] strange problem while creating a binary mask
> 
> Ok, I have clearly missed this part!!!
> 
> So, the points have to be ordered in a counter clockwise fashion??? Why is
> that???
> 
> Cheers,
> Anja
> 
> On 30/10/06, Dean Inglis <dean.inglis at sympatico.ca> wrote:
> >
> > Hi Anja,
> >
> > is your polydata always defined such
> > that the points forming a closed loop are
> > ordered counter-clockwise or equivalently,
> > always clockwise and the vtkImageStencil set
> > accordingly?
> >
> > Dean
> >
> >
> >
> 
> 
> -- 
> Cheers,
> 
> Anja
> 
> 




More information about the vtkusers mailing list