[vtkusers] indexes on a surface

Hila Hiler hilahiler at gmail.com
Thu May 17 15:38:07 EDT 2012


Hi David
thank you for the reply.

I'm sorry but I've misunderstood your answer.
Is the problem with the surface which includes outliers?
My surface is clearly structured in a specific location (at least no
outlier is presented)
so why the extracted points aren't on the surface?

how it's possible to check where an index is located on a surface? (is it
posible to insert my surface and an index and the point will be presented
correspondingly?)


Best Regards,
Hila

On Thu, May 17, 2012 at 2:52 PM, David Doria <daviddoria at gmail.com> wrote:

> On Thu, May 17, 2012 at 1:57 AM, Hila Hiler <hilahiler at gmail.com> wrote:
> > Hi all,
> >
> > I encountered with an unreasonable problem.
> > I inserted my surface (it's the head's skin like present in my profile)
> and
> > walk with a vtkIdType index on its points.
> > my expectation is that just the points which on this surface will be
> > visited, but the strange part is that other points were visited too.
> >
> > this is my code:
> >
> >  vtkIdType  numPointsOnSurface = mySurface->GetNumberOfPoints();
> >
> > for( vtkIdType idx= 1; idx < numPointsOnSurface; idx++)
> >   {
> >       mySurface->GetPoint(idx,physical_point_on_surface);
> >
> > ...
> >
> > so I checked and saw that physical_point_on_surface isn't on the surface
> in
> > some cases.
> >
> > What have I missed?
> >
> > Best Regards,
> > Hila
>
> There is nothing preventing a data set from containing a surface as
> well as points that are not on the surface. You must have a problem
> with your data set collection/construction.
>
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120517/a3931357/attachment.htm>


More information about the vtkusers mailing list