[vtkusers] outlines around your vtkPlaneWidget
i_matis at yahoo.de
Sat Aug 5 08:51:32 EDT 2006
the outlines are actually the black borders of the IPWs. Some of the
interior of the IPW textures are transparent, this is why the borders can be
You can also use vtkOutlineFilter (I did some time ago).
For picking I modified the source of vtkImagePlaneWidget eg: made the Picker
Then I added an observer to the IPW's InteractionEvent, then you can use
(vtkObject *caller, unsigned long eventID, void *callerData)
vtkImagePlaneWidgetR *ipw = dynamic_cast<vtkImagePlaneWidgetR *>(caller);
if (ipw == NULL)
vtkCellPicker * picker = ipw->GetPicker();
From: Rashed Karim [mailto:rashed.karim at gmail.com]
Sent: Saturday, August 05, 2006 3:35 PM
To: Istvan Matis
Subject: Re: [vtkusers] How to put vtkImagePlaneWidget behind actors ?
Hi Matis ..
Sorry I dont an answer to your question, but I have noticed you have
outlines around your vtkPlaneWidget. May I ask you how you went about doing
this? If you used vtkOutlineFIlter, what did you use in its input?
Also, are you able to pick points on your vtkImagePlaneWidget?? If you can,
how do you do this?
On 8/5/06, Istvan Matis <i_matis at yahoo.de> wrote:
is there ANY way to put a vtkImagePlaneWidget BEHIND other
(half-transparent) actors ?
For example not to be always on top of other objects?
See image attached for an example of a "bad" IPW on top of head actor.
Maybe for 3DWidgets in general?
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers