[vtk-developers] Removing include files

Miller, James V (Research) millerjv at crd.ge.com
Tue Nov 26 15:19:29 EST 2002


I understand it in general.  But if my program is not explictly creating or calling a method on an
ImageData, why should I have to include the header?
 
 

-----Original Message-----
From: Will Schroeder [mailto:will.schroeder at kitware.com]
Sent: Tuesday, November 26, 2002 3:13 PM
To: Miller, James V (Research); Vtk Developers (E-mail)
Subject: Re: [vtk-developers] Removing include files


Hi Jim-

I really don't like it either, but it is the right thing to do. If we don't do this the compile times
go up and some compilers can't handle the amount of including going on. C'est la vie.

Will

At 02:15 PM 11/26/2002 -0500, Miller, James V (Research) wrote:


I understand the general desire to remove unnecessary include files from the VTK headers.  But I just
had
to add include lines my applications for vtkImageData.h and vtkPolyData.h because they have been
removed
from some VTK headers.
 
My program was pretty simple.  It just wired up filters and mappers, etc.  I never explicitly
instantiated
a vtkPolyData or a vtkImageData nor do I have any methods that take pointers to these classes 
(and hence make API calls to a PolyData or ImageData).
 
It seems a little extreme that I need I now need to include vtkImageData.h and vtkPolyData.h when
I am just using standard pipeline processing.

 <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Jim Miller 
_____________________________________
Visualization & Computer Vision
GE Research
Bldg. KW, Room C218B
P.O. Box 8, Schenectady NY 12301

millerjv at research.ge.com <mailto:millerjv at research.ge.com> 

james.miller at research.ge.com
(518) 387-4005, Dial Comm: 8*833-4005, 
Cell: (518) 505-7065, Fax: (518) 387-6981 

 
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20021126/15b20e4b/attachment.html>


More information about the vtk-developers mailing list