[vtkusers] MFC application, vtk libary static

Ted Christiansen ted at caept.com
Mon Nov 5 13:09:05 EST 2001


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




More information about the vtkusers mailing list