[vtkusers] question

Mark Wyszomierski markww at gmail.com
Sat Nov 24 12:31:19 EST 2007


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 at 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 at 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 at 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 at 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 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
> > > >
> > > >
> > >
> >
>


More information about the vtkusers mailing list