[vtkusers] vtkDistanceWidget - changing the bound shape

Carlos Martinez carlinhosmp87 at gmail.com
Sat Sep 27 04:14:41 EDT 2014


Hello Sid,

Yes it is possible, as you can see in the documentation:

http://www.vtk.org/doc/nightly/html/classvtkDistanceRepresentation.html#details

you can create a vtkDistanceRepresentation and use this method:

*SetHandleRepresentation(vtkHandleRepresentation). *

Then u can pass a *vtkSphereHandleRepresentation *to this method, because
this class inherits from *vtkHandleRepresentation* and use spheres as the
handles of the widget!

Regards!

2014-09-27 0:35 GMT+02:00 Sid Murthy <sid.murthy at gmail.com>:

> I was wondering if the cross shape at the endpoints can be changed (or
> removed)? I don't see anything in the docs that let me do this. Or maybe
> just reduce the size?
>
> thanks,
> Sid
>
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140927/26e502d5/attachment.html>


More information about the vtkusers mailing list