ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
gui.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
#include <iostream>
9
10
#ifdef GUI_ENABLED
11
#include <QApplication>
12
13
#include "
ui/main_window.h
"
14
#else
15
// Dummy QApplication class when GUI is disabled
16
class
QApplication
{
17
public
:
18
QApplication
(
int
argc,
char
** argv) {}
19
};
20
#endif
21
22
namespace
colmap
{
23
24
#if defined(CUDA_ENABLED) || !defined(OPENGL_ENABLED)
25
const
bool
kUseOpenGL
=
false
;
26
#else
27
const
bool
kUseOpenGL
=
true
;
28
#endif
29
30
int
RunGraphicalUserInterface
(
int
argc,
char
** argv);
31
int
RunProjectGenerator
(
int
argc,
char
** argv);
32
33
}
// namespace colmap
QApplication
Definition:
gui.h:16
QApplication::QApplication
QApplication(int argc, char **argv)
Definition:
gui.h:18
main_window.h
colmap
Definition:
AutomaticReconstructionController.h:17
colmap::kUseOpenGL
const bool kUseOpenGL
Definition:
gui.h:25
colmap::RunGraphicalUserInterface
int RunGraphicalUserInterface(int argc, char **argv)
Definition:
gui.cc:39
colmap::RunProjectGenerator
int RunProjectGenerator(int argc, char **argv)
Definition:
gui.cc:76
libs
Reconstruction
src
exe
gui.h
Generated on Tue Feb 3 2026 07:12:30 for ACloudViewer by
1.9.1