[vtkusers] Add a menu item in VTK

Gishara Indeewarie gish.777 at gmail.com
Mon Feb 27 05:36:57 EST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120227/e81b41be/attachment.htm>


More information about the vtkusers mailing list