[vtkusers] Add a menu item in VTK

Jothybasu Selvaraj jothybasu at gmail.com
Mon Feb 27 05:38:55 EST 2012


Then you better use your GUI library for more advanced interactions.

Jothy

On Mon, Feb 27, 2012 at 10:36 AM, Gishara Indeewarie <gish.777 at gmail.com>wrote:

> Thanks Jothy. But I could not find any button like behavior in
> vtkRectangularButtonSource .
> Tracking the right click is not enough here, because I want to add set of
> options for the user.
>
> On Mon, Feb 27, 2012 at 2:55 PM, Jothybasu Selvaraj <jothybasu at gmail.com>wrote:
>
>> May be vtkRectangularButtonSource could do what you need.
>>
>>
>> Jothy
>>
>>
>> On Mon, Feb 27, 2012 at 8:15 AM, Gishara Indeewarie <gish.777 at gmail.com>wrote:
>>
>>> Hi all,
>>>
>>> Could someone give me an example for adding a menu item in vtk in c++?
>>>  I want to allow the user to change the data in vtk render by pressing a
>>> button.
>>> I thought of doing this by adding right click menu in vtk.
>>> Thanks.
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> Jothy
>>
>>
>
>
> --
> Gish
>



-- 
Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120227/793747f9/attachment.htm>


More information about the vtkusers mailing list