ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
imagecompareboard.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <QWidget>
11 
12 #include "../qPCL.h"
13 #include "imagecompareboard.h"
14 
15 namespace Widgets {
16 
17 class ImageCompareBoardPrivate;
18 class QPCL_ENGINE_LIB_API ImageCompareBoard : public QWidget {
19  Q_OBJECT
20 public:
21  explicit ImageCompareBoard(QWidget* parent = 0);
23 
24  void setOriginalImage(const QImage& img);
25  QImage originalImage() const;
26 
27  void setComparedImage(const QImage& img);
28  QImage comparedImage() const;
29 
30 private:
31  ImageCompareBoardPrivate* d_ptr;
32  Q_DISABLE_COPY(ImageCompareBoard)
33 };
34 
35 } // namespace Widgets
#define QPCL_ENGINE_LIB_API
Definition: qPCL.h:15