[vtk-developers] where are the declarations and implementations of virtual functions?

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Dec 7 09:23:34 EST 2005


Many Set/Get methods are created using macros. The macros are defined in
 Common/vtkSetGet.h.
For your particular case of SetFileName, there's a
vtkSetStringMacro(FileName); defined in vtkDataReader.h which gets
expanded to the definition of the function name SetFileName().

Utkarsh

N. Yang wrote:
> Dear All,
> 
> i am working on VTK and Java, i dive in the source code and somehow i
> could not find the declarations and implementation code segment for some
> virtual functions.
> 
> in my case, there are many classes, for example, vtkPolyDataReader, have
> virtual functions named SetFileName(const char *), but i don't see any
> any declarations or implementations for this function in the according
> class or super class. so could someone point it out for me please?
> 
> thanks a lot!
> 
> regards
> 
> Ning
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
> 




More information about the vtk-developers mailing list