The UI for this project is created using Qt5. You can download and install Qt by following this link and downloading the installer. During instalation select at least the following components:
- your IDE component
- Qt Charts
If you already have a recent Qt installation, please update it to have the Qt Charts component.
To build the project files cmake version 3.8 or higher is required. Please make sure to have it installed by following this link.
To run the query system, the Princeton Shape Benchmark needs to be unzipped somewhere on the computer.
To build the project through the console go to the root of the project folder and follow the steps to build.
- Create the build directory and access it
mkdir build
cd build- Build the project files using cmake
cmake ..- Build the project
cmake --build . --config Release
- Run the project
cd ..
Binary/Release/INFOMR-Project.exe
Alternatively the project can be build in the visual GUI of CMake and compiled in Visual Studio (tested on 2019).
When running the project from the Binary directory, make sure the Resources, FeatureDatabase and DescriptorDatabase folder are present beside the executable.
After the program opens, a database can be loaded through the top-bar menu by picking Database -> Load PSB and pointing it to the benchmark folder.
If all is well, it will fill in the Database Shape Hierarchy list on the left of the application. From that list a model can be selected which will show it in the central model viewer. If the features on the right of the screen are filled in after selecting a model, then you are ready to launch a query. Otherwise, please make sure to put the FeatureDatabase folder next to the project executable.
A query can be launched by pressing Search similar and optionally changing the query size k located above the button.