[vtkusers] vtkImageItem expected behavior?
Eric E. Monson
emonson at cs.duke.edu
Thu Apr 1 11:59:36 EDT 2010
Hey all,
I need to superimpose a couple images over an XY plot using the new Charts, so I was trying out the vtkImageItem. I guess I expected the "item" to contain the image and control the size, but it seems be a rectangle that acts as an anchor for the lower-left corner of the image. Is this what the vtkImageItem is intended to be? (When the documentation says "Set the dimensions of the item" in SetDimensions(), it sounds more like this would set the image dimensions, not the dimensions of an anchor point.)
The color of the image item rectangle changes when I hover over it (pink), but it changes to a different color (bright green) when I hover over any points on the ChartXY... Is it supposed to be reacting to this other (seemingly unrelated) hover event?
Oh, and there's a three-line squiggle that gets drawn under the item's rectangle. I'm assuming that's just a bug. (see attached image – I'm trying this on today's CVS VTK with OS X 10.6.2 x86_64 Cocoa build.)
Could someone clarify for me whether this seems to be behaving as intended? It's not a criticism, I think I'm just not imagining correctly what this was meant to do.
Thanks a lot,
-Eric
------------------------------------------------------
Eric E Monson
Duke Visualization Technology Group
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ImageItemOnChartXYtest.png
Type: image/png
Size: 9243 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100401/28f2a324/attachment.png>
More information about the vtkusers
mailing list