[vtkusers] MFC application, vtk libary static

Ted Christiansen ted at caept.com
Mon Nov 5 15:05:17 EST 2001


Lydia,

Sorry.  I am new to vtk and haven't use the image functionality (yet).  All I
can suggest is to keep trying with your questions and the code.  VTK is
undoubtedly powerful, but also complex.  It doesn't help that there isn't much
documentation.  I bought both books published by the authors of the software
and consider them to be borderline useless for people who want to use the
software.  The books don't contain enough complete examples that show how the
objects work together.  I even thought about writing a book of my own to fill
the void.  I have a lot to learn about VTK before I could do something like
that, and am not sure if I have the time, interest, etc. for such an
undertaking.

Ted


Lydia Yahia-Cherif wrote:

> Dear Ted,
> I' have a problem with interaction and none could answer me.
> I 'm using MFC with vtk . I want to display an vtkimagedata using
> vtkimageviwer and to interact with the viewer using the mouse.
> Could you help me please if you have any information??
> ----- Original Message -----
> From: "Ted Christiansen" <ted at caept.com>
> To: <vtkusers at public.kitware.com>
> Sent: Monday, November 05, 2001 7:09 PM
> Subject: [vtkusers] MFC application, vtk libary static
>
> > Hello,
> >
> > I am developing an application using that needs to be lightweight.  I
> > have coded the initial functionality in two versions to compare the size
> > of the application.  One with OpenGL calls only and the other using VTK
> > Both versions are dynamically linked to MFC.  The OpenGL version is 200
> > KB, while the VTK version is 1 MB (release builds).  I am using only the
> > basic functionality of:
> >
> > vtkPoints;
> > vtkUnstructuredGrid;
> > vtkDataSetMapper;
> > vtkActor;
> > vtkScalars;
> > vtkLookupTable;
> > class vtkScalarBarActor;
> > class vtkActor2D;
> > class vtkTextMapper;
> >
> > Is there any way to lighten up the vtk version?  The problem with the
> > straight OpenGL approach is that the functionality of vtkStripper would
> > be missing, lighting is harder, the interactor would have to be coded,
> > etc.
> >
> > Ted
> >
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at:
> > <http://public.kitware.com/cgi-bin/vtkfaq>
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/vtkusers





More information about the vtkusers mailing list