[vtkusers] axes on imagedata graph

Amy Squillacote amy.squillacote at kitware.com
Wed Jul 27 11:22:54 EDT 2005


Hi Louis,

Did you try the SetInput method of vtkCubeAxesActor2D?  If you pass 
your vtkImageData as the parameter for that method, then the 
vtkCubeAxesActor2D will use the bounding box of this data set to draw the axes.

- Amy

At 11:07 AM 7/27/2005, Louis Desjardins wrote:
>Hello experts,
>
>So I have created a spectrogram using the vtkImageData dataset.  I 
>then use vtkCubeAxesActor2D to create an axes over the imagedata. I 
>have positioned the axes through trial and error so that the x-axis 
>corresponds to the y=0 location on my imagedata..
>
>However there must be a better way to do this?
>
>Thank you!
>LD
>
>
>_______________________________________________
>This is the private VTK discussion list. Please keep messages 
>on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list