38 #ifndef __usVTKConverter_h_
39 #define __usVTKConverter_h_
42 #include <visp3/ustk_core/usConfig.h>
44 #ifdef USTK_HAVE_VTK_QT
46 #include <visp3/core/vpHomogeneousMatrix.h>
49 #include <visp3/ustk_core/usImagePostScan2D.h>
50 #include <visp3/ustk_core/usImagePostScan3D.h>
51 #include <visp3/ustk_core/usImagePreScan3D.h>
54 #include <vtkImageData.h>
55 #include <vtkImageImport.h>
56 #include <vtkMatrix4x4.h>
57 #include <vtkSmartPointer.h>
70 vtkSmartPointer<vtkImageData> &vtkPostScanImage, vtkSmartPointer<vtkImageImport> importer = NULL);
72 vtkSmartPointer<vtkImageData> &vtkPreScanImage, vtkSmartPointer<vtkImageImport> importer = NULL);
77 static void convert(
const vpHomogeneousMatrix &, vtkMatrix4x4 *);
78 static void convert(vtkMatrix4x4 *, vpHomogeneousMatrix &);
Class to convert ustk image types to vtkImageData.