This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
fork_synthetic_data_generator [2018/11/23 11:21] 141.44.233.148 |
fork_synthetic_data_generator [2019/03/12 00:06] (current) 77.20.151.25 |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Fork Synthetic Data Generator ====== | + | ====== ID Module Synthetic Data Generator ====== |
| + | |||
| + | ===== Linux Development Environment ===== | ||
| + | ==== Set Up ==== | ||
| + | - Cloned fork; | ||
| + | - Installed Qt5.4.0 from download.qt.io. | ||
| + | - Ran ''qtchooser -install qt5.4.0 /opt/Qt5.4.0/5.4/gcc_64/bin/qmake'' to make installed Qt version available. | ||
| + | - Added line ''export QT_SELECT="qt5.4.0"'' to ''~/.bashrc'' to pick correct Qt version at launch. | ||
| + | - Installed ''qtbase5-dev'' to fix "Missing Qt5Core"-error during compilation. | ||
| + | - Installed ''qtdeclarative5-dev'' to fix "Missing QtQuick"-error during compilation. | ||
| + | - Installed ''qml-module-qtquick-layouts qml-module-qtquick-dialogs qml-module-qtquick-controls qml-module-qt-labs-settings qml-module-qtmultimedia'' to fix "missing qml module"-errors during execution. | ||
| + | - Installed ''libgl1-mesa-swx11'' to fix "LLVM ERROR: Cannot select: intrinsic %llvm.x86.sse41.pblendvb"-error during execution. | ||
| + | |||
| + | ==== Usage ==== | ||
| + | - Connect using ''ssh -X <username>@<hostname>'' | ||
| + | - Switch to directory with scripts ''cd ~/Dekstop/mpvsynthdatafork/MultivariateProjectionViewer/tools'' | ||
| + | - Run ''./xShell_Build.sh'' to compile the project. | ||
| + | - Run ''./xShell_Start.sh'' to run the executable. | ||
| + | - Run ''exit'' to close connection. | ||
| + | |||
| + | ==== Issues ==== | ||
| + | When starting the project, it takes a while for window to show up, interaction with menu, buttons etc is very slow. Furthermore, the color scheme looks suspicious: | ||
| + | {{ ::screenshot_from_2018-11-30_13-39-34.png?400 |}} | ||
| + | {{ :screenshot_from_2018-11-30_13-39-27.png?400 |}} | ||
| + | Color issue can be related to color depth property. This can be adjusted in ''/etc/ssh/sshd_config'' by changing ''DefaultDepth'' property. However, other application seem not to be influenced by this: | ||
| + | {{ ::screenshot_from_2018-11-30_13-55-11.png?400 |}} | ||
| ===== User Tutorial ===== | ===== User Tutorial ===== | ||
| + | {{ :tutorial.odt |}} | ||
| + | |||
| + | {{ :tutorial_images.tar.gz |}} | ||
| ===== Code Structure ===== | ===== Code Structure ===== | ||
| ==== Overview ==== | ==== Overview ==== | ||
| + | {{ :synthdatagenerator.png?400 |}} | ||
| ==== Details ==== | ==== Details ==== | ||
| Line 10: | Line 39: | ||
| Layout (''itemforModuleSyntheticMultidimensionalDataGeneratorID'') consists of 2 main parts: menu that provides overview of available tools and visualization area where a scatter plot of the dataset is displayed. | Layout (''itemforModuleSyntheticMultidimensionalDataGeneratorID'') consists of 2 main parts: menu that provides overview of available tools and visualization area where a scatter plot of the dataset is displayed. | ||
| - | - Menu (''recMenu''): this part of the layout consists of another 3 sub-areas: (''recDimensionalitySwitch'') that contains an element that allows to switch between plot dimensionalities (2d/3d); (''recMenuTools'') that contains a number of icons that call certain functions (e.g. generate dataset) or set the interaction mode and determine how a mouse will work (e.g. Choose class); (''recMenuToolsOptions'') if a certain tool requires some additional parameters to be specified, they will appear in this area (e.g. magnet's power, stroke's size etc) | + | - Menu (''recMenu''): this part of the layout consists of another 3 sub-areas: (''recDimensionalitySwitch'') that contains an element that allows to switch between plot dimensionalities (2d/3d); (''recMenuTools'') that contains a number of icons that call certain functions or set the interaction mode and determine how a mouse will work; (''recMenuToolsOptions'') if a certain tool requires some additional parameters to be specified, they will appear in this area (e.g. magnet's power, stroke's size etc) |
| - | - Visualization area (''recVisualizationArea''): large area in the left and middle part of the screen is used to display a scatter plot of selected dimensions of the generated dataset. | + | - Visualization area (''recVisualizationArea''): large area in the right and middle part of the screen is used to display a scatter plot of selected dimensions of the generated dataset. |
| //IUI/syntheticMultidimensionalDataGenerator.h(.cpp)// | //IUI/syntheticMultidimensionalDataGenerator.h(.cpp)// | ||