[vtkusers] placing vtkButtonWidget
Bill Lorensen
bill.lorensen at gmail.com
Wed Jan 16 15:55:25 EST 2013
If you change the window size, you would need to catch that event and
recompute the coordinates. Very doable.
Bill
On Wed, Jan 16, 2013 at 2:06 PM, José M. Rodriguez Bacallao
<jmrbcu at gmail.com> wrote:
> Hi bill, glad that you post that example, but I got a question, what if I
> redimension the render window, the widget position is not valid anymore, how
> to solve this?
>
>
> On Wed, Jan 16, 2013 at 12:45 PM, Yumin Yuan <yumin.yuan at kitware.com> wrote:
>>
>> Bill, hats off to you for adding this new example!
>>
>> On Wed, Jan 16, 2013 at 12:19 PM, Bill Lorensen <bill.lorensen at gmail.com>
>> wrote:
>> > This example may help:
>> > http://vtk.org/Wiki/VTK/Examples/Cxx/Widgets/TexturedButtonWidget
>> >
>> >
>> > On Wed, Jan 16, 2013 at 7:19 AM, José M. Rodriguez Bacallao
>> > <jmrbcu at gmail.com> wrote:
>> >> anyone please?
>> >>
>> >> On 1/15/13, José M. Rodriguez Bacallao <jmrbcu at gmail.com> wrote:
>> >>> hi folks, I am trying to use an instance of vtkButtonWidget to select
>> >>> images of interest, I am using vtkTexturedButtonRepresentation2D
>> >>> representation and I need to place the widget in the top right corner
>> >>> of
>> >>> the render window, how do I do that?
>> >>>
>> >> _______________________________________________
>> >> Powered by www.kitware.com
>> >>
>> >> Visit other Kitware open-source projects at
>> >> http://www.kitware.com/opensource/opensource.html
>> >>
>> >> Please keep messages on-topic and check the VTK FAQ at:
>> >> http://www.vtk.org/Wiki/VTK_FAQ
>> >>
>> >> Follow this link to subscribe/unsubscribe:
>> >> http://www.vtk.org/mailman/listinfo/vtkusers
>> >
>> >
>> >
>> > --
>> > Unpaid intern in BillsBasement at noware dot com
>> > _______________________________________________
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Please keep messages on-topic and check the VTK FAQ at:
>> > http://www.vtk.org/Wiki/VTK_FAQ
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
Unpaid intern in BillsBasement at noware dot com
More information about the vtkusers
mailing list