@kitware/vtk.js 28.3.1 → 28.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -56,6 +56,12 @@ function vtkMapper(publicAPI, model) {
56
56
  model.forceCompileOnly = v; // make sure we do NOT call modified()
57
57
  };
58
58
 
59
+ publicAPI.setSelectionWebGLIdsToVTKIds = function (selectionWebGLIdsToVTKIds) {
60
+ model.selectionWebGLIdsToVTKIds = selectionWebGLIdsToVTKIds; // make sure we do NOT call modified()
61
+ // this attribute is only used when processing a selection made with the hardware selector
62
+ // the mtime of the mapper doesn't need to be changed
63
+ };
64
+
59
65
  publicAPI.createDefaultLookupTable = function () {
60
66
  model.lookupTable = vtkLookupTable.newInstance();
61
67
  };
@@ -565,8 +571,8 @@ function extend(publicAPI, model) {
565
571
  Object.assign(model, DEFAULT_VALUES, initialValues); // Inheritance
566
572
 
567
573
  vtkAbstractMapper3D.extend(publicAPI, model, initialValues);
568
- macro.get(publicAPI, model, ['colorCoordinates', 'colorMapColors', 'colorTextureMap']);
569
- macro.setGet(publicAPI, model, ['colorByArrayName', 'arrayAccessMode', 'colorMode', 'fieldDataTupleId', 'interpolateScalarsBeforeMapping', 'lookupTable', 'populateSelectionSettings', 'renderTime', 'scalarMode', 'scalarVisibility', 'selectionWebGLIdsToVTKIds', 'static', 'useLookupTableScalarRange', 'customShaderAttributes' // point data array names that will be transferred to the VBO
574
+ macro.get(publicAPI, model, ['colorCoordinates', 'colorMapColors', 'colorTextureMap', 'selectionWebGLIdsToVTKIds']);
575
+ macro.setGet(publicAPI, model, ['colorByArrayName', 'arrayAccessMode', 'colorMode', 'fieldDataTupleId', 'interpolateScalarsBeforeMapping', 'lookupTable', 'populateSelectionSettings', 'renderTime', 'scalarMode', 'scalarVisibility', 'static', 'useLookupTableScalarRange', 'customShaderAttributes' // point data array names that will be transferred to the VBO
570
576
  ]);
571
577
  macro.setGetArray(publicAPI, model, ['scalarRange'], 2);
572
578
  CoincidentTopologyHelper.implementCoincidentTopologyMethods(publicAPI, model); // Object methods
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitware/vtk.js",
3
- "version": "28.3.1",
3
+ "version": "28.3.2",
4
4
  "description": "Visualization Toolkit for the Web",
5
5
  "keywords": [
6
6
  "3d",