@kitware/vtk.js 30.4.2 → 30.5.0

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.
@@ -540,7 +540,7 @@ function extend(publicAPI, model) {
540
540
  let initialValues = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
541
541
  Object.assign(model, DEFAULT_VALUES, initialValues);
542
542
  obj(publicAPI, model);
543
- setGet(publicAPI, model, ['name', 'disableAnimation']);
543
+ setGet(publicAPI, model, ['name', 'disableAnimation', 'resetCameraOnFirstRender']);
544
544
  get(publicAPI, model, ['annotationOpacity', 'camera', 'container', 'cornerAnnotation', 'interactor', 'interactorStyle2D', 'interactorStyle3D', '_openGLRenderWindow',
545
545
  // todo breaking? convert to apiSpecificWindow
546
546
  'orientationAxesType', 'presetToOrientationAxes', 'renderer', 'renderWindow', 'representations', 'useParallelRendering']);
@@ -1192,7 +1192,15 @@ function extend(publicAPI, model) {
1192
1192
  macro.get(publicAPI, model, ['buildTime', 'mappingRange']);
1193
1193
 
1194
1194
  // Create get-set macros
1195
- macro.setGet(publicAPI, model, ['useAboveRangeColor', 'useBelowRangeColor', 'colorSpace', 'discretize', 'numberOfValues']);
1195
+ macro.setGet(publicAPI, model, ['useAboveRangeColor', 'useBelowRangeColor', 'discretize', 'numberOfValues', {
1196
+ type: 'enum',
1197
+ name: 'colorSpace',
1198
+ enum: ColorSpace
1199
+ }, {
1200
+ type: 'enum',
1201
+ name: 'scale',
1202
+ enum: Scale
1203
+ }]);
1196
1204
  macro.setArray(publicAPI, model, ['nanColor', 'belowRangeColor', 'aboveRangeColor'], 4);
1197
1205
 
1198
1206
  // Create get macros for array
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitware/vtk.js",
3
- "version": "30.4.2",
3
+ "version": "30.5.0",
4
4
  "description": "Visualization Toolkit for the Web",
5
5
  "keywords": [
6
6
  "3d",