[vtkusers] vtkPlaneWidget and picking

Charl P. Botha c.p.botha at its.tudelft.nl
Wed Jul 3 08:05:51 EDT 2002


On Wed, Jul 03, 2002 at 01:37:53PM +0200, Rasmus Reinhold Paulsen wrote:
> On Wed, 3 Jul 2002, Charl P. Botha wrote:
> > Hmmm, if you mean that one can still pick the actors which make up the
> > planewidget, e.g. the spheres at the corners: it's not possible to
> > deactivate picking of these yet.
> 
> That is exactly what I mean. I am making a small surface annotation tool
> where I can place points and planes indicating anatomical features. It
> would therefore be nice to be able to see all the points and planes but
> not be able to pick them, since they are just markers.

So I was right in assuming that you still want the PlaneWidget to be
interacted with (i.e. Enabled) but the handle actors not pickable.

> The points are actors and therefore I can just set PickableOff.

Unfortunately the contained actors are protected.  Have you derived your own
vtkPlaneWidget where you SetPickableOff on the contained actors?

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/



More information about the vtkusers mailing list