[vtkusers] Confusion

Sean McInerney seanm at nmr.mgh.harvard.edu
Fri Nov 26 12:18:43 EST 2004


http://www.vtk.org/Wiki/VTK_FAQ#Forward_declaration_in_VTK_4.x

Albion Baucom wrote:
> On Thu, 25 Nov 2004, Prashanth Udupa wrote:
> 
> 
>>When I run into problems like this; I would include the header file
>>for the subclass which is not being accepted. In this case I would
>>include "vtkPolyData.h".
> 
> 
> Excellent, that works. Thanks Prashanth. I overlooked the obvious. I guess
> I thought that the includes from the subclass would have pointed out to
> the compiler that it was subclassed from vtkPolyData. Evidently not. You
> have to explicitly point your source to the superclass header.
> 
> Thanks again.
> 
> Albion
> 
> Albion E. Baucom
> http://rna.ucsc.edu/albion
> _______________________________________________
> 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