[vtkusers] vtkPolyDataContourLineInterpolator
Karthik Krishnan
karthik.krishnan at kitware.com
Thu Feb 23 01:58:07 EST 2012
Yes. I wrote this class to interpolate points on the mesh. You may want to
take a look at its concrete subclasses
(vtkPolygonalSurfaceContourLineInterpolator) and at the test :
Widgets/Testing/Cxx/TestDijkstraGraphGeodesicPath.cxx to trace contours on
a surface mesh. It is meant to be used in conjunction with a
vtkContourWidget and is capable of giving you the new polydata (see
vtkContourRepresentation::GetContourRepresentationAsPolyData()).
You may also get the contour pointIds itself as point ids on the original
mesh on which the contour was traced. See
vtkPolygonalSurfaceContourLineInterpolator::GetContourPointIds(
vtkContourRepresentation *rep, vtkIdList *idList );
--
karthik
On Thu, Feb 23, 2012 at 3:56 AM, bberkowi <benjamin-berkowitz at uiowa.edu>wrote:
> Has anyone used this class (vtkPolyDataContourLineInterpolator)?
>
> Do you know if it can actually output points or polydata? I would ideally
> like to create a new polydata using the contour line as a boundary.
>
> Thanks!
> Ben
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/vtkPolyDataContourLineInterpolator-tp5506469p5506469.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>
--
--
karthik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120223/b6151ea1/attachment.htm>
More information about the vtkusers
mailing list