The code.ill.fr has been recreated and upgraded with the latest version this weekend, If you encounter any problem please inform the Helpdesk.

Verified Commit f5f754dd authored by Tobias WEBER's avatar Tobias WEBER
Browse files

started with gui

parent 1ade15e8
......@@ -11,7 +11,7 @@
The software has been realised in a modular fashion, it comprises a core
and a library module (see chapter \ref{ch:impl}), which can be easily linked
into external C++ applications. Such a library usage will be important in the
future when the software will be integrated as a plug-in module to the instrument
future when we plan to utilise the software as a plug-in module to the instrument
control software \textit{NOMAD} \cite{web_NOMAD} that is employed at the Institut
Laue-Langevin.
......@@ -33,8 +33,41 @@ Details on the scripting interface can be found in section \ref{sec:scripting}.
\section{Graphical User Interface}
\label{sec:gui}
The software's main graphical user interface (GUI), as it is depicted in Fig. \ref{fig:gui},
is based on the \textit{Qt} framework \cite{web_Qt}, which allows for an easy and rapid
cross-platform GUI development in \textit{C++}. We support both current releases of \textit{Qt},
namely version 5 and version 6.
\begin{figure}[htb]
\begin{center}
\includegraphics[width = 1 \textwidth]{figures/gui}
\end{center}
\caption{Main GUI. Here, instrument and sample crystal properties can be set up,
walls can be added and moved and paths around them be calculated.
The central view provides a three-dimensional visualisation of the instrument
configuration and is fully dynamic: Every element, including the instrument
and the wall segments, can be moved or manipulated using the mouse.
\label{fig:gui}}
\end{figure}
\begin{figure}[htb]
\begin{center}
\includegraphics[width = 0.66 \textwidth]{figures/gui_configspace}
\end{center}
\caption{Angular configuration space and path calculation. The figure plots all
possible instrument positions for the monochromator and sample scattering angles,
$2\theta_M$ and $2\theta_S$, respectively. Forbidden positions are shown in red.
These can be invalid angles as well as collisions of the instrument with walls
(here, specifically, the pillar from Fig \ref{fig:gui}), or with itself.
Allowed positions are drawn in blue. The mesh of all possible instrument
paths is shown as white lines, while a currently selected example path from
the red start to the green target position is shown as a yellow line.
\label{fig:gui_configspace}}
\end{figure}
......
......@@ -342,7 +342,6 @@ The source code for the test tool itself is located in: \lstinline|./src/tools/l
software, not a library, and is not under an open-source license.
\label{sec:voronoi}
\begin{figure}
\begin{minipage}{1 \textwidth}
\begin{center}
......@@ -427,7 +426,6 @@ It calls the backend function \lstinline[language=C++]|calc_voro|, which is part
of the library and can be found in the file \lstinline|./src/libs/voronoi_lines.h|.
\label{sec:voronoi}
\begin{figure}
\begin{minipage}{0.5 \textwidth}
\begin{center}
......@@ -526,7 +524,6 @@ using the standard C++ functions \lstinline[language=C++]|std::make_heap()| and
\lstinline[language=C++]|std::pop_heap()|, respectively.
\label{sec:voronoi}
\begin{figure}
\begin{center}
\includegraphics[width = 0.66 \textwidth]{figures/linesegs_path}
......
......@@ -746,6 +746,30 @@
note = "[Online; accessed 27-July-2021]",
}
@misc
{
web_Qt,
title = {{Qt (Software)}},
author = {{The Qt Company}},
year = {2021},
url = "https://www.qt.io/",
OPThowpublished = "\url{https://www.qt.io/}",
note = "[Online; accessed 31-July-2021]",
}
@misc
{
web_QCustomPlot,
title = {{QCustomPlot (Software)}},
author = {Emanuel Eichhammer},
year = {2011 - 2021},
url = "https://www.qcustomplot.com/",
OPThowpublished = "\url{https://www.qcustomplot.com/}",
note = "[Online; accessed 31-July-2021]",
}
% -----------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment