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

List:       vtkusers
Subject:    Re: [vtkusers] question
From:       "Mark Wyszomierski" <markww () gmail ! com>
Date:       2007-11-24 17:31:19
Message-ID: dfdfe01e0711240931n43514df0pced6b7fcc6e9e10 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (text/plain)]

Hi Liudq,

From my personal experience, I don't think there's anything like what
you're describing pre-built in VTK:

The drawing is quite similar to Microsoft paint or photoshop. So I
need some powerful GUI to implement functions like stroke style,
color, etc

You'd probably have to do most of that yourself. If you just want to
display the drawn image in 3D, why don't you  let them draw it in a 2D
device context, then take the result and just texture map it to a quad
in VTK?

Mark


On Nov 24, 2007 1:45 AM, #LIU DONGQUAN# <liudongquan@pmail.ntu.edu.sg> wrote:
> Hi, Mark
> I am trying to draw a 2D picture with mouse and render it with VTK. I need to get \
> the coordinates of the track drawn by mouse and transfer the data to VTK to render \
> the picture. By now, I only want to draw 2D picture, in the future I want to draw \
> 3D picture, that's why I want to use VTK. The drawing is quite similar to Microsoft \
> paint or photoshop. So I need some powerful GUI to implement functions like stroke \
> style, color, etc. Could you experts give me some suggestion? 
> Regards
> 
> Liudq
> 
> -----Original Message-----
> From: Mark Wyszomierski [mailto:markww@gmail.com]
> 
> Sent: 2007Äê11Ô 22ÈÕ 23:55
> To: #LIU DONGQUAN#
> Cc: VTK Users
> Subject: Re: [vtkusers] question
> 
> If you give a description of what you're trying to do (especially with
> the moving things into 3d part), we could probably make a better
> recommendation. It's hard to give any (good) advice otherwise,
> 
> Mark
> 
> On Nov 22, 2007 12:05 AM, #LIU DONGQUAN# <liudongquan@pmail.ntu.edu.sg> wrote:
> > Yeah, I am planning to extend out application to 3D in the future. do you know \
> > what kind of GUI should I use? Thanks 
> > enzo
> > 
> > -----Original Message-----
> > From: Mark Wyszomierski [mailto:markww@gmail.com]
> > 
> > Sent: 2007Äê11Ô 22ÈÕ 0:02
> > To: #LIU DONGQUAN#
> > Cc: VTK Users
> > Subject: Re: [vtkusers] question
> > 
> > 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


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

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