UsTK : Ultrasound ToolKit  version 2.0.1 under development (2025-01-22)
usQtElastography.cpp
1 #include <visp3/ustk_core/usConfig.h>
2 
3 #if defined(USTK_HAVE_VTK_QT) && defined(USTK_HAVE_ELASTOGRAPHY) && defined(USTK_HAVE_GRABBER)
4 
5 #include <QApplication>
6 #include <visp3/ustk_gui/usElastographyMainWindow.h>
7 
8 int main(int argc, char **argv)
9 {
10  // QT application
11  QApplication app(argc, argv);
12 
13  usElastographyMainWindow *window = new usElastographyMainWindow;
14  app.setActiveWindow(window);
15  return app.exec();
16 }
17 #else
18 #include <iostream>
19 
20 int main() { std::cout << "Install vtk with qt4 or qt5 support to run this tutorial." << std::endl; }
21 
22 #endif