CamiTK Community Edition issues
https://gricad-gitlab.univ-grenoble-alpes.fr/CamiTK/CamiTK/-/issues
2024-01-31T18:55:06+01:00
https://gricad-gitlab.univ-grenoble-alpes.fr/CamiTK/CamiTK/-/issues/178
Pick a point in 3D Viewer, view a 3D cursor
2024-01-31T18:55:06+01:00
Manik Bhattacharjee
Pick a point in 3D Viewer, view a 3D cursor
## About you
CamiTK developer, from multiple users' wishlist.
## Product
Medical Image Viewer, 3D Viewer
## Overview
Currently, the user cannot ctrl+click on a point in the 3D Viewer (except to select a part of a Mesh), and the curre...
## About you
CamiTK developer, from multiple users' wishlist.
## Product
Medical Image Viewer, 3D Viewer
## Overview
Currently, the user cannot ctrl+click on a point in the 3D Viewer (except to select a part of a Mesh), and the currently selected point is not visible in the 3D View.
- The users would like to be able to click on an ImageComponent to set the coordinates of a point, like when using Ctrl+Click on 2D Views.
- This should also work on a MeshComponent.
- Showing the position of this point as a 3D cursor (such as a 3D cross) would be a plus.
- Clicking on an Actor could also be used to select components (e.g. clicking on a mesh should select the associated mesh component)
---
**please do not remove anything below this line**
https://gricad-gitlab.univ-grenoble-alpes.fr/CamiTK/CamiTK/-/issues/177
Save All fails if a Component does not have a filename (e.g. newly reconstruc...
2024-02-07T12:35:39+01:00
Manik Bhattacharjee
Save All fails if a Component does not have a filename (e.g. newly reconstructed mesh)
## About you
CamiTK developer
## Overview
SaveAll implementation is wrong and fails in multiple ways when components to save do not have a filename. This can lead to data loss (thinking a file was saved even it was not) and segfault (w...
## About you
CamiTK developer
## Overview
SaveAll implementation is wrong and fails in multiple ways when components to save do not have a filename. This can lead to data loss (thinking a file was saved even it was not) and segfault (when no component is selected).
## Steps to Reproduce
Open two masks (e.g. skull-binary.stl and head-binary from testdata).
Using action Reconstruction to create a mesh from each mask.
- Scenario 1
- Select both meshes
- Click on "Save All" from the File menu
- In the first Save As window, save as Mesh1.obj
- In the second window, save as Mesh2.obj
- Scenario 2
- Deselect all components
- Click on "Save All" from the File menu
## Actual VS Expected Result
- Scenario 1
- Expected: both meshes are saved in their own file, each now has a filename set to the one that was used to save them
- Actual: only one of the meshes was saved in both files. This mesh now has a filename set to the latest file saved. The other mesh is ignored and not saved
- Scenario 2
- Expected: both meshes are saved in their own file
- Actual result: CamiTK crashes, all work is lost
## Interpretation & Possible fixes
- `SaveAllAction::apply` calls `Application::save` on all top-level components.
- `Application::save` checks if the filename is empty. If it is, it calls
- `getAction("Save As")->apply()`.
The problem here is that the `SaveAsAction::apply` function does not know which component it must save, as this is not a parameter of `apply`.
It will try to save the last selected component, which is probably not the one we are trying to save.
`Component* comp = Application::getSelectedComponents().last();`
If there is no selected component (Scenario 2), this tries to get a Component from an empty list and crashes (qt_assert in debug mode).
If there is at least a selected component, SaveAll will save the last selected component over and over again.
**To fix this**
Modify action "Save As" so we can set a componentToSave parameter, apply it, then reset ComponentToSave to null_ptr. Apply would then check for this parameter, revert to the current behaviour if it is empty, and check if there are selectedComponents before getting the last element.
## CamiTK Version
CamiTK 5.2.0.158-camitk-file-format-metadata-scenes-processing-scenarios.c46342cd
---
**please do not remove anything below this line**
Manik Bhattacharjee
Manik Bhattacharjee
https://gricad-gitlab.univ-grenoble-alpes.fr/CamiTK/CamiTK/-/issues/123
camitk-imp SegFault after installation
2021-03-15T16:52:25+01:00
Theophile Tiffet
camitk-imp SegFault after installation
## About you
PhD student at GMCAO
## Overview
camitk-imp works well after building. However, after install it segfault.
## Interpretation & Possible fixes
It seems linked to the fact that on some distribution (and possibly mac ?) the...
## About you
PhD student at GMCAO
## Overview
camitk-imp works well after building. However, after install it segfault.
## Interpretation & Possible fixes
It seems linked to the fact that on some distribution (and possibly mac ?) the /usr/lib folder is reserved for 32bits libraries (64bits libraries in lib64) instead of being a symlink to lib64, with a lib32 folder for 32bits libraries.
These cases are handled in CMake by using CMAKE_INSTALL_LIBDIR. However in CamiTK this variable is set but ignored, replaced by hard coded "/lib".
It is the same problem as for a previous error. I implemented a fix for it and I'll provide a pull request soon.
## CamiTK Version
Latest dev build
---
**please do not remove anything below this line**
https://gricad-gitlab.univ-grenoble-alpes.fr/CamiTK/CamiTK/-/issues/122
Missing Files
2023-04-23T11:03:52+02:00
Theophile Tiffet
Missing Files
## About you
PhD student
## Overview
- Missing Atom.hxx (included in modeling/libraries/pml/Atom.cpp:31)
- Missing Loads.hxx (modeling/libraries/lml/Loads.cpp:38)
## Steps to Reproduce
Compile CamiTK with pml/lml support
## CamiTK V...
## About you
PhD student
## Overview
- Missing Atom.hxx (included in modeling/libraries/pml/Atom.cpp:31)
- Missing Loads.hxx (modeling/libraries/lml/Loads.cpp:38)
## Steps to Reproduce
Compile CamiTK with pml/lml support
## CamiTK Version
Latest dev version
---
**please do not remove anything below this line**
https://gricad-gitlab.univ-grenoble-alpes.fr/CamiTK/CamiTK/-/issues/108
ITK 5
2020-07-15T17:25:50+02:00
Theophile Tiffet
ITK 5
## About you
Tiffet Théophile Phd student
## Overview
CamiTK should work with ITK 5 but refuse to compile with it.
## Interpretation & Possible fixes
Checks for itk_version < 5 should be removed from CMake files.
## CamiTK Version
...
## About you
Tiffet Théophile Phd student
## Overview
CamiTK should work with ITK 5 but refuse to compile with it.
## Interpretation & Possible fixes
Checks for itk_version < 5 should be removed from CMake files.
## CamiTK Version
Last develop version (933bc0c2)
---
**please do not remove anything below this line**
https://gricad-gitlab.univ-grenoble-alpes.fr/CamiTK/CamiTK/-/issues/106
Cannot compile CamiTK
2020-07-10T12:58:59+02:00
Theophile Tiffet
Cannot compile CamiTK
## About you
Theophile Tiffet PhD student
## Overview
Due to the changes to viewers in CamiTK, i cannot compile it anymore.
## Steps to Reproduce
Compile it.
## Relevant logs and/or screenshots
Several methods in viewers inheriting...
## About you
Theophile Tiffet PhD student
## Overview
Due to the changes to viewers in CamiTK, i cannot compile it anymore.
## Steps to Reproduce
Compile it.
## Relevant logs and/or screenshots
Several methods in viewers inheriting from viewer rather than interactive viewer (MedicalImageViewer, Explorer, bitmapViewer, etc...) have methods marked with override (getWidget, getNumberOfComponents, etc..) that does not exist in the viewer class.
## Interpretation & Possible fixes
Possible change to the base classes that were not propagated to inheriting classes.
## CamiTK Version
commit 933bc0c2568482881247687a45ccc27f9856a371 of the develop branch
---
**please do not remove anything below this line**