VTK issueshttps://gitlab.kitware.com/vtk/vtk/-/issues2023-10-26T13:57:36-04:00https://gitlab.kitware.com/vtk/vtk/-/issues/19127vtkKdTree looks broken2023-10-26T13:57:36-04:00Adrien StuckyvtkKdTree looks brokenWhen creating a new vtkKdTree and running `BuildLocator()` as done by https://examples.vtk.org/site/Cxx/DataStructures/VisualizeKDTree/ it seems that the tree is not created as it should (debugger shows that in `vtkKdTree.cxx line 780`, ...When creating a new vtkKdTree and running `BuildLocator()` as done by https://examples.vtk.org/site/Cxx/DataStructures/VisualizeKDTree/ it seems that the tree is not created as it should (debugger shows that in `vtkKdTree.cxx line 780`, a call to `this->NewGeometry()` makes the function return without actually generating the tree).
Program output is then filled by lines like that, complaining that `BuildLocator()` did not allocate `this->Top`
`2023-10-11 10:10:47.255 ( 2.793s) [ 297CAC40] vtkKdTree.cxx:3165 ERR| vtkKdTree (0x556250424ce0): vtkKdTree::GenerateRepresentation empty tree`Spiros TsalikisSpiros Tsalikishttps://gitlab.kitware.com/vtk/vtk/-/issues/19126New token libary seems to ignore BUILD_SHARED_LIBS=0 and VTK_VERSIONED_INSTALL=02024-01-16T11:17:19-05:00Sean McBrideNew token libary seems to ignore BUILD_SHARED_LIBS=0 and VTK_VERSIONED_INSTALL=0This newly added token library seems to ignore the BUILD_SHARED_LIBS=0 and VTK_VERSIONED_INSTALL=0 build settings. When I build & install current master I get:
```
(truncated)
-rw-r--r--@ 1 sean staff 3462040 7 Oct 13:42 libvtknet...This newly added token library seems to ignore the BUILD_SHARED_LIBS=0 and VTK_VERSIONED_INSTALL=0 build settings. When I build & install current master I get:
```
(truncated)
-rw-r--r--@ 1 sean staff 3462040 7 Oct 13:42 libvtknetcdf.a
-rw-r--r--@ 1 sean staff 76208 7 Oct 13:42 libvtkogg.a
-rw-r--r--@ 1 sean staff 953936 7 Oct 13:42 libvtkpng.a
-rw-r--r--@ 1 sean staff 1158928 7 Oct 13:42 libvtkpugixml.a
-rw-r--r--@ 1 sean staff 2907992 7 Oct 13:42 libvtksqlite.a
-rw-r--r--@ 1 sean staff 4446760 7 Oct 13:42 libvtksys.a
-rw-r--r--@ 1 sean staff 751992 7 Oct 13:42 libvtktheora.a
-rw-r--r--@ 1 sean staff 1678064 7 Oct 13:42 libvtktiff.a
lrwxr-xr-x@ 1 sean staff 21 7 Oct 13:42 libvtktoken.1.dylib -> libvtktoken.9.3.dylib
-rwxr-xr-x@ 1 sean staff 1154856 7 Oct 13:42 libvtktoken.9.3.dylib
lrwxr-xr-x@ 1 sean staff 19 7 Oct 13:42 libvtktoken.dylib -> libvtktoken.1.dylib
-rw-r--r--@ 1 sean staff 794400 7 Oct 13:42 libvtkverdict.a
```
Notice how every file:
1. is a static library (.a)
2. has no version number
***except*** the token libraries which got built:
1. as dynamic library (.dylib)
2. with a version number (9.3)
This has broken our internal builds that test against VTK master.David ThompsonDavid Thompsonhttps://gitlab.kitware.com/vtk/vtk/-/issues/19125vtk 9.3rc1 fails to build on FreeBSD2023-10-18T15:31:52-04:00Sean McBridevtk 9.3rc1 fails to build on FreeBSDThere are a couple of compiler errors building 9.3rc1 on FreeBSD, all in third party.
I'll work to get them fixed upstream first.
I've fixed one so far: https://github.com/sandialabs/seacas/pull/407/files
How to proceed from here thou...There are a couple of compiler errors building 9.3rc1 on FreeBSD, all in third party.
I'll work to get them fixed upstream first.
I've fixed one so far: https://github.com/sandialabs/seacas/pull/407/files
How to proceed from here though? Given we are already in rc stage, perhaps best to cherry pick just the minimal fix?9.3Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/19124Support Python 3.122023-11-03T11:24:07-04:00Roberto Pastor MuelaSupport Python 3.12Hi all!
Python 3.12 has been released recently (2nd of October), however, it looks like the ``vtk`` package released does not support it. We have tried to build our package using Python 3.12 and pull all its dependencies and we are gett...Hi all!
Python 3.12 has been released recently (2nd of October), however, it looks like the ``vtk`` package released does not support it. We have tried to build our package using Python 3.12 and pull all its dependencies and we are getting the following errors.
```
ERROR: Could not find a version that satisfies the requirement vtk>=9 (from ********) (from versions: none)
ERROR: No matching distribution found for vtk>=9
Error: Process completed with exit code 1.
```
Would it be possible to add support for Python 3.12?https://gitlab.kitware.com/vtk/vtk/-/issues/19123OpenXR: Fix near plane clipping with camera inside volume2024-01-31T03:50:44-05:00Lucas GandelOpenXR: Fix near plane clipping with camera inside volumeAdding a clipping plane to vtkOpenGLGPUVolumeRaycastMapper in order to handle camera near plane clipping is currently broken in XR and users can see through the volume when placing the head inside it.
* The [`vtkOpenGLGPUVolumeRaycastMa...Adding a clipping plane to vtkOpenGLGPUVolumeRaycastMapper in order to handle camera near plane clipping is currently broken in XR and users can see through the volume when placing the head inside it.
* The [`vtkOpenGLGPUVolumeRaycastMapper::IsCameraInside`](https://gitlab.kitware.com/vtk/vtk/-/blob/master/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx#L994) check fails because the frustum planes returned by a VRCamera are wrong (physical vs world)
* If not overridden in VRCamera, `GetFrustumPlanes` calls [`GetCompositeProjectionTransformMatrix`](https://gitlab.kitware.com/vtk/vtk/-/blob/master/Rendering/Core/vtkCamera.cxx#L1296) which ignores the stereo matrices and computes regular camera projection.
* Overriding ComputeProjectionTransform as follow fixes the clipping issue, but computing a regular projection matrix is still required for hardware picking. TODO: Find a better approach that using "LastRenderer", or confirm LastRenderer is a good candidate to check the TrackHMD flag.
```
if (!this->LastRenderer || !this->LastRenderer->GetRenderWindow() ||
vtkVRRenderWindow::SafeDownCast(this->LastRenderer->GetRenderWindow())->GetTrackHMD())
{
this->ProjectionTransform->Identity();
if (this->LeftEye)
this->ProjectionTransform->Concatenate(this->LeftEyeToProjectionMatrix);
else
this->ProjectionTransform->Concatenate(this->RightEyeToProjectionMatrix);
}
else
{
this->Superclass::ComputeProjectionTransform(aspect, nearz, farz);
}
```https://gitlab.kitware.com/vtk/vtk/-/issues/19122VR: Fix clipping of volumes in Clip mode2023-10-11T04:03:39-04:00Lucas GandelVR: Fix clipping of volumes in Clip modeVolumes are not clipped in Clip interaction mode (VTKIS_CLIP).<br/>
Caused by 351c38b2 that only add clipping planes to vtkActor (vtkVolume is not a vtkActor subclass).<br/>
Remove casts to vtkActor in [ForeachNonWidgetProp](https://gitl...Volumes are not clipped in Clip interaction mode (VTKIS_CLIP).<br/>
Caused by 351c38b2 that only add clipping planes to vtkActor (vtkVolume is not a vtkActor subclass).<br/>
Remove casts to vtkActor in [ForeachNonWidgetProp](https://gitlab.kitware.com/vtk/vtk/-/blob/master/Rendering/VR/vtkVRInteractorStyle.cxx#L439) and StartClip/EndClip to fix.https://gitlab.kitware.com/vtk/vtk/-/issues/19112OpenXR Renderer: always warn "Not renderer" at the startup2024-03-04T12:02:46-05:00Lucas GivordOpenXR Renderer: always warn "Not renderer" at the startupEven if the OpenXR renderer is correctly setup, VTK will always trigger a warning `Not renderer` which is often not meaningful and should be ignored in such context.
You can reproduce this issue with the example named `TestOpenXRRemotin...Even if the OpenXR renderer is correctly setup, VTK will always trigger a warning `Not renderer` which is often not meaningful and should be ignored in such context.
You can reproduce this issue with the example named `TestOpenXRRemotingInitialization`, follow steps described in this [readme about openXRRemoting](https://gitlab.kitware.com/vtk/vtk/-/tree/master/Rendering/OpenXRRemoting?ref_type=heads#vtk-openxr-holographic-remoting) to be able to compile/run this example.
FYI @LucasGandelKitwarehttps://gitlab.kitware.com/vtk/vtk/-/issues/19101inflating a part of an object in VTK2023-09-27T04:35:01-04:00kimia ghodoosiinflating a part of an object in VTKHi everyone!
How can I inflate a part of an object by getting an input from user in VTK using C++?(something like what I attached here)
![Screenshot_2023-09-27_114125](/uploads/732010c00a3b8ac8d59966e8063d49dc/Screenshot_2023-09-27_1141...Hi everyone!
How can I inflate a part of an object by getting an input from user in VTK using C++?(something like what I attached here)
![Screenshot_2023-09-27_114125](/uploads/732010c00a3b8ac8d59966e8063d49dc/Screenshot_2023-09-27_114125.png)https://gitlab.kitware.com/vtk/vtk/-/issues/19100Unnecessary dependency on MPI for VTK2023-10-19T00:23:51-04:00Andrew MacleanUnnecessary dependency on MPI for VTKThis MR https://gitlab.kitware.com/vtk/vtk/-/merge_requests/10519/diffs?commit_id=0db77868f013b6e6f896a20e27cca85d3df31980 is causing this error when VTK is configured:
```cmd
CMake Error at CMake/vtkModule.cmake:1075 (message):
The ...This MR https://gitlab.kitware.com/vtk/vtk/-/merge_requests/10519/diffs?commit_id=0db77868f013b6e6f896a20e27cca85d3df31980 is causing this error when VTK is configured:
```cmd
CMake Error at CMake/vtkModule.cmake:1075 (message):
The VTK::FiltersSources module (enabled via a `WANT` setting (via
`VTK_GROUP_ENABLE_StandAlone`)) requires the disabled module
VTK::ParallelMPI (disabled due to the VTK::mpi module not being available
(via `VTK_USE_MPI`)).
Call Stack (most recent call first):
CMakeLists.txt:410 (vtk_module_scan)
```
The reason is that not all machines install MPI.
The build occurs OK if the line:
```cmake
VTK::ParallelMPI
```
is removed in `Filters\Sources\vtk.module`.
This is forcing an unnecessary dependency on MPI for VTK.Charly BollingerCharly Bollingerhttps://gitlab.kitware.com/vtk/vtk/-/issues/19096Internal faces are not correctly detected with degenerated cells2023-09-26T01:05:48-04:00Florian MaurinInternal faces are not correctly detected with degenerated cellsHere is a cube filled with some generated cells.
![image](/uploads/d166a435c92cd3f674863bc120e39e42/image.png){width=50%}
When playing with transparency, one can note that all the internal faces are not properly marked.
[Degenerated_c...Here is a cube filled with some generated cells.
![image](/uploads/d166a435c92cd3f674863bc120e39e42/image.png){width=50%}
When playing with transparency, one can note that all the internal faces are not properly marked.
[Degenerated_cube.vtu ](/uploads/936765c149242f6c0646ddb382113fbf/Degenerated_cube.vtu)
Edit:
I have reduced the problem to two linear Lagrange hexahedra
![image](/uploads/8dd32ed1b00eb47432b5fc279266bb6c/image.png)
[TwoDegeneratedLinearLagrangeHexes.vtu](/uploads/7311473fcdd69755b6916f28efe1792c/TwoDegeneratedLinearLagrangeHexes.vtu)https://gitlab.kitware.com/vtk/vtk/-/issues/19094vtkCompositePolyDataMapper & Static flag2023-11-01T13:53:23-04:00clintonstimpsonvtkCompositePolyDataMapper & Static flagSince it is now being recommended that `vtkCompositePolyDataMapper` be used instead of `vtkCompositePolyDataMapper2`, I'll point out a difference in behavior. That is, `vtkCompositePolyDataMapper::GetBounds()` doesn't return initialized...Since it is now being recommended that `vtkCompositePolyDataMapper` be used instead of `vtkCompositePolyDataMapper2`, I'll point out a difference in behavior. That is, `vtkCompositePolyDataMapper::GetBounds()` doesn't return initialized bounds like `vtkCompositePolyDataMapper2::GetBounds()` does, if the `Static` flag is enabled. The result is the actor gets culled and the dataset is not rendered. I'm seeing this issue when trying the VTK 9.3 RC.Jaswant Panchumarti (Kitware)Jaswant Panchumarti (Kitware)https://gitlab.kitware.com/vtk/vtk/-/issues/19093FDS Reader crashes with empty of malformed smv file2023-09-26T03:28:34-04:00Francois MazenFDS Reader crashes with empty of malformed smv fileFDS Reader crashes with empty of malformed smv file.
Steps to reproduce:
- Create an empty test.smv file
- Run this code:
```
vtkNew<vtkFDSReader> reader;
reader->SetFilename("test.smv");
reader->UpdateTimeStep(0.0);
```
- Crashes in ...FDS Reader crashes with empty of malformed smv file.
Steps to reproduce:
- Create an empty test.smv file
- Run this code:
```
vtkNew<vtkFDSReader> reader;
reader->SetFilename("test.smv");
reader->UpdateTimeStep(0.0);
```
- Crashes in `vtkFDSReader::RequestData`.
Expected behavior: error messages but no crash.
The issue looks simple to fix, just return 0 when `timeValues` is null in `vtkFDSReader::RequestData`. Quick fix will follow shortly.https://gitlab.kitware.com/vtk/vtk/-/issues/19091VTK is not supporting collapsed (degenerated) nonlinear cells2023-10-05T15:46:38-04:00Florian MaurinVTK is not supporting collapsed (degenerated) nonlinear cellsI have an example of a single tri-quadratic hexahedron where all the points of one face ( 9 points ) are merged into a single point. So it looks like it is a tri-quadratic pyramid, but the cell type is a tri-quadratic hexahedron.
[Deg...I have an example of a single tri-quadratic hexahedron where all the points of one face ( 9 points ) are merged into a single point. So it looks like it is a tri-quadratic pyramid, but the cell type is a tri-quadratic hexahedron.
[Degerated_tri-quadratic-hex.vtu](/uploads/da3a917d1a39ab8cb03c66ce478b37a9/Degerated_tri-quadratic-hex.vtu)
When you increase the nonlinear subdivision level, here is what you get:
![image](/uploads/f47c9847e2c96d9f628c3e87c2e2c2f3/image.png)
The feature edges bug might be linked to this issue that occur with a degenerate quads
https://gitlab.kitware.com/paraview/paraview/-/issues/21614https://gitlab.kitware.com/vtk/vtk/-/issues/19090FDS Reader not working with paraview nightly build (g24bd1d6c0f)2023-10-09T02:53:56-04:00Jonathan HodgesFDS Reader not working with paraview nightly build (g24bd1d6c0f)Hello @julien.fausty and @thomas.galland. I am working with NIST on visualizing FDS results in Paraview on an HPC. We were pointed to your recent commit adding an FDS reader functionality directly to VTK. We tried to test out the feature...Hello @julien.fausty and @thomas.galland. I am working with NIST on visualizing FDS results in Paraview on an HPC. We were pointed to your recent commit adding an FDS reader functionality directly to VTK. We tried to test out the feature earlier today on the paraview nightly build with a simple FDS case (attached) but were having issues. Do you have a few minutes to discuss the direction you would like to go with this functionality so we can coordinate efforts? Feel free to contact me at jhodges@jensenhughes.com and Randy McDermott randall.mcdermott@nist.gov. Thanks!
[visibility_adjustment.fds](/uploads/05252a29e6dfac829cb8eac5ac595107/visibility_adjustment.fds)https://gitlab.kitware.com/vtk/vtk/-/issues/19089WASM: Shader program error2023-10-19T17:54:30-04:00Jaswant Panchumarti (Kitware)WASM: Shader program errorThis issue was copied over from an external customer helpdesk.
Ploydata with lines generates the following error if edge or vertex visibility is set to true:
ERROR: In vtkShaderProgram.cxx, line 442
Uncomment following lines to genera...This issue was copied over from an external customer helpdesk.
Ploydata with lines generates the following error if edge or vertex visibility is set to true:
ERROR: In vtkShaderProgram.cxx, line 442
Uncomment following lines to generate error
```
//vtkProperty.SetEdgeVisibility(true);
//vtkProperty.SetVertexVisibility(true);
```
File to reproduce error:
[shader_program_error.7z](/uploads/9984b4db1beabc938bcee29d9e5bf7b4/shader_program_error.7z)Jaswant Panchumarti (Kitware)Jaswant Panchumarti (Kitware)https://gitlab.kitware.com/vtk/vtk/-/issues/19088XDMF and vtkTriQuadraticHexahedron2023-10-27T03:26:27-04:00Lukas SchöllerXDMF and vtkTriQuadraticHexahedronI'm not sure if this is the right platform for my question, maybe discourse would be better, but since it's directly related to the code I decided to post it here.
I'm trying to read an XDMF file via ParaView using the 'HEXAHEDRON_27' to...I'm not sure if this is the right platform for my question, maybe discourse would be better, but since it's directly related to the code I decided to post it here.
I'm trying to read an XDMF file via ParaView using the 'HEXAHEDRON_27' topology type. As far as I understand, this is getting me vtkTriQuadraticHexahedron objects. As the documentation of XDMF is very sparse on the order of the nodes, I tried the reverse approach: Create a vtkTriQuadraticHexahedron in ParaView and try to save it in an XDMF file.
Unfortunately, ParaView crashes during the conversion. Instead, I used the documentation on vtkTriQuadraticHexahedron to figure out the correct order of the HEXAHEDRON_27. But it still gave me an invalid object, see image.
So I had a look in vtk itself and found in [vtkXdmf3DataSet.cxx:723](IO/Xdmf3/vtkXdmf3DataSet.cxx#L723)
```c++
unsigned int vtkXdmf3DataSet::GetNumberOfPointsPerCell(int vtk_cell_type, bool& fail)
{
fail = false;
switch (vtk_cell_type)
{
// ...
case VTK_TRIQUADRATIC_HEXAHEDRON:
return 24;
}
fail = true;
return 0;
}
```
In my opinion, this should return 27. This would be an explanation why it crashes writing such an object to XDMF, and also why the right ordering gives still a defect object (only the last couple of nodes are wrong).
![image](/uploads/926cd6922197a4393d5fed9c9ecfce70/image.png)
I would like to test my thesis, but I'm only a user of vtk, and paraview and not a developer, so it not straightforward for me.https://gitlab.kitware.com/vtk/vtk/-/issues/19085vtkGLTFImporter/vtkGLTFReader hangs when searching for URI2023-09-21T04:02:50-04:00Mathieu Westphal (Kitware)vtkGLTFImporter/vtkGLTFReader hangs when searching for URIWith a certain [dataset](https://drive.google.com/file/d/11spGIZuOAAq7-WaiUbDpoVNCRmRD7vHp/view?usp=sharing) (which seems fairly common) vtkGLTFReader and vtkGLTFImporter hangs when calling `vtkURI::RemoveDotSegments`
```
while(!emp...With a certain [dataset](https://drive.google.com/file/d/11spGIZuOAAq7-WaiUbDpoVNCRmRD7vHp/view?usp=sharing) (which seems fairly common) vtkGLTFReader and vtkGLTFImporter hangs when calling `vtkURI::RemoveDotSegments`
```
while(!empty)
...
{
std::size_t firstSegment = input.find('/', 1);
output += input.substr(0, firstSegment);
input.erase(0, firstSegment);
}
```
We are parsing the entire file with this code, which is taking a very long time.
I think we should not be calling this but end up there anyway.
@alexy.pellegrini9.3https://gitlab.kitware.com/vtk/vtk/-/issues/19083How to write an STL or PLY in binary to bytes string2023-09-15T07:46:08-04:00Jeffrey WardmanHow to write an STL or PLY in binary to bytes stringe.g. in Python, for both STLs and PLYs, I want to get a string of bytes rather than write directly to a file.
E.g. something similar to vtk.vtkDataSetWriter()
```
writer = vtk.vtkSTLWriter()
writer.SetFileTypeToBinary()
writer.WriteToOu...e.g. in Python, for both STLs and PLYs, I want to get a string of bytes rather than write directly to a file.
E.g. something similar to vtk.vtkDataSetWriter()
```
writer = vtk.vtkSTLWriter()
writer.SetFileTypeToBinary()
writer.WriteToOutputStringOn()
writer.SetInputData(obj)
writer.GetBinaryOutputString()
```https://gitlab.kitware.com/vtk/vtk/-/issues/19082Release 9.3.0.rc22023-11-07T13:08:21-05:00Will DunklinRelease 9.3.0.rc2<!--
This template is for tracking a release of VTK. Please replace the
following strings with the associated values:
- `9.3.0` - replace with base version, e.g., 9.1.0
- `.rc2` - for release candidates, replace with ".rc?". For fin...<!--
This template is for tracking a release of VTK. Please replace the
following strings with the associated values:
- `9.3.0` - replace with base version, e.g., 9.1.0
- `.rc2` - for release candidates, replace with ".rc?". For final, replace with "".
- `9` - replace with major version number
- `3` - replace with minor version number
- `0` - replace with patch version number
- `release`: The branch to create the release on (for `x.y.0.rc1`,
`master`, otherwise `release`)
- `@BRANCHPOINT@`: The commit where the release should be started
Please remove this comment.
-->
# Update VTK
- Update the local copy of `release`.
- If `0.rc2` is `0.rc1`, update `master`
- Otherwise, update `release`
```
git fetch origin
git checkout release
git merge --ff-only origin/release # if this fails, there are local commits that need to be removed
git submodule update --recursive --init
```
- If `release` is not `master`, ensure merge requests which should be
in the release have been merged. The [`backport-mrs.py`][backport-mrs]
script can be used to find and ensure that merge requests assigned to the
associated milestone are available on the `release` branch.
- Make a commit for each of these changes on a single topic (suggested branch
name: `update-to-v9.3.0`):
- Assemble release notes into `Documentation/release/9.3.md`.
- [ ] If `PATCH` is greater than 0, add items to the end of this file.
- [ ] If `release` is `master`, update the non-patch version in a
separate commit (so that `master` gets it as well).
- [x] Remove old release note files
- [ ] Update `.gitlab/ci/cdash-groups.json` to track the `release` CDash
groups
- [ ] Update `CMake/vtkVersion.cmake` and tag the commit (tag this commit below)
```
$EDITOR CMake/vtkVersion.cmake
git commit -m 'Update version number to 9.3.0.rc2' CMake/vtkVersion.cmake
```
- Create a merge request targeting `release`
- [ ] Obtain a GitLab API token for the `kwrobot.release.vtk` user (ask
@ben.boeckel if you do not have one)
- [ ] Add the `kwrobot.release.vtk` user to your fork with at least
`Developer` privileges (so it can open MRs)
- [ ] Use [the `release-mr`][release-mr] script to open the create the
Merge Request (see script for usage)
- Pull the script for each release; it may have been updated since it
was last used
- The script outputs the information it will be using to create the
merge request. Please verify that it is all correct before creating
the merge request. See usage at the top of the script to provide
information that is either missing or incorrect (e.g., if its data
extraction heuristics fail).
- [x] Get positive review
- [x] `Do: merge`
- [x] Push the tag to the main repository
- [x] `git tag -a -m 'VTK 9.3.0.rc2' v9.3.0.rc2 commit-that-updated-vtkVersion.cmake`
- [x] `git push origin v9.3.0.rc2`
- [x] Update `vtk.org/download` with the new release (email
`marketing@kitware.com` with filenames and hashes)
- [x] Hashes can be found in the output of the `release-artifacts:upload` job
- Software process updates (these can all be done independently)
- [ ] Update kwrobot with the new `release` branch rules (@ben.boeckel)
- [ ] Run [this script][cdash-update-groups] to update the CDash groups
- This must be done after a nightly run to ensure all builds are in the
`release` group
- See the script itself for usage documentation
- Deprecation updates (if `release` is `master`)
- [ ] Update deprecation macros for the next release
- [ ] Remove deprecated symbols from before the *prior* release
- [ ] Update `VTK_MINIMUM_DEPRECATION_LEVEL` to be that of the *prior*
release
[backport-mrs]: https://gitlab.kitware.com/utils/release-utils/-/blob/master/backport-mrs.py
[release-mr]: https://gitlab.kitware.com/utils/release-utils/-/blob/master/release-mr.py
[cdash-update-groups]: https://gitlab.kitware.com/utils/cdash-utils/-/blob/master/cdash-update-groups.py
# Post-release
- [ ] Post an announcement in the Announcements category on
[discourse.vtk.org](https://discourse.vtk.org/).
/cc @ben.boeckel
/cc @berkgeveci
/cc @vboleahttps://gitlab.kitware.com/vtk/vtk/-/issues/19081VTK DICOMImageReader Error2023-09-15T07:50:05-04:00Junhyuk ParkVTK DICOMImageReader ErrorHello, everyone!
I got an unknown error while using the VTK library on Python, so I need help if anyone knows.\
There are DICOM files that open normally in ITK snap, but there is data that fails when creating a maximum intensity project...Hello, everyone!
I got an unknown error while using the VTK library on Python, so I need help if anyone knows.\
There are DICOM files that open normally in ITK snap, but there is data that fails when creating a maximum intensity projection (MIP) through VTK.
To view this data
dicom_reader = vtk.vtkDICOMImageReader()\
dicom_reader.SetDirectoryName(data_dir)\
dicom_reader.Update()\
print(dicom_reader)
When you read the dicom reader in this way, the output below appears.
`vtkDICOMImageReader (000002DC5E36DFE0)`
`Debug: Off`
`Modified Time: 253`
`Reference Count: 2`
`Registered Events: (none)`
`Executive: 000002DC5C7F54B0`
`ErrorCode: FileFormatError`
`Information: 000002DC5AE3C960`
`AbortExecute: Off`
`Progress: 1`
`Progress Text: (None)`
`FileName: (none)`
`FileNames: 0000000000000000`
`FilePrefix: (none)`
`FilePattern: %s.%d`
`FileNameSliceOffset: 0`
`FileNameSliceSpacing: 1`
`DataScalarType: short`
`NumberOfScalarComponents: 1`
`File Dimensionality: 2`
`File Lower Left: Off`
`Swap Bytes: Off`
`DataIncrements: (2, 1024, 524288, 54525952)`
`DataExtent: (0, 511, 0, 511, 0, 103)`
`DataSpacing: (0.765625, 0.765625, 5)`
`DataDirection: (1, 0, 0, 0, 1, 0, 0, 0, 1)`
`DataOrigin: (0, 0, 0)`
`HeaderSize: 0`
`Internal File Name: (none)`
`DirectoryName : ./1752122477/`
`FileName : (nullptr)`
Compared to the existing normal data, the difference is ErrorCode: FileFormatError.\
In normal data, this part appears as NoError.
I searched but I couldn’t find anything that was written in detail about this part. If anyone knows, can you tell me what the problem is?
Thank you.
---
Additionally, the error message appears like this.
`( 2.083s) [ ]vtkDICOMImageReader.cxx:326 ERR| vtkDICOMImageReader (000002A7E543C1F0): There was a problem retrieving data `**`from`**`: ./1752122477`_`//1752122477.0.dcm`_
`( 2.217s) [ ] vtkExecutive.cxx:741 ERR| vtkCompositeDataPipeline (000002A7E559E780): Algorithm `**`vtkDICOMImageReader`**` (000002A7E543C1F0) returned failure `**`for`**` request: `**`vtkInformation`** `(000002A7E1DDBEA0)`