[vtkusers] how can i add my program output to a GUI?
Gerrick Bivins
gbivins at objectreservoir.com
Tue Aug 26 12:31:05 EDT 2008
I¹m using vtkCanvas. With that interface you can set any vtkInteractorStyle
you need:
vtkInteractorStyleTrackballCamera trackball = new
vtkInteractorStyleTrackballCamera();//<can be any interactor style you
choose
vtkCanvas mycanvas = new vtkCanvas();
mycanvas.setInteractorStyle(trackball);
Gerrick
On 8/26/08 11:24 AM, "Gökhan ERSOY" <goksoy66 at gmail.com> wrote:
> hello,
>
> I've made GUI and could add my program output on it. But now i don't have
> enough capabilities of interaction on objects in output. I mean that it
> doesn't give me the capabilities of vtkRenderWindowInteractor. for example
> "zooming in/out". can i add vtkRenderWindowInteractor to vtkCanvas or
> vtkPanel?
>
> Thanks...
>
> Gokhan
>
> 2008/8/26 Gökhan ERSOY <goksoy66 at gmail.com>
>> thank you very much. ;)
>>
>> 2008/8/26 Gerrick Bivins <gbivins at objectreservoir.com>
>>
>>> Also KWWidgets...I haven't used it because we are developing in Java but
>>> it's provided by Kitware.
>>> http://www.kwwidgets.org/Wiki/KWWidgets
>>> biv
>>>
>>>
>>> On 8/26/08 9:42 AM, "Lars Hegenbart" <lars.hegenbart at hs.fzk.de> wrote:
>>>
>>>> Arnaldo,
>>>> Did you try the Qt (Trolltech) GUI toolkit? There is a Widget for VTK.
>>>> There are some examples in the VTK-package.
>>>> Lars
>>>>
>>>>
>>>> Am 26.08.08 16:38 schrieb "Arnaldo Luis Lixandrão Filho" unter
>>>> <arnaldo.fisica at gmail.com>:
>>>>
>>>>> How to implement this on c++?
>>>>>
>>>>> Thanks
>>>>>
>>>>> On Tue, Aug 26, 2008 at 11:34 AM, Gerrick Bivins
>>>>> <gbivins at objectreservoir.com> wrote:
>>>>>> Take a look at the classes in the VTK/Wrapping/Java directory.
>>>>>> TestVTKCanvas.java
>>>>>> SimpleVTK.java
>>>>>>
>>>>>> These should get you started.
>>>>>>
>>>>>> Gerrick
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 8/26/08 9:28 AM, "Gökhan ERSOY" <goksoy66 at gmail.com> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I want to make a GUI to provide some user interactions with my program.
>>>>>>> I made some GUI using AWT and Swing both. Now i want to add my program's
>>>>>>> output to GUI. How can i do this?
>>>>>>>
>>>>>>> I've attached 2 pics, program output and GUI. you can look and tell me
>>>>>>> the solution. :)
>>>>>>>
>>>>>>> Thanks...
>>>>>>>
>>>>>>> Gokhan
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -------------------------------------------
>>>>>>> Dipl.-Ing. (FH) Lars Hegenbart
>>>>>>>
>>>>>>> Forschungszentrum Karlsruhe GmbH
>>>>>>> in der Helmholtz-Gemeinschaft
>>>>>>> Abteilung HS/KES
>>>>>>> Hermann-von-Helmholtz-Platz 1
>>>>>>> 76344 Eggenstein-Leopoldshafen
>>>>>>> Germany
>>>>>>>
>>>>>>> Tel. +49-7247-82-3419
>>>>>>> lars.hegenbart at kit.edu
>>>>>>> http://www.hs-kes.de
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080826/8c70f653/attachment.htm>
More information about the vtkusers
mailing list