[vtkusers] Endpoints not follow distance line when moving

kenichiro yoshimi rccm.kyoshimi at gmail.com
Sat Aug 12 00:17:31 EDT 2017

Hi min,

Could you substitute vtkLineWidget2 + vtkLineRepresentation for
vtkDistanceWidget, etc.? I am not familiar with them, but as far as I
tried the
following example the endpoints of vtkLineRepresentation seemed to
follow the line properly. (Notice that there are options for distance
annotation in the vtkLineRepresentation)


2017-08-09 10:44 GMT+09:00 minyang <yangmin_hust at 126.com>:
> Hi VTK User,
> My VTK version is 7.1. I use /vtkDistanceWidget +
> vtkDistanceRepresentation2D + vtkPointHandleRepresentation2D/ to do
> measurement. *After adjust endpoints*, then move distance line by move mouse
> with holding left mouse button, the endpoints *not follow the line*, as
> below snapshot. When release the left mouse button, endpoints catch up with
> the line.
> <http://vtk.1045678.n5.nabble.com/file/n5744325/measurement_point_moving.png>
> Any one know how to make the endpoints follow with distance line when
> moving?
> Best Wishes,
> min
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Endpoints-not-follow-distance-line-when-moving-tp5744325.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
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

More information about the vtkusers mailing list