[vtkusers] How to show/hide points in VTK with vtkContourWidget/vtkOrientedGlyphContourRepresentation?

Oleg Krivosheev oleg.krivosheev at xcision.com
Sun Jul 5 00:16:57 EDT 2015


Hi, All

I've inherited c++ app which uses VTK. App creates object of
 vtkContourWidget type and
set representation to vtkOrientedGlyphContourRepresentation, along the line

mContourWidget->SetRepresentation(new
vtkOrientedGlyphContourRepresentation());

Then data as vtkPolyData are send in and is displayed as set of points
connected by spline lines,
i.e. contour.

I know how to set line width, line pattern etc, but cannot hide points on
the curve.
Is there a good way to do this? Basically based on some user input points
on contours could
be hidden or shown.

thank you

OK

PS VTK version is 5.3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150705/940175c8/attachment.html>


More information about the vtkusers mailing list