Commit a8925d4
authored
Refactor for 0.2.0 (#1)
* Add environment.yml
* Update CMakeLists.txt
* Clean up build script
* Add `libopengl-devel` dependency
* Fix build
* Clean up tests, fix linking
* Clean up `egl.Context` binding
* Drop `carna.py`
* Update settings.json
* Clean up `base.Spatial` and `base.Node`
* Implement `SpatialView` and add memory tests
* Add `Node.test__attach_child__circular`
* Add `Node.test__attach_child__nonfree`
* Add `Node.test__movable`
* Add `Node.test__tag`
* Add `Node.test__localTransform`
* Add `Node.test__detach_from_parent`
* Add `CARNA_EXRA_CHECKS` environment variable
* Add `Camera` tests
* Add `Geometry` tests (incomplete)
* Add `Geometry.test__geometry_type` and `Geometry.test__features_count`
* Clean up code
* Add `Material` and tests
* Fix typo
* Add `Geometry.put_feature` and `Geometry.remove_feature`
* Add `Geometry.clear_features`
* Add `Geometry.has_feature`
* Clean up code
* Add `ContextView`
* Pin `pybind11 <3`
* Refactor structure
* Add `Surface` (no tests yet)
* Add `FrameRenderer` and tests
* Clean up test/test_egl.py
* Add `configure_carna_log`
* Add `math`
* Add `MeshFactory`
* Add `OpaqueRenderingStage`
* Add `CarnaRenderingTestCase`
* Make build directory readonly in VSCode
* Fix `Surface::end`
* Fix tests
* Add `helpers.FrameRendererHelper`
* Add `FrameRenderer.append_stage`
* Remove extra checks (not working properly across submodules)
* Add convenience layer
* Add `renderer` convenience function
* Extend spatial convenience functions
* Add RTD setup
* Add sphinx build to build script
* Fix doc building
* Update docs
* Make `carna.renderer` a class instead of a function
* Update docs
* Update integration test
* Add `frustum` method to convenience renderer
* Update docs
* Update docs
* Update docs
* Rename `configure_carna_log` to `logging`
* Add `VolumeGridHelperBase`
* Add `VolumeGridHelper_IntensityVolumeUInt16`
* Add `VolumeGridHelper_IntensityVolumeUInt16.intensities_role`
* Add `VolumeGridHelper_IntensityVolumeUInt16_NormalMap3DInt8`
* Add `VolumeGridHelper_IntensityVolumeUInt8`
* Add `VolumeGridHelper_IntensityVolumeUInt8_NormalMap3DInt8`
* Add `VolumeGridHelper_*.create_node`
* Add `MaskRenderingStage` (test fail)
* Add failing `EGLContext` test case
* Fix bug in `EGLContext` d'tor (tests pass)
* Add `Color` and tests
* Add `MaskRenderingStage` attributes, methods, and tests
* Add docs
* Add `volume` convenience function
* Add debug build mode
* Fix bug with lazy data loading behaviour of `VolumeGridHelper`
https://kostrykin.github.io/Carna/html/classCarna_1_1base_1_1ManagedTexture3D.html#a37f03f311b2d1bd87ccb12f545d70f04
* Update docs
* Update docs
* Add logo to docs
* Add `renderer.animation`
* Use `solid` shaders instead of `unshaded` for example materials
* Fix `animation.render` to produce smooth animations
* Fix docs
* Add `MIPStage` and `MIPLayer`
* Fix bug in `EGLContext` (enable resource sharing)
* Add `CuttingPlanesStage`
* Add script to install Carna development version
* Fix install_carna_dev.bash
* Employ `.carna-dev` in CMakeLists.txt
* Add `ColorMapView`
* Fix install_carna_dev.bash
* Add `MIPStage.color_map`
* Update test results
* Add `color_map_helper` and fix tests
* Update build instructions
* Add `carna.base.AssertionFailure`
* Migrate to `Carna::base::MeshRenderingMixin`
* Rename `Dimensions` to `Extent` and `millimeters` to `units`
* Migrate build process from Carna to LibCarna
* Migrate LICENSE to MIT
* Migrate code from Carna to CarnaLib
* Add logo
* Add example notebook
* Clean up convenience layer
* Add `_transform` to convenience layer
* Replace `np.bool` by `bool`
* Add support for h264 rendering in `imshow`
* Always build docs from scratch
This is to avoid errors with nbsphinx.
* Add examples/cthead.ipynb
* Import colormaps from matplotlib
* Add `DVRStage`
* Add DVR to cells.ipynb
* Update example notebooks
* Rename `libcarna.animation` to `libcarna.animate`
* Update example notebooks
* Simplify `animate` syntax
* Update example notebooks
* Clean up `_expand_module`
* Update example notebooks
* Add material scheme validation
* Update example notebooks
* Add `dvr.replicate`
* Add `mip.replicate`
* Update example notebooks
* Add `transform_into_voxels_from` method for volumes
* Update example notebooks
* Fix HUV normalization
* Add `drr`
* Update example notebooks
* Update docs and example notebooks
* Add `normalize_hounsfield_units` function
* Add more debugging checks to `EGLContext`
* Rename `mesh_factory` to `meshes`
* Add `camera.proj` and `camera.frustum` methods
* Refactor `_transform` and `_spatial_mixin`
* Update
* Update example notebooks
* Add `libcarna.data`
* Add `libcarna.data.toy`
* Add `cutting_planes`
* Add `cutting_planes` and `mask_renderer`
* Rename `render` to `render_stage`
* Fix `base.MeshFactory`
* Clean up API, docs, and examples
* Migrate `cutting_planes` to use color maps instead of windowing
* Add `.normalized` and `.raw` convenience methods for `volume` geometries
* Add fundamental colorbars
* Refactor `colormap_helper`
* Add colorbar labels, update example notebooks
* Update example notebooks
* Add spatial annotations example
* Fix bugs, add segmentation example
* Update README.md and example notebooks
* Add `material.line_width`
* Add track visualization example
* Add `mesh` and `material` arguments to `geometry` function
* Adapt to newest upstream changes
* Add keyword aliases
* Add more aliases and update docs
* Update CI to build wheel
* Add testing to CI
* Update requirements
* Update build workflows
* Fix .github/workflows/build_all.yml
* Fix .github/workflows/build_all.yml
* Fix .github/workflows/build_all.yml
* Fix .github/workflows/build.yml
* Add example notebooks to test CI, fix triggers
* Update README.md
* Update environment.yml
* Add `workflow_dispatch` trigger
* Update build.yml
* Update build.yml
* Update build.yml
* Update build.yml
* Update build.yml
* Update build.yml
* Update build_all.yml
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI, update environment.yml
* Update CI
* Fix setup.py
* Remove dangling files
* Add dependencies to setup.py
* Update CI
* Update CI
* Migrate to unity build
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Remove libcarna from setup.py dependencies (not a Python dependency)
* Fix dependencies
* Update CI
* Add test/__init__.py
* Fix Python<3.12 compatibility
* Update CI
* Update CI
* Update CI
* Update CI
* Fix compatibility with Python<3.11
* Debug
* Add `LibCarna::egl::EGLContext::Details::selectDisplay`
* Debug
* Debug
* Add `LIBCARNA_PYTHON_LOGGING` environment variable
* Debug
* Update CI
* Install `libegl` via conda instead of apt
* Add `typing_extensions` as dependency in setup.py
* Update CI
* Update CI
* Update CI
* Update CI
* Remove support for Python 3.9
* Debug
* Debug
* Debug
* Debug, add `EGLContext.vendor` and `EGLContext.renderer`
* Update image comparison methods
* Update image comparison methods
* Update image comparison methods
* Add vendor-specific expected test outputs
* Employ vendor-specific expected test outputs
* Remove debug output
* Install missing dependencies
* Add summary of notebook changes
* Fix CI
* Install ffmpeg
* Remove notebooks from CI (taking too long)
* Add more keyword aliases
* Refactor `_spatial_mixin` rotation/translation/scaling methods1 parent ec5c6a5 commit a8925d4
143 files changed
Lines changed: 8111 additions & 2853 deletions
File tree
- .github
- workflows
- .vscode
- docs
- _static
- examples
- misc
- conda-recipe
- carnapy.in
- libcarna
- src
- egl
- include
- Carna
- egl
- py
- LibCarna
- egl
- py
- py
- test
- renderings
- results
- expected_mesa
- expected
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | | - | |
13 | | - | |
| 11 | + | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
22 | 20 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 21 | + | |
27 | 22 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
37 | 31 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
45 | 53 | | |
46 | | - | |
| 54 | + | |
47 | 55 | | |
48 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
49 | 60 | | |
50 | | - | |
51 | | - | |
52 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
53 | 64 | | |
54 | 65 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
61 | 76 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
75 | 81 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
81 | 104 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
86 | 130 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
| 4 | + | |
2 | 5 | | |
3 | | - | |
4 | | - | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
0 commit comments