Menu_k_nearest_neighbors.h
1/* This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
2 * See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
3 * Author(s): David Salinas
4 *
5 * Copyright (C) 2014 Inria
6 *
7 * Modification(s):
8 * - YYYY/MM Author: Description of the modification
9 */
10
11#ifndef GUI_MENU_K_NEAREST_NEIGHBORS_H_
12#define GUI_MENU_K_NEAREST_NEIGHBORS_H_
13
14#include <QMainWindow>
15#include "ui_KNearestNeighborsMenu.h"
16
17class QWidget;
18
19class Menu_k_nearest_neighbors : public QDialog, public Ui::KNearestNeighborsMenu {
20 Q_OBJECT
21
22 private:
23 QMainWindow* parent;
24
25 public:
26 Menu_k_nearest_neighbors(QMainWindow* parent_);
27
28 void connectActions(QMainWindow* parent);
29
30 public slots:
31 void send_compute_k_nearest_neighbors();
32 void update_k(int k);
33 void accept();
34
35 signals:
36 void compute_k_nearest_neighbors(unsigned k);
37};
38
39#endif // GUI_MENU_K_NEAREST_NEIGHBORS_H_
GUDHIdev  Version 3.5.0  - C++ library for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding.  - Copyright : MIT Generated on Tue Aug 16 2022 14:01:50 for GUDHIdev by Doxygen 1.9.4