Skip to content

Interactive UI development repository for the CavalierContours project

Notifications You must be signed in to change notification settings

jbuckmccready/CavalierContoursDev

Repository files navigation

CavalierContoursDev

This is a Qt project for development work on the CavalierContours project. It has an interactive UI app for exploring and testing the algorithm as well as any benchmarks/tests. The project uses a submodule for tracking the main CavalierContours project.

Requirements to Build and Run

  • CMake 3.16 or later
  • Qt 6.2 or later (tested with Qt 6.9 and Qt 6.10)
  • C++14 compatible compiler (tested with GCC 7.3.0 64 bit and MSVC 2019)
  • git initialized: git submodule update --init --recursive

Basic Getting Started on Windows

  1. Install the latest CMake (can be found here)
  2. Install Qt 6 and either the MSVC or MinGW tools via the Qt Online Installer (can be found here, select the "Downloads for open source users")
  3. Open Qt Creator, go to Tools->Options menu
  4. Click on "Kits" on the left, then click on the "CMake" tab
  5. If CMake was not auto detected (shown under "Auto-detected") then click "Add" on the right and set the "Path" parameter to C:\Program Files (x86)\CMake\bin\cmake.exe or wherever you installed CMake and save the settings
  6. Clone this repository including submodules git clone --recursive https://github.com/jbuckmccready/CavalierContoursDev.git
  7. Ensure git is in your PATH environment variable (required when running CMake to clone and download clipper and google test for benchmarks and tests)
  8. Open the root CMakeLists.txt in Qt Creator and select a Qt 6 kit
  9. Click the Kits button in the lower left of Qt Creator (has a computer icon) and select your kit -> Debug -> InteractiveUI
  10. Click the Run button in the lower left, the interactive ui application should run

Changing the Test Polyline

The vertex positions can be edited by dragging them around but currently any other editing is done by changing the initial polyline that is hardcoded in the constructor of PlineOffsetAlgorithmView (see plineoffsetalgorithmview.cpp).

About

Interactive UI development repository for the CavalierContours project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors