[vtkusers] question

Shakes Shekhar.Chandra at sci.monash.edu.au
Wed Nov 21 20:27:19 EST 2007


Hi Enzo,

You're better off with the Qt Library:
<http://doc.trolltech.com/4.3/examples.html#opengl>
<http://doc.trolltech.com/4.3/opengl-2dpainting.html>

Or maybe even wxWidgets (But I haven't used this before). Its probably
better suited to what you're trying to do I think. Hope that helps.

Cheers
Shekhar

Mark Wyszomierski wrote:
> Why do you want to use VTK for that? Are you planning to move the
> images into 3D space or something?
>
> On Nov 21, 2007 10:59 AM, #LIU DONGQUAN# <liudongquan at pmail.ntu.edu.sg> wrote:
>   
>> Yeah, like paint or photoshop
>>
>> Cheers
>> enzo
>>
>>
>> -----Original Message-----
>> From: Mark Wyszomierski [mailto:markww at gmail.com]
>> Sent: 2007年11月21日 23:58
>> To: #LIU DONGQUAN#
>> Cc: vtkusers at vtk.org
>> Subject: Re: [vtkusers] question
>>
>> What do you mean draw a 2D picture with mouse? You mean like microsoft paint?
>>
>> Mark
>>
>> On Nov 21, 2007 10:54 AM, #LIU DONGQUAN# <liudongquan at pmail.ntu.edu.sg> wrote:
>>     
>>>
>>> Hi, all
>>>
>>> I am new to VTK. Now, I am doing a project about drawing 2D picture with
>>> mouse. I want to use VTK to render the achieved picture, but I did not find
>>> suitable GUI in VTK to capture the events of mouse, such as coordinates of
>>> points drawing by mouse or the line drawing by mouse. Who can tell me how to
>>> do that? Or what tools should I use? Better with examples. Thank you very
>>> much.
>>>
>>>
>>>
>>> Cheers
>>>
>>>
>>>
>>> enzo
>>> _______________________________________________
>>> 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
>   




More information about the vtkusers mailing list