VTK issueshttps://gitlab.kitware.com/vtk/vtk/-/issues2022-10-16T22:16:03-04:00https://gitlab.kitware.com/vtk/vtk/-/issues/18690vtkTemporalInterpolator Factor mode is missing the last timestep2022-10-16T22:16:03-04:00Mathieu Westphal (Kitware)vtkTemporalInterpolator Factor mode is missing the last timestepvtkTemporalInterpolator Factor mode is missing the last timestep
Steps to reproduce (with ParaView):
- Run ParaView
- Open can.ex2, Apply, Merge Blocks, Apply
- Check number of timesteps : 44
- TemporalInterpolator, Ressample Factor 1, ...vtkTemporalInterpolator Factor mode is missing the last timestep
Steps to reproduce (with ParaView):
- Run ParaView
- Open can.ex2, Apply, Merge Blocks, Apply
- Check number of timesteps : 44
- TemporalInterpolator, Ressample Factor 1, Apply
- Check number of timesteps : 43, unexpected, all timesteps should be present with ResampleFactor == 1https://gitlab.kitware.com/vtk/vtk/-/issues/18689Segfault on wrongly formated .vtk file2022-10-13T23:00:52-04:00Mathieu Westphal (Kitware)Segfault on wrongly formated .vtk fileVTK segfault on reading this file: [viz_g1_max_2_.vtk](/uploads/c73de09b11ddb35130d6fcbdafd505fb/viz_g1_max_2_.vtk)
It displays on error then segfaults.
Steps to repro:
- run ParaView
- Open file
- Apply
Fixed by !9622VTK segfault on reading this file: [viz_g1_max_2_.vtk](/uploads/c73de09b11ddb35130d6fcbdafd505fb/viz_g1_max_2_.vtk)
It displays on error then segfaults.
Steps to repro:
- run ParaView
- Open file
- Apply
Fixed by !9622Mathieu Westphal (Kitware)Mathieu Westphal (Kitware)https://gitlab.kitware.com/vtk/vtk/-/issues/186879.2.2 Does it have cinematic volume rendering capabilities?2022-10-12T21:31:01-04:00188101861039.2.2 Does it have cinematic volume rendering capabilities?9.2.2 Does it have cinematic volume rendering capabilities?9.2.2 Does it have cinematic volume rendering capabilities?https://gitlab.kitware.com/vtk/vtk/-/issues/18686InterpolateScalarsBeforeMapping does not work as expected2022-10-13T00:47:24-04:00abner waterInterpolateScalarsBeforeMapping does not work as expectedvtkUnstructedGrid scalar color does not match when SetInterpolateScalarsBeforeMapping(1) and SetInterpolateScalarsBeforeMapping(0)
here is the test code, this vtu file displays right in paraview like this.
![paraLIC](/uploads/7a33be7188...vtkUnstructedGrid scalar color does not match when SetInterpolateScalarsBeforeMapping(1) and SetInterpolateScalarsBeforeMapping(0)
here is the test code, this vtu file displays right in paraview like this.
![paraLIC](/uploads/7a33be7188fbe7590490a3e950a0743a/paraLIC.png)
![para](/uploads/ef2c09a560d68c8f49bbd3bad1d76e31/para.png)
```c++
void main(int argc, char* argv[])
{
// Create the reader for the data.
std::string filename = "2.vtu";
std::cout << "Loading " << filename.c_str() << std::endl;
vtkNew<vtkXMLUnstructuredGridReader> reader;
reader->SetFileName(filename.c_str());
reader->Update();
vtkDataSet* data = reader->GetOutput();
double range[2]{ 0 };
data->GetPointData()->GetArray("Order 1")->GetRange(range, 3);
vtkNew<vtkLookupTable> lt;
lt->SetRange(range);
lt->SetNumberOfColors(15);
lt->Build();
vtkNew<vtkDataSetMapper> mapper;
mapper->SetLookupTable(lt.GetPointer());
mapper->SetInputConnection(reader->GetOutputPort());
mapper->SetScalarVisibility(true);
mapper->SetScalarModeToUsePointFieldData();
mapper->ColorByArrayComponent("Order 1", 3);
mapper->SetScalarRange(range);
mapper->SetInterpolateScalarsBeforeMapping(1);
mapper->Update();
vtkNew<vtkNamedColors> colors;
vtkNew<vtkActor> actor;
actor->SetMapper(mapper.GetPointer());
vtkNew<vtkRenderer> renderer;
renderer->AddActor(actor.GetPointer());
renderer->SetBackground(colors->GetColor3d("Wheat").GetData());
renderer->UseHiddenLineRemovalOn();
vtkNew<vtkRenderWindow> renderWindow;
renderWindow->AddRenderer(renderer.GetPointer());
renderWindow->SetSize(640, 480);
vtkNew<vtkRenderWindowInteractor> interactor;
interactor->SetRenderWindow(renderWindow.GetPointer());
renderer->ResetCamera();
renderer->ResetCameraClippingRange();
renderWindow->Render();
interactor->Start();
}
```
here is the result when SetInterpolateScalarsBeforeMapping(1)
![on](/uploads/9eda06844ffc9f9e53951c7406df91fa/on.png)
but it should be like this SetInterpolateScalarsBeforeMapping(0)
![off](/uploads/84cb65413bb6e926f6eb4b0b920450e7/off.png)
So is this a bug or something wrong with my code?
Need help and thanks.https://gitlab.kitware.com/vtk/vtk/-/issues/18685Broken links when building and installing VTK Python wrapper with Wheels2022-10-14T17:16:52-04:00Norman SpecificusBroken links when building and installing VTK Python wrapper with Wheels**Context**: I'm trying to build the VTK Python library from source (Master branch, 7bdac23fc6) on MacOS 12.5.
In my setup, I set the prefix/installation path of the library. For this to work I need to set the rpath explicitly, otherwis...**Context**: I'm trying to build the VTK Python library from source (Master branch, 7bdac23fc6) on MacOS 12.5.
In my setup, I set the prefix/installation path of the library. For this to work I need to set the rpath explicitly, otherwise I would get an import error after installing the library, when loading the vtk package in Python. With the following commands, I can build VTK with Python wrapper successfully:
```bash
rm -rf build
mkdir build
cd build
VTK_INSTALL_DIR=path/to/install/dir
QT_DIR=path/to/dir/with/qmake
cmake -G Ninja .. -DCMAKE_BUILD_TYPE="Release" \ 130 ↵
-DVTK_WRAP_PYTHON="ON" \
-DBUILD_SHARED_LIBS="ON" \
-DVTK_BUILD_TESTING="OFF" \
-DVTK_BUILD_EXAMPLES="OFF" \
-DVTK_GROUP_ENABLE_Qt="YES" \
-DVTK_WHEEL_BUILD="OFF" \
-DBUILD_TESTING="OFF" \
-DCMAKE_PREFIX_PATH="$QT_DIR/.." \
-DCMAKE_INSTALL_PREFIX="$VTK_INSTALL_DIR" \
-DCMAKE_MACOSX_RPATH="ON" \
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH="ON" \
-DCMAKE_INSTALL_RPATH="$VTK_INSTALL_DIR/lib"
ninja
ninja install
export PYTHONPATH="$VTK_INSTALL_DIR/lib/python3.10/site-packages/":$PYTHONPATH
python -c "import vtk; print(vtk.vtkVersion().GetVTKVersion())"
# This runs successfully!
```
**Problem**
However, if enable [option `VTK_WHEEL_BUILD="ON"`](https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/build.md#python-wheels), I run into problems after installation.
First, the folder structure of the install directory is broken. For instance, the include directory now resides inside the wheel data folder (in my case, this was: vtk-9.2.20221011.data). Second, when loading the library in Python, I get an import error with "Library not loaded": `Library not loaded: '@rpath/libvtkWrappingPythonCore3.10.dylib' Referenced from: '/opt/pyenv/versions/3.10.5/lib/python3.10/site-packages/vtkmodules/vtkCommonCore.cpython-310-darwin.so`
The cmake command is the same as above, just with VTK_WHEEL_BUILD="ON" changed.
```bash
cmake -G Ninja .. -DCMAKE_BUILD_TYPE="Release" \
-DVTK_WRAP_PYTHON="ON" \
-DBUILD_SHARED_LIBS="ON" \
-DVTK_BUILD_TESTING="OFF" \
-DVTK_BUILD_EXAMPLES="OFF" \
-DVTK_GROUP_ENABLE_Qt="YES" \
-DVTK_WHEEL_BUILD="ON" \
-DBUILD_TESTING="OFF" \
-DCMAKE_PREFIX_PATH="$QT_DIR/.." \
-DCMAKE_INSTALL_PREFIX="$VTK_INSTALL_DIR" \
-DCMAKE_MACOSX_RPATH="ON" \
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH="ON" \
-DCMAKE_INSTALL_RPATH="$VTK_INSTALL_DIR/lib"
ninja
python setup.py bdist_wheel
# python -m pip uninstall vtk
python -m pip install dist/*.whl --force-reinstall
```
The above runs successfully, but I get an error if I enter `import vtk` in a Python console.
**Workaround**:
I can get rid of the import error if I comment out the following lines in the file [CMake/vtkWheelPreparation.cmake](https://github.com/Kitware/VTK/blob/7bdac23fc67d77b1cae7e8cbd37184a4865123cc/CMake/vtkWheelPreparation.cmake#L76):
```CMake
set(CMAKE_BUILD_WITH_INSTALL_NAME_DIR ON)
set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
set(CMAKE_INSTALL_NAME_DIR "@rpath")
list(APPEND CMAKE_INSTALL_RPATH
"@loader_path")
```
Then, everything works again. In other words: The rpath flags are overridden automatically when VTK_WHEEL_BUILD is set, which causes the problem observed.https://gitlab.kitware.com/vtk/vtk/-/issues/18682BUG: vtk 9.2.2 vtkPlotBar.GetLookupTable segfaults2022-10-13T23:58:49-04:00Eric LarsonBUG: vtk 9.2.2 vtkPlotBar.GetLookupTable segfaultsRunning Mayavi build on conda-forge we get an error:
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=581503&view=logs&jobId=d0d954b5-f111-5dc4-4d76-03b6c9d0cf7e&j=d0d954b5-f111-5dc4-4d76-03b6c9d0cf7e&t=841356e0...Running Mayavi build on conda-forge we get an error:
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=581503&view=logs&jobId=d0d954b5-f111-5dc4-4d76-03b6c9d0cf7e&j=d0d954b5-f111-5dc4-4d76-03b6c9d0cf7e&t=841356e0-85bb-57d8-dbbc-852e683d1642
It's easily replicated in Python with:
```Python
>>> import faulthandler; faulthandler.enable()
>>> import vtk
>>> vtk.VTK_VERSION
'9.2.2'
>>> pb = vtk.vtkPlotBar()
>>> pb.GetLookupTable()
Fatal Python error: Segmentation fault
Current thread 0x00007fd04bdd4000 (most recent call first):
File "<stdin>", line 1 in <module>
```https://gitlab.kitware.com/vtk/vtk/-/issues/18679how to resolve "missing dependency" - VTK::FiltersCore dependency is missing2022-10-10T09:56:35-04:00shuonanhow to resolve "missing dependency" - VTK::FiltersCore dependency is missingCompiling vtk gave this error:
```
CMake Error at CMake/vtkModule.cmake:2618 (message):
The VTK::FiltersCore dependency is missing for VTK::FiltersGeometry.
Call Stack (most recent call first):
CMakeLists.txt:449 (vtk_module_bui...Compiling vtk gave this error:
```
CMake Error at CMake/vtkModule.cmake:2618 (message):
The VTK::FiltersCore dependency is missing for VTK::FiltersGeometry.
Call Stack (most recent call first):
CMakeLists.txt:449 (vtk_module_build)
```
I am fairly new to cmake and vtk so a little clueless - any suggestions would be highly appreciated!
These are my build settings:
```
BUILD_SHARED_LIBS ON
CMAKE_BUILD_TYPE Release
CMAKE_INSTALL_PREFIX /usr/local
Python3_EXECUTABLE /usr/bin/python3.6
VTK_BUILD_DOCUMENTATION OFF
VTK_BUILD_EXAMPLES OFF
VTK_BUILD_SCALED_SOA_ARRAYS OFF
VTK_BUILD_TESTING ON
VTK_EXTRA_COMPILER_WARNINGS ON
VTK_GROUP_ENABLE_Imaging DEFAULT
VTK_GROUP_ENABLE_MPI DEFAULT
VTK_GROUP_ENABLE_Qt DEFAULT
VTK_GROUP_ENABLE_Rendering DEFAULT
VTK_GROUP_ENABLE_StandAlone DEFAULT
VTK_GROUP_ENABLE_Views DEFAULT
VTK_GROUP_ENABLE_Web DEFAULT
VTK_PYTHON_VERSION 3
VTK_SMP_IMPLEMENTATION_TYPE Sequential
VTK_USE_CUDA OFF
VTK_USE_LARGE_DATA OFF
VTK_USE_MEMKIND OFF
VTK_USE_MPI OFF
VTK_WRAP_JAVA OFF
VTK_WRAP_PYTHON OFF
```https://gitlab.kitware.com/vtk/vtk/-/issues/18678Possible inconsistency in vtknetcdf?2022-10-01T07:43:42-04:00BerndPossible inconsistency in vtknetcdf?The VERSION variable in `ThirdParty/netcdf/vtknetcdf/CMakeLists.txt` is being set to be 4.8.1. However the `PACKAGE_VERSION` is defined to be "4.5.0"[1]. Is this correct?
[1] https://gitlab.kitware.com/vtk/vtk/-/blob/master/ThirdParty/n...The VERSION variable in `ThirdParty/netcdf/vtknetcdf/CMakeLists.txt` is being set to be 4.8.1. However the `PACKAGE_VERSION` is defined to be "4.5.0"[1]. Is this correct?
[1] https://gitlab.kitware.com/vtk/vtk/-/blob/master/ThirdParty/netcdf/vtknetcdf/CMakeLists.txt#L251https://gitlab.kitware.com/vtk/vtk/-/issues/18677VTK failed to build with error 2872 on MSVC2022-10-21T20:56:32-04:00mi niMoVTK failed to build with error 2872 on MSVCHi all, VTK fails to build on MSVC due to error C2872. Could you help look?
**error message**
```
F:\gitP\vtk\vtk\Common\Core\vtkGenericDataArrayLookupHelper.h(147,1): C2872: 'detail': ambiguous symbol [F:\gitP\vtk\vtk\build_x86\Para...Hi all, VTK fails to build on MSVC due to error C2872. Could you help look?
**error message**
```
F:\gitP\vtk\vtk\Common\Core\vtkGenericDataArrayLookupHelper.h(147,1): C2872: 'detail': ambiguous symbol [F:\gitP\vtk\vtk\build_x86\Parallel\DIY\ParallelDIY.vcxproj]
```
**Version Information**
the commit of VTK we use is bfa3e4c windows server 2019 VS version: VS2019 (16.11.18)
**Steps to reproduce the problem**
1. git clone https://gitlab.kitware.com/vtk/vtk/ F:\\gitP\\vtk\\vtk
2. cd F:\\gitP\\vtk\\vtk
3. set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=amd64
4. mkdir build_amd64
5. cd F:\\gitP\\vtk\\vtk\\build_amd64
6. cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -DBUILD_SHARED_LIBS=OFF -DVTK_BUILD_TESTING=WANT -DVTK_BUILD_EXAMPLES=OFF -DVTK_IGNORE_CMAKE_CXX11_CHECKS=TRUE -DVTK_DATA_EXCLUDE_FROM_ALL=ON .. 2>&1
7. cd F:\\gitP\\vtk\\vtk\\build_amd64
8. msbuild /m /p:Platform=Win32 /p:Configuration=Release All_BUILD.vcxproj /t:Rebuild 2>&1https://gitlab.kitware.com/vtk/vtk/-/issues/18675Release 9.2.22023-06-01T00:54:55-04:00Ben BoeckelRelease 9.2.2# Update VTK
- Update the local copy of `release`.
- If `1` 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 loca...# Update VTK
- Update the local copy of `release`.
- If `1` 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.2.2`):
- Assemble release notes into `Documentation/release/9.2.md`.
- [x] If `PATCH` is greater than 0, add items to the end of this file.
- [x] 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
- [x] Update `.gitlab/ci/cdash-groups.json` to track the `release` CDash
groups
- [x] Update `CMake/vtkVersion.cmake` and tag the commit (tag this commit below)
```
$EDITOR CMake/vtkVersion.cmake
git commit -m 'Update version number to 9.2.2' CMake/vtkVersion.cmake
```
- Create a merge request targeting `release`
- [x] Obtain a GitLab API token for the `kwrobot.release.vtk` user (ask
@ben.boeckel if you do not have one)
- [x] Add the `kwrobot.release.vtk` user to your fork with at least
`Developer` privileges (so it can open MRs)
- [x] 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.2.2' v9.2.2 commit-that-updated-vtkVersion.cmake`
- [x] `git push origin v9.2.2`
- Gather release assets
- [x] Source (from the `build:source` CI job in the tag pipeline)
- [x] Documentation (from the `release-prep:documentation` CI job in the tag pipeline)
- [x] Wheels (from the `build:wheel-*` jobs).
- [x] Wheel SDKs (from the `build:wheel-*` jobs (`vtk-wheel-sdk-*.tar.xz`)).
- Upload assets to `vtk.org`
- [x] `rsync -rptv $tarballs $wheels $wheel_sdks user@host:vtk_release/9.2/`
- [x] `rsync -rptv $wheel_sdks user@host:wheel-sdks/`
- [x] Update `vtk.org/download` with the new release (email
`comm@kitware.com` with filenames and hashes)
- Software process updates (these can all be done independently)
- [x] Update kwrobot with the new `release` branch rules (@ben.boeckel)
- [x] 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`)
- [x] Update deprecation macros for the next release
- [x] Remove deprecated symbols from before the *prior* release
- [x] 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
- [x] Post an announcement in the Announcements category on
[discourse.vtk.org](https://discourse.vtk.org/).
/cc @ben.boeckel
/cc @berkgeveci
/cc @vboleaBen BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/18672VTK failed to build with error 2666 on MSVC2022-09-28T18:41:57-04:00mi niMoVTK failed to build with error 2666 on MSVCHi, all
VTK fails to build on MSVC due to error C2666. Could you help look?
**error message**
```
F:\gitP\vtk\vtk\IO\MINC\vtkMINCImageAttributes.cxx(468,12): error C2666: 'std::basic_string<char,std::char_traits<char>,std::allocator<ch...Hi, all
VTK fails to build on MSVC due to error C2666. Could you help look?
**error message**
```
F:\gitP\vtk\vtk\IO\MINC\vtkMINCImageAttributes.cxx(468,12): error C2666: 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::operator []': overloaded functions have similar conversions [F:\gitP\vtk\vtk\build_x86\IO\MINC\IOMINC.vcxproj]
```
**Version Information**
the commit of Azerothcore_wotlk we use is 3d19079
windows server 2019
VS version: VS2019 (16.11.11)
**Steps to reproduce the problem**
1. git clone https://gitlab.kitware.com/vtk/vtk/ F:\gitP\vtk\vtk
2. cd F:\gitP\vtk\vtk
3. set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=x86 -arch=x86
4. mkdir build_x86
5. cd F:\gitP\vtk\vtk\build_x86
6. cmake -G "Visual Studio 16 2019" -A Win32 -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -DBUILD_SHARED_LIBS=OFF -DVTK_BUILD_TESTING=WANT -DVTK_BUILD_EXAMPLES=OFF -DVTK_IGNORE_CMAKE_CXX11_CHECKS=TRUE -DVTK_DATA_EXCLUDE_FROM_ALL=ON .. 2>&1
7. cd F:\gitP\vtk\vtk\build_x86
8. msbuild /m /p:Platform=Win32 /p:Configuration=Release All_BUILD.vcxproj /t:Rebuild 2>&1https://gitlab.kitware.com/vtk/vtk/-/issues/18670Doxygen: broken links for tests and examples2022-09-29T08:22:52-04:00Christos TsolakisDoxygen: broken links for tests and examplesLinks to vtk tests and examples (not online examples at https://kitware.github.io/vtk-examples ) are currently broken. For instance,
any link in this list:
https://vtk.org/doc/nightly/html/c2_vtk_e_0.html#c2_vtk_e_vtkImageData
Any link...Links to vtk tests and examples (not online examples at https://kitware.github.io/vtk-examples ) are currently broken. For instance,
any link in this list:
https://vtk.org/doc/nightly/html/c2_vtk_e_0.html#c2_vtk_e_vtkImageData
Any link in here:
https://vtk.org/doc/nightly/html/c2_vtk_t_8.html#c2_vtk_t_vtkHull
All links seem to use the not yet released `9.2.0` tag. For example:
[https://gitlab.kitware.com/vtk/vtk/-/blob/**v9.2.0**/Examples/ImageProcessing/Cxx/ImageBenchmark.cxx](https://gitlab.kitware.com/vtk/vtk/-/blob/v9.2.0/Examples/ImageProcessing/Cxx/ImageBenchmark.cxx)
switching to
[https://gitlab.kitware.com/vtk/vtk/-/blob/**v9.2.0.rc2**/Examples/ImageProcessing/Cxx/ImageBenchmark.cxx](https://gitlab.kitware.com/vtk/vtk/-/blob/v9.2.0.rc2/Examples/ImageProcessing/Cxx/ImageBenchmark.cxx)
Gives access to the current latest tag.
As a sidenote:
Should we use a commit hash instead of a tag for these since the doxygen documentation is already built based on nightly ?https://gitlab.kitware.com/vtk/vtk/-/issues/18669Rendering error when marking the mouse pick triangle2022-09-18T22:54:15-04:00yangyang0312Rendering error when marking the mouse pick triangleVTK is new to me, When I try to mark the triangle picked by the mouse as red, Triangles do not render properly.
Here is a video:
https://discourse.vtk.org/uploads/default/original/2X/8/80e8d7eccbc6b16e37b9c881a3ad2332edf0bd15.gif
Envir...VTK is new to me, When I try to mark the triangle picked by the mouse as red, Triangles do not render properly.
Here is a video:
https://discourse.vtk.org/uploads/default/original/2X/8/80e8d7eccbc6b16e37b9c881a3ad2332edf0bd15.gif
Environment:
OS version: Windows 10 21H2
Python version: 3.8
Vtk version: 9.1.0
Here is a minimal example that reproduces the issue.
```
#!/usr/bin/env python
# noinspection PyUnresolvedReferences
import vtkmodules.vtkInteractionStyle
# noinspection PyUnresolvedReferences
import vtkmodules.vtkRenderingOpenGL2
from vtkmodules.vtkIOPLY import vtkPLYReader
from vtkmodules.vtkCommonColor import vtkNamedColors
from vtkmodules.vtkCommonCore import vtkIdTypeArray
from vtkmodules.vtkIOLegacy import vtkPolyDataReader
from vtkmodules.vtkCommonDataModel import (
vtkSelection,
vtkSelectionNode,
vtkUnstructuredGrid,
)
from vtkmodules.vtkFiltersExtraction import vtkExtractSelection
from vtkmodules.vtkInteractionStyle import vtkInteractorStyleTrackballCamera
from vtkmodules.vtkRenderingCore import (
vtkActor,
vtkCellPicker,
vtkDataSetMapper,
vtkPolyDataMapper,
vtkRenderWindow,
vtkRenderWindowInteractor,
vtkRenderer
)
# Catch mouse events
class MouseInteractorStyle(vtkInteractorStyleTrackballCamera):
def __init__(self, data):
self.AddObserver('LeftButtonPressEvent', self.left_button_press_event)
self.data = data
self.selected_mapper = vtkDataSetMapper()
self.selected_actor = vtkActor()
def left_button_press_event(self, obj, event):
colors = vtkNamedColors()
# Get the location of the click (in window coordinates)
pos = self.GetInteractor().GetEventPosition()
picker = vtkCellPicker()
picker.SetTolerance(0.0005)
# Pick from this location.
picker.Pick(pos[0], pos[1], 0, self.GetDefaultRenderer())
world_position = picker.GetPickPosition()
print(f'Cell id is: {picker.GetCellId()}')
if picker.GetCellId() != -1:
print(f'Pick position is: ({world_position[0]:.6g}, {world_position[1]:.6g}, {world_position[2]:.6g})')
ids = vtkIdTypeArray()
ids.SetNumberOfComponents(1)
ids.InsertNextValue(picker.GetCellId())
selection_node = vtkSelectionNode()
selection_node.SetFieldType(vtkSelectionNode.CELL)
selection_node.SetContentType(vtkSelectionNode.INDICES)
selection_node.SetSelectionList(ids)
selection = vtkSelection()
selection.AddNode(selection_node)
extract_selection = vtkExtractSelection()
extract_selection.SetInputData(0, self.data)
extract_selection.SetInputData(1, selection)
extract_selection.Update()
# In selection
selected = vtkUnstructuredGrid()
selected.ShallowCopy(extract_selection.GetOutput())
print(f'Number of points in the selection: {selected.GetNumberOfPoints()}')
print(f'Number of cells in the selection : {selected.GetNumberOfCells()}')
self.selected_mapper.SetInputData(selected)
self.selected_actor.SetMapper(self.selected_mapper)
self.selected_actor.GetProperty().EdgeVisibilityOn()
self.selected_actor.GetProperty().SetColor(colors.GetColor3d('Tomato'))
# self.selected_actor.GetProperty().SetLineWidth(3)
self.GetInteractor().GetRenderWindow().GetRenderers().GetFirstRenderer().AddActor(self.selected_actor)
# Forward events
self.OnLeftButtonDown()
def main():
pd_fn = get_program_parameters()
colors = vtkNamedColors()
polyData = ReadPolyData(pd_fn)
mapper = vtkPolyDataMapper()
mapper.SetInputData(polyData)
actor = vtkActor()
actor.SetMapper(mapper)
actor.GetProperty().SetDiffuseColor(colors.GetColor3d('Crimson'))
actor.GetProperty().EdgeVisibilityOn()
actor.GetProperty().SetColor(colors.GetColor3d('AliceBlue'))
actor.GetProperty().SetEdgeColor(colors.GetColor3d('SteelBlue'))
renderer = vtkRenderer()
renderWindow = vtkRenderWindow()
renderWindow.AddRenderer(renderer)
renderWindow.SetWindowName('Test cell pick')
renderWindowInteractor = vtkRenderWindowInteractor()
renderer.AddActor(actor)
renderer.UseHiddenLineRemovalOff()
renderer.SetBackground(colors.GetColor3d('Silver'))
picker = vtkCellPicker()
renderWindowInteractor.SetPicker(picker)
# Add the custom style.
style = MouseInteractorStyle(polyData)
style.SetDefaultRenderer(renderer)
renderWindowInteractor.SetInteractorStyle(style)
# Interact to change camera.
renderWindowInteractor.SetRenderWindow(renderWindow)
renderWindow.Render()
renderWindowInteractor.Start()
def get_program_parameters():
import argparse
description = 'Test cell pick'
epilogue = '''
'''
parser = argparse.ArgumentParser(description=description, epilog=epilogue,
formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument('data_file', help='A polydata file e.g. honolulu.vtk or Armadillo.ply. in folder Testing\Data')
args = parser.parse_args()
return args.data_file
def ReadPolyData(file_name):
import os
path, extension = os.path.splitext(file_name)
extension = extension.lower()
if extension == '.ply':
reader = vtkPLYReader()
reader.SetFileName(file_name)
reader.Update()
poly_data = reader.GetOutput()
elif extension == '.vtk':
reader = vtkPolyDataReader()
reader.SetFileName(file_name)
reader.Update()
poly_data = reader.GetOutput()
return poly_data
if __name__ == '__main__':
main()
```https://gitlab.kitware.com/vtk/vtk/-/issues/18667works in debug mode but not in release mode ( vtk9.2.0 )2022-09-13T23:32:17-04:00HyungJoo-Kwonworks in debug mode but not in release mode ( vtk9.2.0 )Hello, I try to get 3 xyz coordinates per cell using NumCpp and vtk.
```
vtkNew<vtkIdList> idL;
polydata->GetPolys()->InitTraversal();
auto cellpoints = nc::NdArray<float>(polydata->GetNumberOfCells(), 9);
for (int i = 0; i < po...Hello, I try to get 3 xyz coordinates per cell using NumCpp and vtk.
```
vtkNew<vtkIdList> idL;
polydata->GetPolys()->InitTraversal();
auto cellpoints = nc::NdArray<float>(polydata->GetNumberOfCells(), 9);
for (int i = 0; i < polydata->GetNumberOfCells(); i++)
{
decimated->GetPolys()->GetNextCell(idL);
int a = idL->GetId(0);
int b = idL->GetId(1);
int c = idL->GetId(2);
cellpoints(i, 0) = points(a, 0);
cellpoints(i, 1) = points(a, 1);
cellpoints(i, 2) = points(a, 2);
cellpoints(i, 3) = points(b, 0);
cellpoints(i, 4) = points(b, 1);
cellpoints(i, 5) = points(b, 2);
cellpoints(i, 6) = points(c, 0);
cellpoints(i, 7) = points(c, 1);
cellpoints(i, 8) = points(c, 2);
}
```
This code works in debug mode but not in release mode.
In GetId(), Occur access violation.
I checked everything I could, but I couldn't solve it.
Is there a way to solve this problem?https://gitlab.kitware.com/vtk/vtk/-/issues/18666Sizes that VTK_SIZEHINT cannot hint2022-09-14T10:46:20-04:00David GobbiSizes that VTK_SIZEHINT cannot hintThe new vtkCell3D API has methods which cannot be used from the wrappers, because `VTK_SIZEHINT` cannot hint the number of `faceIds`, `edgeIds`, or `pts` that the methods return:
```c++
vtkIdType GetFaceToAdjacentFaces(vtkIdType faceId, ...The new vtkCell3D API has methods which cannot be used from the wrappers, because `VTK_SIZEHINT` cannot hint the number of `faceIds`, `edgeIds`, or `pts` that the methods return:
```c++
vtkIdType GetFaceToAdjacentFaces(vtkIdType faceId, const vtkIdType*& faceIds);
vtkIdType GetPointToIncidentEdges(vtkIdType pointId, const vtkIdType*& edgeIds);
vtkIdType GetPointToIncidentFaces(vtkIdType pointId, const vtkIdType*& faceIds);
vtkIdType GetPointToOneRingPoints(vtkIdType pointId, const vtkIdType*& pts);
```
The only new method that can accept a hint is `GetEdgeToAdjacentFaces()`, since the number of faceIds is always '2'
```diff
void GetEdgeToAdjacentFaces(vtkIdType edgeId, const vtkIdType*& faceIds)
+ VTK_SIZEHINT(faceIds, 2);
```
To fix this issue, `VTK_SIZEHINT` could be modified so that it accepts a keyword to indicate that the method's return value is to be used as the size:
```diff
vtkIdType GetFaceToAdjacentFaces(vtkIdType faceId, const vtkIdType*& faceIds)
+ VTK_SIZEHINT(faceIds, RETURN_VALUE);
```
Alternatively, in order to avoid potential name conflicts, some kind of punctuation could be used instead:
```diff
vtkIdType GetFaceToAdjacentFaces(vtkIdType faceId, const vtkIdType*& faceIds)
+ VTK_SIZEHINT(faceIds, -);
```
though I don't know what punctuation best signifies "use the return value".
----
Edit: I definitely can't use `-` to signify 'return value', since it cannot be used as an identifier in a mathematical expression. But I can use '\_', which is a valid identifier. E.g. `VTK_SIZEHINT(x, _)` or `VTK_SIZEHINT(x, 2*_)`. Assuming that nobody uses '_' as a parameter name...
----
Edit 2: With the hints in place, the wrapper's "reference" type can be used to call these methods from Python:
```python
from vtkmodules.vtkCommonCore import reference
faceIds = reference(()) # create an empty tuple reference
cell.GetPointToIncidentFaces(pointId, faceIds);
print(faceIds)
(1, 2, 3)
```
which is equivalent to this C++ code:
```c++
const vtkIdType* faceIds = nullptr;
vtkIdType n = cell->GetPointToIncidentFaces(pointId, faceIds);
```David GobbiDavid Gobbihttps://gitlab.kitware.com/vtk/vtk/-/issues/18665libharu 2.4.1 breaks cmake discovery2022-09-13T10:19:46-04:00Anthony Miyaguchilibharu 2.4.1 breaks cmake discoveryI recently ran into an issue installing [pcl](https://aur.archlinux.org/packages/pcl), which has vtk as a dependency. I noticed that the build failed during `FindLibHaru.cmake` as per https://aur.archlinux.org/packages/pcl#comment-880849...I recently ran into an issue installing [pcl](https://aur.archlinux.org/packages/pcl), which has vtk as a dependency. I noticed that the build failed during `FindLibHaru.cmake` as per https://aur.archlinux.org/packages/pcl#comment-880849.
```bash
CMake Error at /usr/lib64/cmake/vtk/FindLibHaru.cmake:16 (file):
file STRINGS file "/usr/include/hpdf_version.h" cannot be read.
Call Stack (most recent call first):
/usr/lib64/cmake/vtk/VTK-vtk-module-find-packages.cmake:1167 (find_package)
/usr/lib64/cmake/vtk/vtk-config.cmake:150 (include)
cmake/pcl_find_vtk.cmake:25 (find_package)
CMakeLists.txt:375 (include)
-- Could NOT find LibHaru: Found unsuitable version "..", but required is at least "2.4.0" (found /usr/lib/libhpdf.so)
-- Could not find the VTK package due to a missing dependency: LibHaru
```
After some investigation, I found out that this was caused by a change in libharu that dynamically pulls versioning information from the cmake file instead of the `hpdf_version.h` header: https://github.com/libharu/libharu/pull/237
In particular, these lines are the cause of the issue.
https://gitlab.kitware.com/vtk/vtk/-/blob/9203514a8c93ab78fadd4c89e6d512628764aafb/CMake/FindLibHaru.cmake#L16-22
It should be possible to pull version information from cmake instead of parsing through the now defunct header.https://gitlab.kitware.com/vtk/vtk/-/issues/18664vtkCocoaRenderWindow crashes when initialized from outside main thread2022-11-12T12:27:48-05:00Jaswant Panchumarti (Kitware)vtkCocoaRenderWindow crashes when initialized from outside main thread**Goal**: Spawn a separate thread, construct a render window and call Render in this new thread.
**Problem**: It crashes on mac OS. Runs fine on Linux and windows though.
Turning on OffScreenBuffers also doesn't work. The solution migh...**Goal**: Spawn a separate thread, construct a render window and call Render in this new thread.
**Problem**: It crashes on mac OS. Runs fine on Linux and windows though.
Turning on OffScreenBuffers also doesn't work. The solution might be to really work with offscreen OpenGL context without ever using Cocoa.
The test code:
```c++
int Start(int argc, char* argv[])
{
vtkLogger::SetThreadName("Render Thread");
std::hash<std::thread::id> tid_hash{};
uint32_t tid = tid_hash(std::this_thread::get_id());
vtkLog(INFO, << "Rendering on " << tid);
vtkNew<vtkRenderer> renderer;
vtkNew<vtkRenderWindow> renWin;
renWin->AddRenderer(renderer);
vtkNew<vtkRenderWindowInteractor> iren;
iren->SetRenderWindow(renWin);
renderer->SetBackground(0.2, 0.3, 0.4);
renWin->SetSize(300, 300);
// interact with data
renWin->Render();
int retVal = vtkRegressionTestImage(renWin);
if (retVal == vtkRegressionTester::DO_INTERACTOR)
{
iren->Start();
}
return !retVal;
}
int TestRenderWindowDifferentThread(int argc, char* argv[])
{
std::launch policy = std::launch::deferred;
for (int i = 0; i < argc; ++i)
{
if (std::string(argv[i]) == "-async")
{
policy = std::launch::async;
break;
}
}
vtkLogger::SetStderrVerbosity(vtkLogger::VERBOSITY_INFO);
std::future<int> fut = std::async(policy, &Start, argc, argv);
std::hash<std::thread::id> tid_hash{};
uint32_t tid = tid_hash(std::this_thread::get_id());
vtkLog(INFO, << "Main thread " << tid);
int result = vtkRegressionTester::FAILED;
result = fut.get();
vtkLog(INFO, << "result=" << result);
return result;
}
```
Error:
```
./bin/vtkRenderingOpenGL2CxxTests TestRenderWindowDifferentThread -I -async
( 0.019s) [main thread ]TestRenderWindowDiffere:102 INFO| Main thread 3325499587
( 0.019s) [Render Thread ]TestRenderWindowDiffere:39 INFO| Rendering on 1198912523
2022-09-08 18:17:50.488 vtkRenderingOpenGL2CxxTests[41301:170884] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
*** First throw call stack:
(
0 CoreFoundation 0x00000001818e11a8 __exceptionPreprocess + 240
1 libobjc.A.dylib 0x000000018162be04 objc_exception_throw + 60
2 CoreFoundation 0x000000018190c128 _CFBundleGetValueForInfoKey + 0
3 AppKit 0x00000001843ef930 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 372
4 AppKit 0x00000001843da92c -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 948
5 AppKit 0x00000001843da56c -[NSWindow initWithContentRect:styleMask:backing:defer:] + 56
6 libvtkRenderingOpenGL2-9.1.9.1.0.dy 0x000000010385520c _ZN20vtkCocoaRenderWindow13CreateAWindowEv + 1136
7 libvtkRenderingOpenGL2-9.1.9.1.0.dy 0x00000001038562cc _ZN20vtkCocoaRenderWindow10InitializeEv + 60
8 libvtkRenderingOpenGL2-9.1.9.1.0.dy 0x00000001039e3b00 _ZN21vtkOpenGLRenderWindow5StartEv + 52
9 libvtkRenderingOpenGL2-9.1.9.1.0.dy 0x00000001038561e4 _ZN20vtkCocoaRenderWindow5StartEv + 28
10 libvtkRenderingUI-9.1.9.1.0.dylib 0x0000000100c6d180 _ZN30vtkCocoaRenderWindowInteractor10InitializeEv + 444
11 libvtkRenderingCore-9.1.9.1.0.dylib 0x0000000106bba7d0 _ZN15vtkRenderWindow6RenderEv + 588
12 libvtkRenderingOpenGL2-9.1.9.1.0.dy 0x00000001039e75bc _ZN21vtkOpenGLRenderWindow6RenderEv + 112
13 vtkRenderingOpenGL2CxxTests 0x0000000100717434 _Z5StartiPPc + 1188
14 vtkRenderingOpenGL2CxxTests 0x0000000100719fd0 _ZNSt3__1L8__invokeIPFiiPPcEJiS2_EEEDTclscT_fp_spscT0_fp0_EEOS5_DpOS6_ + 52
15 vtkRenderingOpenGL2CxxTests 0x0000000100719f90 _ZNSt3__112__async_funcIPFiiPPcEJiS2_EE9__executeIJLm1ELm2EEEEiNS_15__tuple_indicesIJXspT_EEEE + 88
16 vtkRenderingOpenGL2CxxTests 0x0000000100719b74 _ZNSt3__112__async_funcIPFiiPPcEJiS2_EEclEv + 24
17 vtkRenderingOpenGL2CxxTests 0x00000001007196b0 _ZNSt3__119__async_assoc_stateIiNS_12__async_funcIPFiiPPcEJiS3_EEEE9__executeEv + 32
18 vtkRenderingOpenGL2CxxTests 0x000000010071af44 _ZNSt3__1L8__invokeIMNS_19__async_assoc_stateIiNS_12__async_funcIPFiiPPcEJiS4_EEEEEFvvEPS8_JEvEEDTcldsdescT0_fp0_fp_spscT1_fp1_EEOT_OSC_DpOSD_ + 112
19 vtkRenderingOpenGL2CxxTests 0x000000010071ae88 _ZNSt3__1L16__thread_executeINS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEMNS_19__async_assoc_stateIiNS_12__async_funcIPFiiPPcEJiS9_EEEEEFvvEJPSD_EJLm2EEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE + 56
20 vtkRenderingOpenGL2CxxTests 0x000000010071a5d4 _ZNSt3__1L14__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEMNS_19__async_assoc_stateIiNS_12__async_funcIPFiiPPcEJiSA_EEEEEFvvEPSE_EEEEEPvSJ_ + 84
21 libsystem_pthread.dylib 0x000000018179426c _pthread_start + 148
22 libsystem_pthread.dylib 0x000000018178f08c thread_start + 8
)
Assertion failed: (NSViewIsCurrentlyBuildingLayerTreeForDisplay() != currentlyBuildingLayerTree), function NSViewSetCurrentlyBuildingLayerTreeForDisplay, file NSView.m, line 13477.
libc++abi: terminating with uncaught exception of type NSException
Loguru caught a signal: SIGABRT
Stack trace:
12 0x100b8108c 16 dyld 0x0000000100b8108c start + 520
11 0x100695480 main + 2476
10 0x1007179d8 TestRenderWindowDifferentThread(int, char**) + 516
9 0x100717da4 std::future<int>::get() + 60
8 0x10071c028 std::__assoc_state<int>::move() + 152
7 0x18174de40 std::terminate() + 64
6 0x18174dea4 std::__terminate(void (*)()) + 20
5 0x181634320 _objc_terminate() + 144
4 0x18173e950 demangling_unexpected_handler() + 0
3 0x18174eb08 __cxxabiv1::__aligned_malloc_with_fallback(unsigned long) + 0
2 0x1816ce340 abort + 168
1 0x181793ee0 pthread_kill + 288
0 0x1817ab4a4 _sigtramp + 56
( 0.110s) [main thread ] :0 FATL| Signal: SIGABRT
zsh: abort ./bin/vtkRenderingOpenGL2CxxTests TestRenderWindowDifferentThread -I -async
```Jaswant Panchumarti (Kitware)Jaswant Panchumarti (Kitware)https://gitlab.kitware.com/vtk/vtk/-/issues/18662vcpkg install vtk with qt62022-09-08T04:08:34-04:00Qi Livcpkg install vtk with qt6How to install VTK based on QT6 in vcpkg?
Now, vtk based on Qt5 can be installed through the feature vtk[qt].
Please add qt6 build support in vcpkg.How to install VTK based on QT6 in vcpkg?
Now, vtk based on Qt5 can be installed through the feature vtk[qt].
Please add qt6 build support in vcpkg.https://gitlab.kitware.com/vtk/vtk/-/issues/18660vtkOrientationMarkerWidget calls Render() in setters and should not2022-09-06T21:22:16-04:00Mathieu Westphal (Kitware)vtkOrientationMarkerWidget calls Render() in setters and should notIn two different setters, vtkOrientationMarkerWidget calls Render() when it should not.
Setters can be called at any time, without rendering context being ready, resulting in a potential segfault.
The following methods are impacted:
-...In two different setters, vtkOrientationMarkerWidget calls Render() when it should not.
Setters can be called at any time, without rendering context being ready, resulting in a potential segfault.
The following methods are impacted:
- SetInteractive
- SetOutlineColorshttps://gitlab.kitware.com/vtk/vtk/-/issues/18658OpenVDB module segfault with OpenVDB 9.12022-09-26T05:22:23-04:00Mathieu Westphal (Kitware)OpenVDB module segfault with OpenVDB 9.1Trying to use OpenVDBReader and Writer just segfaults on library initialisation with OpenVDB 9.1, on Archlinux
```
[glow@frollo ~/dev/vtk/vtk1/src]$ pacman -Ss openvdb
community/openvdb 9.1.0-1 [installed]
```
```
Start 242: VTK::I...Trying to use OpenVDBReader and Writer just segfaults on library initialisation with OpenVDB 9.1, on Archlinux
```
[glow@frollo ~/dev/vtk/vtk1/src]$ pacman -Ss openvdb
community/openvdb 9.1.0-1 [installed]
```
```
Start 242: VTK::IOOpenVDBCxx-TestOpenVDBReader
2/3 Test #242: VTK::IOOpenVDBCxx-TestOpenVDBReader ....Subprocess aborted***Exception: 0.10 sec
Start 243: VTK::IOOpenVDBPython-SaveOpenVDBFile
3/3 Test #243: VTK::IOOpenVDBPython-SaveOpenVDBFile ...Subprocess aborted***Exception: 0.82 sec
```
Stacktrace is:
```
Thread 1 "vtkIOVDBCxxTest" received signal SIGABRT, Aborted.
0x00007ffff7e3f4dc in ?? () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff7e3f4dc in ?? () from /usr/lib/libc.so.6
#1 0x00007ffff7def998 in raise () from /usr/lib/libc.so.6
#2 0x00007ffff7dd953d in abort () from /usr/lib/libc.so.6
#3 0x00007ffff1ad2112 in std::__glibcxx_assert_fail (file=<optimized out>, line=<optimized out>, function=<optimized out>, condition=<optimized out>) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/debug.cc:60
#4 0x00007fffeff301c8 in ?? () from /usr/lib/libopenvdb.so.9.1
#5 0x00007ffff0fefd4e in openvdb::v9_1::initialize() () from /usr/lib/libopenvdb.so.9.1
#6 0x00007ffff7aa401c in vtkOpenVDBReader::vtkOpenVDBReader (this=0x5555555ade40) at /home/glow/dev/vtk/vtk1/src/IO/OpenVDB/vtkOpenVDBReader.cxx:805
#7 0x00007ffff7aa103c in vtkOpenVDBReader::New () at /home/glow/dev/vtk/vtk1/src/IO/OpenVDB/vtkOpenVDBReader.cxx:27
#8 0x00005555555573a5 in vtkNew<vtkOpenVDBReader>::vtkNew (this=0x7fffffffe660) at /home/glow/dev/vtk/vtk1/src/Common/Core/vtkNew.h:89
#9 0x0000555555556b25 in TestOpenVDBReader (argc=7, argv=0x7fffffffe860) at /home/glow/dev/vtk/vtk1/src/IO/OpenVDB/Testing/Cxx/TestOpenVDBReader.cxx:23
#10 0x0000555555556965 in main (ac=7, av=0x7fffffffe860) at /home/glow/dev/vtk/vtk1/build/IO/OpenVDB/Testing/Cxx/vtkIOVDBCxxTests.cxx:190
(gdb) q
```
FYI @dcthomp @timothee.chabat @gaspard.thevenon