Hi All,

Could anyone please explain the difference between VTK_IO_EXPORT and VTK_EXPORT 
(beyond the below definition)? I am writing a file reader plugin and defined my 
class as VTK_EXPORT. However, many VTK/IO/ reader examples, e.g. 
vtkAVSucdReader, vtkImageReader are defined as VTK_IO_EXPORT. From the source 
code,

#define VTK_EXPORT VTK_ABI_EXPORT

#if defined(vtkIO_EXPORTS)
  #define VTK_IO_EXPORT VTK_ABI_EXPORT
#else
  #define VTK_IO_EXPORT VTK_ABI_IMPORT
#endif

Thanks for your help.

Best,
xunlei
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to