38 #ifndef __usMeshDeformation_h_
39 #define __usMeshDeformation_h_
42 #include <visp3/ustk_core/usConfig.h>
44 #ifdef USTK_HAVE_VTK_QT
46 #include <visp3/core/vpHomogeneousMatrix.h>
48 #include <visp3/ustk_gui/usViewerWidget.h>
50 #include <visp3/ustk_gui/usVTKConverter.h>
53 #include <vtkArrowSource.h>
54 #include <vtkCylinderSource.h>
55 #include <vtkDataSetMapper.h>
56 #include <vtkInteractorStyleTrackballCamera.h>
57 #include <vtkMatrix4x4.h>
58 #include <vtkProperty.h>
59 #include <vtkRenderWindowInteractor.h>
60 #include <vtkSTLReader.h>
61 #include <vtkSTLWriter.h>
62 #include <vtkSmartPointer.h>
63 #include <vtkUnstructuredGrid.h>
65 #include <QPaintEngine>
69 #include <vtkAxesActor.h>
70 #include <vtkPoints.h>
71 #include <vtkPolyDataMapper.h>
72 #include <vtkRenderWindow.h>
73 #include <vtkRenderer.h>
74 #include <vtkSmartPointer.h>
77 #if defined(USTK_HAVE_VTK_QT4)
78 #include <QApplication>
80 #include <QVTKWidget.h>
81 #include <QtGui/QGridLayout>
82 #include <QtGui/QMainWindow>
83 #include <QtGui/QPushButton>
84 #elif defined USTK_HAVE_VTK_QT5
85 #include <QApplication>
87 #if USTK_HAVE_VTK_VERSION < 0x090000
88 #include <QVTKWidget.h>
90 #include <QVTKOpenGLWidget.h>
92 #include <QtWidgets/QGridLayout>
93 #include <QtWidgets/QMainWindow>
94 #include <QtWidgets/QPushButton>
108 usMeshDeformation(QWidget *parent = NULL, Qt::WindowFlags f = Qt::WindowFlags());
127 vtkUnstructuredGrid *m_meshPolyData;
130 vtkSmartPointer<vtkActor> m_meshActor;
133 vtkRenderer *renderer;