X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FcreaVtk.h;h=69435b627f525b8350d68c2041099b8b9e5c380b;hb=43809f06e3ad67bc2b0b30f6682a4e1ad23341a1;hp=417438ec74ae765460c55abac4725e71db73e962;hpb=db0201cdb9eac4a0d3d85107bebed5bbe420bda2;p=crea.git diff --git a/src/creaVtk.h b/src/creaVtk.h index 417438e..69435b6 100644 --- a/src/creaVtk.h +++ b/src/creaVtk.h @@ -3,19 +3,18 @@ #ifdef USE_VTK -#include +#include "creaSystem.h" #include namespace crea { - template - vtkImageData* CREA_EXPORT NewVtkImageDataFromRaw( T* data, - int nx, - int ny, - int nz, - bool do_not_desalloc = true); + CREA_EXPORT vtkImageData* NewVtkImageDataFromRaw( T* data, + int nx, + int ny, + int nz, + bool do_not_desalloc = true); /* // Already provided by vtkTypeTraits::VTKTypeID() template @@ -40,7 +39,7 @@ namespace crea */ } -#include +#include "creaVtk.txx" #endif // USE_VTK