[vtkusers] Problem with cursoring in vtkImagePlaneWidget + enum news to me

Peter Kok peter.kok at gmail.com
Sat Sep 16 17:19:01 EDT 2006


Hello Dean,

this->ImageData is set in vtkIPW's SetInput method, but is only a loose
>
pointer
>
to the data: so perhaps if you call SetInput(checkers->GetOutput()

) before
> interacting with the widget?  Does this behaviour occur with any other
> pipelines
> you have created?
>


Calling SetInput(..) after the checkerboard has changed doesn't have any
effect aside from the fact that the slices are moved to index 0.

This is the first project in which I use the vtkImagePlaneWidget directly. I
have not seen the problem before. Also, if I create a small project with a
similar pipeline, the problem does not occur. Maybe the fact that my project
is an ActiveX component that is used as a control in another window has got
something to do with it.

But I find it strange that a left-click event does appear to arrive at the
image plane (the edge turns green as it would normally do), but the image
plane somehow seems to think that the mouse is not over the plane. And this
only happens for the left mouse button; the middle and right mouse button
work without problems.

-Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060916/b4065321/attachment.htm>


More information about the vtkusers mailing list