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

Volume loader and demo #791

Merged
merged 24 commits into from
Jan 17, 2022
Merged

Conversation

MathiasPaulin
Copy link
Contributor

This PR adds a volume loaders, handling pvm volume format from The Volume Library (http://schorsch.efi.fh-nuernberg.de/data/volume/) and add a demo about volume rendering.

@codecov
Copy link

codecov bot commented Jul 2, 2021

Codecov Report

Merging #791 (57b429b) into release-candidate (e7279ba) will increase coverage by 0.88%.
The diff coverage is 62.52%.

❗ Current head 57b429b differs from pull request most recent head ac4d31e. Consider uploading reports for the commit ac4d31e to get more accurate results
Impacted file tree graph

@@                  Coverage Diff                  @@
##           release-candidate     #791      +/-   ##
=====================================================
+ Coverage              26.41%   27.29%   +0.88%     
=====================================================
  Files                    321      326       +5     
  Lines                  21413    21887     +474     
=====================================================
+ Hits                    5656     5975     +319     
- Misses                 15757    15912     +155     
Impacted Files Coverage Δ
src/Gui/BaseApplication.cpp 0.00% <0.00%> (ø)
tests/ExampleApps/VolumeDemoApp/main.cpp 0.00% <0.00%> (ø)
src/IO/VolumesLoader/VolumeLoader.cpp 44.71% <44.71%> (ø)
src/IO/VolumesLoader/pvmutils.cpp 65.96% <65.96%> (ø)
src/Core/Geometry/Volume.cpp 26.66% <100.00%> (+26.66%) ⬆️
src/Core/Geometry/Volume.hpp 73.52% <100.00%> (+73.52%) ⬆️
tests/unittest/IO/volumeloader.cpp 100.00% <100.00%> (ø)
src/Core/Asset/VolumeData.hpp 100.00% <0.00%> (ø)
src/Core/Asset/FileData.inl 42.37% <0.00%> (+10.16%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update be4f7f2...ac4d31e. Read the comment docs.

@MathiasPaulin MathiasPaulin force-pushed the VolumeDemo branch 2 times, most recently from 7b3dd7e to 48a068a Compare July 5, 2021 07:48
@MathiasPaulin MathiasPaulin added Core Related to Ra::Core Feature Request Type of issue: feature request IO Related to Ra::IO tests Related to tests WIP Work in Progress labels Jul 5, 2021
@nmellado
Copy link
Contributor

It seems that the volume files are not copied in the build directory, and so I cannot run the tests because the files are not found.

@nmellado
Copy link
Contributor

@MathiasPaulin FYI you have compiling errors on this PR,

@MathiasPaulin MathiasPaulin force-pushed the VolumeDemo branch 4 times, most recently from 5a89309 to 15c48cf Compare January 13, 2022 06:47
@nmellado
Copy link
Contributor

Nice proposal.
Would it make sense to have the VolumeDemo loading one of the volumetric file ? It would be more fancy.

Copy link
Contributor

@nmellado nmellado left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ready to merge on my side.
@dlyr do you want to have a look ?

src/Core/Geometry/Volume.hpp Outdated Show resolved Hide resolved
src/Core/Geometry/Volume.hpp Outdated Show resolved Hide resolved
src/Core/Geometry/Volume.hpp Outdated Show resolved Hide resolved
src/Core/Geometry/Volume.hpp Outdated Show resolved Hide resolved
src/Core/Geometry/Volume.hpp Outdated Show resolved Hide resolved
src/Core/Geometry/Volume.hpp Outdated Show resolved Hide resolved
tests/ExampleApps/VolumeDemoApp/main.cpp Show resolved Hide resolved
tests/ExampleApps/VolumeDemoApp/main.cpp Outdated Show resolved Hide resolved
tests/ExampleApps/VolumeDemoApp/main.cpp Outdated Show resolved Hide resolved
@dlyr
Copy link
Contributor

dlyr commented Jan 17, 2022

I'm fine for accepting this PR, @MathiasPaulin if it's ok for you could you rebase and remove WIP tag ?
I could also do this, but I prefer to be sure there is no pending WIP before merge.

@MathiasPaulin
Copy link
Contributor Author

I'm fine for accepting this PR, @MathiasPaulin if it's ok for you could you rebase and remove WIP tag ?
I could also do this, but I prefer to be sure there is no pending WIP before merge.

Rebase done, WIP tag removed, this PR is ready for merge.

@nmellado nmellado merged commit 43a64cb into STORM-IRIT:release-candidate Jan 17, 2022
@MathiasPaulin MathiasPaulin deleted the VolumeDemo branch January 18, 2022 07:30
ntsh-oni pushed a commit to ntsh-oni/Radium-Engine that referenced this pull request Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Related to Ra::Core Feature Request Type of issue: feature request IO Related to Ra::IO tests Related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants