[vtkusers] axes on imagedata graph

Louis Desjardins lost_bits1110 at hotmail.com
Wed Jul 27 13:08:01 EDT 2005


or maybe i can getbounds on my imagedata and then setbounds on my 
axesactor??
i think this might work..?

okay thanks!
-LD

>From: Amy Squillacote <amy.squillacote at kitware.com>
>To: "Louis Desjardins" <lost_bits1110 at hotmail.com>, vtkusers at vtk.org
>Subject: Re: [vtkusers] axes on imagedata graph
>Date: Wed, 27 Jul 2005 11:22:54 -0400
>
>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