[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    Re: [vtkusers] question
From:       Shakes <Shekhar.Chandra () sci ! monash ! edu ! au>
Date:       2007-11-22 1:27:19
Message-ID: 4744DAF7.5080400 () sci ! monash ! edu ! au
[Download RAW message or body]

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@pmail.ntu.edu.sg> wrote:
>   
>> Yeah, like paint or photoshop
>>
>> Cheers
>> enzo
>>
>>
>> -----Original Message-----
>> From: Mark Wyszomierski [mailto:markww@gmail.com]
>> Sent: 2007年11月21日 23:58
>> To: #LIU DONGQUAN#
>> Cc: vtkusers@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@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
>   

_______________________________________________
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic