Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spacegaier/develop #97

Draft
wants to merge 247 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
247 commits
Select commit Hold shift + click to select a range
2421fd8
first commit
schillij95 Apr 25, 2023
0809bc6
initial commit
schillij95 Apr 25, 2023
0e77c73
adding better caching
schillij95 Apr 27, 2023
6599d28
Verbose Cache Purging
schillij95 Apr 27, 2023
5c0f974
Rename chain seg base class
csparker247 Apr 27, 2023
7e0aba8
(VC) Add ability to swap segmentation algorithms
csparker247 Apr 27, 2023
8055346
cleanup
csparker247 Apr 27, 2023
c719453
Improved Segmentation in Black Areas. Set Alpha between 0.0 (consider…
schillij95 Apr 29, 2023
38dbf41
updated blackness region computation
schillij95 Apr 29, 2023
b06ea35
added more parametrization to set when a point is inside/outside the …
schillij95 Apr 30, 2023
e1f2a80
detect outside of sheet by mean window pixel values instead of only c…
schillij95 Apr 30, 2023
3dc112f
check mean and single pixel brightness value to determine if the pixe…
schillij95 Apr 30, 2023
c50293f
Merge remote-tracking branch 'updates-repo/gui-swappable-algorithms'
schillij95 Apr 30, 2023
ff070bf
merging conflicts that were forgotten
schillij95 Apr 30, 2023
2a6c558
updated VC to educelab newest version. and GUI implementation in prog…
schillij95 Apr 30, 2023
2077e43
porting to own segmentation class and adding GUI
schillij95 May 3, 2023
d1dfd43
Adding GUI and documentation. Readme for Optical Flow Segmentation. R…
schillij95 May 4, 2023
42abc77
Optical Flow Segmentation ready for pull request
schillij95 May 8, 2023
cfa5909
Optical Flow Segmentation Author
schillij95 May 8, 2023
bb8a5c1
Requested Changes
schillij95 May 14, 2023
e2c9ca0
Requested Changes
schillij95 May 14, 2023
fac4ed5
Requested Changes
schillij95 May 14, 2023
264c6e9
(ofs) Interface cleanup
csparker247 May 15, 2023
b595fa0
(ofs) Cleanup to compute
csparker247 May 15, 2023
4b96dd0
(ofs) Cleanup compute
csparker247 May 15, 2023
d91add4
(ofs) Rename class
csparker247 May 15, 2023
1aa6cb3
(ofs) Cleanup gui stuff
csparker247 May 15, 2023
9f40492
(Volume) Use exclusive mutex for slice cache
csparker247 May 15, 2023
1fdee95
Added Name to creators
schillij95 May 15, 2023
c30f52c
Merge branch 'educelab:develop' into develop
schillij95 May 17, 2023
b503579
Merge branch 'educelab:develop' into develop
schillij95 May 26, 2023
cd676c9
OFS V2 alpha
Jun 5, 2023
d386961
OFS V2 Alpha Build
Jun 5, 2023
6eb1c87
Added keyboard shortcuts shift + mousewheel for zoominh, 1-6 for next…
Jun 5, 2023
9a2ea64
Added keyboard shortcuts shift + mousewheel for zoominh, 1-6 for next…
Jun 5, 2023
3a97078
Added keyboard shortcuts shift + mousewheel for zoominh, 1-6 for next…
Jun 5, 2023
c5b66c0
Fixed segmentation, starting interpolation bug, propper volume bound …
Jun 8, 2023
f58682c
some changes
Jun 8, 2023
4698dab
line not adjustable, wtf
Jun 9, 2023
ef69b70
addingdocker build workflow
Jun 9, 2023
ac8de3c
addingdocker build workflow
Jun 9, 2023
ce3a5ef
addingdocker build workflow
Jun 9, 2023
6d63e6f
V2 Alpha Working
Jun 9, 2023
80cb063
Segmentation window resizable
Jun 11, 2023
2f77344
Prefetching on Edit Segmentation
Jun 11, 2023
3f11c17
Merge remote-tracking branch 'public/develop' into merge-branch
schillij95 Jun 14, 2023
8a3d59e
Merge pull request #1 from schillij95/merge-branch
schillij95 Jun 14, 2023
8000e90
Reworked line module
schillij95 Sep 8, 2023
fcb9c0d
Fixed line mouse clicks
schillij95 Sep 9, 2023
3e6324b
Enable and Disable line view with SPACE key
schillij95 Sep 9, 2023
5c9cb39
Merge pull request #2 from schillij95/nightly
schillij95 Sep 9, 2023
9b58d9c
Adjusted build for docker.
schillij95 Sep 11, 2023
1564446
Merge pull request #3 from schillij95/nightly
schillij95 Sep 11, 2023
e452562
UI change for upcoming Multiline
schillij95 Sep 12, 2023
cc77e2f
UI change for upcoming Multiline
schillij95 Sep 12, 2023
dd0e8e1
Some Improved Multithreading, pinpointed performance bottle nack to f…
schillij95 Sep 12, 2023
41eec9f
Docker file SDL adjustments
schillij95 Sep 12, 2023
573a916
Merge pull request #4 from schillij95/nightly
schillij95 Sep 12, 2023
d01b6ff
Docker file SDL adjustments
schillij95 Sep 12, 2023
24ff943
docker easy
schillij95 Sep 12, 2023
dd83017
Complete Docker image
schillij95 Sep 12, 2023
b515b87
Multithreaded Extremely Large Segmentation Computation Update (>100x …
schillij95 Sep 14, 2023
b567377
Multithreaded Extremely Large Segmentation Computation Update (>100x …
schillij95 Sep 14, 2023
7778305
Beta Version Multiline Display + Segmentation
schillij95 Sep 15, 2023
07e69e9
Beta Version Multiline Display + Segmentation
schillij95 Sep 15, 2023
45e38aa
Beta Version Multiline Display + Segmentation
schillij95 Sep 15, 2023
e84e16a
Beta Version Multiline Display + Segmentation
schillij95 Sep 16, 2023
5591d5f
Beta Version Multiline Display + Segmentation
schillij95 Sep 16, 2023
8a1e216
Beta Version Multiline Display + Segmentation
schillij95 Sep 16, 2023
cb8affa
Beta Version Multiline Display + Segmentation
schillij95 Sep 16, 2023
67e2bcb
Beta Version Multiline Display + Segmentation
schillij95 Sep 16, 2023
4490f54
Beta Version Multiline Display + Segmentation
schillij95 Sep 16, 2023
eea3077
Adding Segmentation + Pen Tool Keybind, bugfix
schillij95 Sep 17, 2023
64fb401
Improved Check All Display/Compute Logic
schillij95 Sep 17, 2023
8e358cb
Indicate Selected Curve
schillij95 Sep 17, 2023
659687e
Changed Segmentation Keybinding to O
schillij95 Sep 17, 2023
3378bcc
Persistent Line Color Settings
schillij95 Sep 17, 2023
dd737e2
Shift Modifier to Jump to Segment Start
schillij95 Sep 17, 2023
8b14dde
Shift Modifier to Jump to Segment Start
schillij95 Sep 17, 2023
08a13cf
Alt Modifier to Jump to Segment End
schillij95 Sep 17, 2023
43f3eaa
Alt as well as Ctrl Modifier to Jump to Segment End
schillij95 Sep 17, 2023
477d473
Only adjust Segments that are computable
schillij95 Sep 18, 2023
aa2a513
Deactivating Slice Change during Segmentation and Drawing
schillij95 Sep 21, 2023
fe20301
Line Following on Selected Curve only, Selected curve Next/Previous S…
schillij95 Sep 25, 2023
6b08dfb
- fix crashes from upstream
spacegaier Oct 22, 2023
8dab07a
- use proper spin boxes for slice numbers (prevent string conversions…
spacegaier Oct 22, 2023
ed82579
- improve mouse wheel + shift (for scan) coding
spacegaier Oct 22, 2023
6f13040
Update changes in ReadMe
spacegaier Oct 22, 2023
b7ee333
- implement image dragging via right mouse button
spacegaier Oct 22, 2023
5bd934f
- added Ctrl + G to jump to slice
spacegaier Oct 23, 2023
4924375
- prevent goto slice dialog if navigation is currently disabled
spacegaier Oct 23, 2023
bed884b
- unlock path table header while still matching column width to content
spacegaier Oct 23, 2023
96d31b5
- switch away from obsolete QMouseEvent constructor
spacegaier Oct 23, 2023
a47c0f3
- ensure that backwards/forwards feature works with panning
spacegaier Oct 23, 2023
75e65dc
- prevent dump during path removal, is there is none
spacegaier Oct 23, 2023
15899cf
- comment out center on mouse cursor during zooming for now
spacegaier Oct 23, 2023
e788d94
adjust about dialog
spacegaier Oct 23, 2023
3901a31
Merge `panning-alt` into `develop`
spacegaier Oct 23, 2023
de9358f
Merge 'settings-dlg' into 'develop'
spacegaier Oct 23, 2023
c44c81e
Merge 'scan-in-seg-tool' into 'develop'
spacegaier Oct 23, 2023
3476f3c
- final fixes for mouse handling (right mouse now purely for panning)
spacegaier Oct 23, 2023
1791fb9
update ReadMe
spacegaier Oct 23, 2023
ac25112
limit curve changing to the slice the tool was started with
spacegaier Oct 24, 2023
c752ee1
add "R" key hold + mouse wheel to change the impact range
spacegaier Oct 24, 2023
4e069f9
change "R" to "S" for range impact wheel action
spacegaier Oct 24, 2023
537c0c9
change "S" to "W" for range impact wheel action
spacegaier Oct 24, 2023
e25f534
- fixed random panning issue (non explicit starting value for last bu…
spacegaier Oct 24, 2023
6708310
fix incorrect slice index being returned from OFS during interpolation
spacegaier Oct 25, 2023
440f68f
fix missing <mutex> build issue
spacegaier Oct 25, 2023
aca34d8
- added Q/E shortcuts to set slice scan range in steps 1, 2, 5, 10, 2…
spacegaier Oct 26, 2023
be26002
- shorten hide delay for value popups in segment view
spacegaier Oct 26, 2023
1d81147
- fix potential issue with right click panning
spacegaier Oct 30, 2023
71dc305
- added configurable impact range steps
spacegaier Oct 30, 2023
0166bce
- fixed accidental line move after mouse side button usage
spacegaier Oct 30, 2023
0098749
proper fix for incorrect slice index being returned by OFS (replaces …
spacegaier Oct 31, 2023
e8b8a6e
annotation cloud
spacegaier Oct 25, 2023
79dc9a3
- track manually changed curve points
spacegaier Oct 26, 2023
ff3caab
- manual anchor toggling
spacegaier Oct 26, 2023
2eb3dc8
Merge ' develop' into 'anchoring'
spacegaier Oct 30, 2023
3256c26
- move to bitwise flags
spacegaier Oct 30, 2023
47e110e
- refine the algorithm parameter handling
spacegaier Oct 31, 2023
5c00a1c
fix annotation set merging
spacegaier Oct 31, 2023
8347d47
improve path list selection handling and allow J/K annotation viewing
spacegaier Nov 1, 2023
a0e4c51
Merge pull request #6 from educelab/develop
schillij95 Nov 1, 2023
6c86788
Merge pull request #7 from educelab/develop
schillij95 Nov 1, 2023
bd8dc4a
- fix issue with starting value of impact range slider
spacegaier Nov 1, 2023
3013445
Merge remote-tracking branch 'upstream/develop' into `develop`
spacegaier Nov 1, 2023
0280117
added Mouse Wheel + R for panning along highlighted curve
spacegaier Nov 1, 2023
8c0910a
added setting to adjust number of preloaded slices
spacegaier Nov 1, 2023
365fb8b
Merge `develop` into `anchoring`
spacegaier Nov 1, 2023
7ac487b
- swapped left and right dock
spacegaier Nov 1, 2023
c5b3cd1
- made all docks closable and floatable
spacegaier Nov 2, 2023
f97536b
warn user about loss of curve changes when leaving seg tool
spacegaier Nov 2, 2023
bca4fd2
cleanup
spacegaier Nov 2, 2023
b52fdc3
Merge 'develop' into 'anchoring'
spacegaier Nov 2, 2023
9a20266
- new annotation "used in seg run"
spacegaier Nov 2, 2023
59bf21a
remove trailing whitespaces
spacegaier Nov 2, 2023
2826222
- annotation index fixes
spacegaier Nov 3, 2023
a0001b7
fix start value of impact range slider
spacegaier Nov 3, 2023
32ab259
- fix issue with lower anchor on start index not being found
spacegaier Nov 3, 2023
44f1177
handle start = end index for annotation resets
spacegaier Nov 3, 2023
95aa9dd
- reworked seg run triggerin section
spacegaier Nov 3, 2023
33794c4
code formatting cleanup
spacegaier Nov 3, 2023
0bbd237
implementation of new OFS trigger logic (split forward & backward)
spacegaier Nov 4, 2023
72b4862
bug fixes & cleanup
spacegaier Nov 4, 2023
bda7e4b
change default interpolation percentage to 30
spacegaier Nov 4, 2023
e49779f
- add coloring for manually changed curve points
spacegaier Nov 4, 2023
9539806
move to std::variant for long and double annotations
spacegaier Nov 5, 2023
48e5726
bug fixes & extended debug output
spacegaier Nov 5, 2023
2b65c9c
fix unwantend interpolation percentage reset to 0
spacegaier Nov 6, 2023
5a0cdcc
add slice number into annotations
spacegaier Nov 6, 2023
f1e6e19
add logic to handle cloud size mismatches
spacegaier Nov 6, 2023
0b952c5
bug fixes
spacegaier Nov 6, 2023
0c0d5d0
Merge branch 'develop' into 'anchoring'
spacegaier Nov 6, 2023
6284c03
add tooltips to color selectors
spacegaier Nov 6, 2023
05b7bd7
remove unused "HistEq" checkbox
spacegaier Nov 6, 2023
7d2bddc
disable remove path button if no path selected
spacegaier Nov 6, 2023
7ba3754
reset "Display All" and "Compute All" checkbox state when closing volume
spacegaier Nov 6, 2023
5ee6828
catch annotation loading exception and inform user
spacegaier Nov 6, 2023
2cccde4
update ReadMe
spacegaier Nov 6, 2023
8284bf6
fix OFS slice index issues
spacegaier Nov 6, 2023
e53432d
fix typo in ReadMe
spacegaier Nov 6, 2023
4890c21
adjust slice jump behavior after seg run (preference to explicit slic…
spacegaier Nov 7, 2023
bad426b
initial attempt
spacegaier Nov 7, 2023
7736646
fix interpolation window calculation + extended console output
spacegaier Nov 7, 2023
a6712a8
store last slice offset from seg run and re-use in next one
spacegaier Nov 7, 2023
1db02b8
ensure seg length is at least 1
spacegaier Nov 7, 2023
df14e02
ensure Shift/Alt/Ctrl click on path list works again, together with t…
spacegaier Nov 8, 2023
0e8d00a
fix wrong interpolation window (slices before interpol start slice we…
spacegaier Nov 8, 2023
d04af39
- improve "keep curves changes" dialog when leaving seg tool
spacegaier Nov 8, 2023
396ef86
grab correct resegmentation starting curve (off by 1)
spacegaier Nov 8, 2023
056c680
evenly distribute anchor slices
spacegaier Nov 8, 2023
34788af
- resample manually changed curves to space the points evenly
spacegaier Nov 9, 2023
59ee8c2
Merge branch 'anchoring' into 'step-size'
spacegaier Nov 9, 2023
186ac16
show "text-above-cursor" even without focus
spacegaier Nov 9, 2023
595bf64
step-size adjustments after interpolation fixes
spacegaier Nov 9, 2023
d6adc79
first working implementation (incl. interpolation in anchor mode)
spacegaier Nov 9, 2023
dde2fd4
bug fixes
spacegaier Nov 9, 2023
b92262d
Merge branch 'anchoring' into 'step-size'
spacegaier Nov 9, 2023
50fd2df
setup Docker builds on branch 'develop'
spacegaier Nov 9, 2023
2dd0d3f
added setting for user definable scan range steps
spacegaier Nov 12, 2023
325a7ab
fix "Segmentation Tool" button sometimes being incorrectly disabled
spacegaier Nov 12, 2023
b9d2cfc
improve jump slice determination for after seg run
spacegaier Nov 12, 2023
e8d39d6
add "50" to default list of scan range steps
spacegaier Nov 12, 2023
61cfa64
added icons to "File" main menu
spacegaier Nov 12, 2023
9db697d
evenly space points on starting curve after Pen Tool
spacegaier Nov 12, 2023
6412290
move to `remove_if` simplification and fix edge cases
spacegaier Nov 13, 2023
ccdf325
cleanup
spacegaier Nov 13, 2023
8a529c9
added user setting for initial step size
spacegaier Nov 13, 2023
621473c
ensure slice mode actually does anything and does not return early
spacegaier Nov 14, 2023
c11bb08
do not print annotation coordinates in user debug mode
spacegaier Nov 15, 2023
e3b05c2
improve "invalid volpkg structure" error message
spacegaier Nov 15, 2023
34d59e2
added undo/redo for curve changes
spacegaier Nov 17, 2023
e99cd5c
properly end prefetch thread upon app closing
spacegaier Nov 17, 2023
252bbf9
undo/redo fixes (it end checks & better before/after comparison)
spacegaier Nov 17, 2023
5429143
set preloaded_slices setting as default cache size for seg run
spacegaier Nov 17, 2023
4979e3c
Merge branch 'undo-redo-curve' into 'step-size'
spacegaier Nov 17, 2023
26f1855
lightly highlight every 10th and 20th curve point
spacegaier Nov 20, 2023
53c03b2
undo coloring fixes
spacegaier Nov 21, 2023
1e54983
- color code the text popups next to cursor in segment viewer
spacegaier Nov 21, 2023
1a5d3a4
disable the "evenly space points" button when not on edit slice
spacegaier Nov 21, 2023
7f0acfb
add app logo to VC
spacegaier Nov 21, 2023
44d842b
handle impact range changes during curve dragging
spacegaier Nov 21, 2023
054e184
update ReadMe
spacegaier Nov 23, 2023
f491854
properly init slice index of tool start
spacegaier Nov 23, 2023
b8d6c6d
improve curve color handling to prevent hidden lines for bad color co…
spacegaier Nov 28, 2023
d46ea15
move annotations dock to left as default
spacegaier Nov 28, 2023
6353310
Merge 'educelab/develop' into 'step-size'
spacegaier Nov 28, 2023
f8e5547
Merge branch 'step-size' into 'develop' (without actual step size logic)
spacegaier Nov 28, 2023
c2f417b
add screenshots to ReadMe
spacegaier Nov 28, 2023
f9003bd
only visually mark manually moved points on the highlighted curve
spacegaier Nov 29, 2023
cc52b7b
reuse volume buffers for volume display to avoid extra copies and con…
jrudolph Dec 6, 2023
6dbd9be
Merge pull request #2 from jrudolph/spacegaier-speed-up-volume-viewer
spacegaier Dec 13, 2023
65aa13d
Merge branch 'develop' into pr/spacegaier/3
spacegaier May 8, 2024
cb097e5
Merge educlab `develop`
spacegaier May 8, 2024
e2506aa
Incorporate `mmap` changes from @jrudolph into the latest educelab me…
spacegaier May 9, 2024
ecc0b78
properly close the files again
spacegaier May 9, 2024
9c38f56
add Y and Z as shortcuts for "Evenly space points"
spacegaier May 9, 2024
10af8d5
properly handle compression (no mmap then) + added unit test
spacegaier May 10, 2024
49419d4
add compression info to logging
spacegaier May 10, 2024
1eaa445
cleanup
spacegaier May 10, 2024
7a61841
Add SDL & GSL install to unit test GH action
spacegaier May 10, 2024
0e4c73b
Fix GH action apt-get install
spacegaier May 10, 2024
0d6e7fa
Updated ReadMe
spacegaier May 10, 2024
596754e
correct mismatch between zoom-in and zoom-out scaling factor
spacegaier May 13, 2024
ed2a598
Merge branch 'mmap' into develop
spacegaier May 13, 2024
d1ab672
added view rotating via S+MouseWheel and X to reset
spacegaier May 15, 2024
d052dab
Update Dockerfile to use Node.js 20 actions
spacegaier May 15, 2024
be6584c
export QT_PLUGIN_PATH as Docker entrypoint
spacegaier May 17, 2024
6489bbe
fix panning along the curve with view rotation
spacegaier May 17, 2024
954c11b
add user setting to override the view scroll speed
spacegaier May 18, 2024
f3c2c25
fix horizontal / AltGr view scrolling
spacegaier May 20, 2024
8e26661
added dark theme support
spacegaier May 22, 2024
a5f1770
added spinbox for slice rotation
spacegaier May 26, 2024
e221f01
added shortcuts for view rotation
spacegaier May 26, 2024
06b9e74
added "V" as shortcut to evenyl space points
spacegaier May 26, 2024
43c230e
adjusted slice scanning steps sizes on number keys
spacegaier May 26, 2024
0efea3d
- speed up slice rendering by not recreating graphics scene items eve…
spacegaier May 26, 2024
a3f1b64
- set new OFS defaults proposed by VC seg team
spacegaier May 27, 2024
4471180
merge `display-semi-transparent` into develop
spacegaier May 27, 2024
1f07266
add user setting for experimental skipping of image format conversion
spacegaier May 27, 2024
c3c779e
prevent reading the display segment opacity for each redrawing
spacegaier May 27, 2024
dfdefcd
set updated default in settings dialog class
spacegaier May 27, 2024
c459ca8
make separation between internal and user settings clearer in code (f…
spacegaier May 28, 2024
cbff83c
- add more help buttons to user settings
spacegaier May 28, 2024
bef4cd0
Add en_US.UTF-8 locale to Dockerfile
stephenrparsons May 31, 2024
616905e
Merge pull request #5 from stephenrparsons/develop
spacegaier Jun 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Build Docker image
on:
push:
branches: ["develop"]
tags: ["v*"]
branches: ["develop", "latest"]
workflow_dispatch:

concurrency: docker

Expand All @@ -13,31 +13,33 @@ jobs:
steps:
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ghcr.io/educelab/volume-cartographer
images: ghcr.io/spacegaier/volume-cartographer
tags: |
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=raw,value=edge,enable={{is_default_branch}}
# set latest tag for branch named "latest"
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'latest') }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to GitHub Container Registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
push: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64,linux/arm64
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
with:
fetch-depth: 20

- name: Install SDL & GSL tool
run: |
apt-get update
apt-get install -y libsdl2-dev libgsl-dev

- name: Build volume-cartographer
run: |
cmake -S . -B build/ -GNinja $EXTRA_CMAKE_FLAGS
Expand All @@ -48,10 +53,15 @@ jobs:
with:
fetch-depth: 20

- name: Install SDL & GSL tool
run: |
apt-get update
apt-get install -y libsdl2-dev libgsl-dev

- name: Build volume-cartographer
run: |
cmake -S . -B build/ -GNinja $EXTRA_CMAKE_FLAGS
cmake --build build/

- name: Run tests
run: ctest -V --test-dir build/
run: ctest -V --test-dir build/
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,7 @@ docs/html/
cmake-build*/

# VS Code
.vscode/
.vscode/

# personal
*.txt
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,10 @@ endif()
# Setup the config files #
include(VCPackageConfig)
# Install to system directories
include(VCInstall)
include(VCInstall)

# Look for the SDL2 package for Audio
find_package(SDL2 REQUIRED)

# Look for the GNU Scientific Library (GSL) package for interpolation related functionalities
find_package(GSL REQUIRED)
10 changes: 9 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
FROM ghcr.io/educelab/ci-docker:dynamic.12.0
MAINTAINER Seth Parker <[email protected]>

RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y libsdl2-dev libgsl-dev locales
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

# Install volcart
COPY ./ /volume-cartographer/
RUN export CMAKE_PREFIX_PATH="/usr/local/Qt-6.6.1/" \
Expand All @@ -10,10 +17,11 @@ RUN export CMAKE_PREFIX_PATH="/usr/local/Qt-6.6.1/" \
-GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_RPATH=/usr/local/Qt-6.6.1/lib \
-DSDL2_DIR=/usr/lib/x86_64-linux-gnu/ \
-DVC_BUILD_ACVD=ON \
&& cmake --build /volume-cartographer/build/ \
&& cmake --install /volume-cartographer/build/ \
&& rm -rf /volume-cartographer/

# Start an interactive shell
CMD ["/bin/bash"]
ENTRYPOINT export QT_PLUGIN_PATH=/usr/local/Qt-6.6.1/plugins && /bin/bash
Loading