1 #include <visp3/ustk_core/usConfig.h>
4 #ifdef USTK_HAVE_VTK_QT
5 #include "usMeshDeformation.h"
7 #include <visp3/ustk_core/us.h>
9 #include <vtkPolyData.h>
10 #include <vtkSmartPointer.h>
11 #include <vtkUnstructuredGridReader.h>
13 int main(
int argc,
char **argv)
16 QApplication app(argc, argv);
22 vtkSmartPointer<vtkUnstructuredGridReader> reader = vtkSmartPointer<vtkUnstructuredGridReader>::New();
25 reader->SetFileName(filename.c_str());
30 app.setActiveWindow(&scene);
31 scene.showMaximized();
38 int main() { std::cout <<
"Install vtk with qt4 or qt5 support to run this tutorial." << std::endl; }
VISP_EXPORT std::string getDataSetPath()