@kitware/vtk.js 24.0.0 → 24.0.1

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.
@@ -19,7 +19,7 @@ function vtkActor(publicAPI, model) {
19
19
  var superClass = _objectSpread({}, publicAPI);
20
20
 
21
21
  publicAPI.getActors = function () {
22
- return publicAPI;
22
+ return [publicAPI];
23
23
  };
24
24
 
25
25
  publicAPI.getIsOpaque = function () {
@@ -14,7 +14,7 @@ export interface IPropInitialValues {
14
14
  estimatedRenderTime?: number;
15
15
  savedEstimatedRenderTime?: number;
16
16
  renderTimeMultiplier?: number;
17
- textures?: Array<any>;
17
+ textures?: vtkTexture[];
18
18
  }
19
19
 
20
20
  export interface vtkProp extends vtkObject {
@@ -141,20 +141,20 @@ export interface vtkProp extends vtkObject {
141
141
 
142
142
  /**
143
143
  *
144
- * @param texture
144
+ * @param {vtkTexture} texture The vtkTexture instance.
145
145
  *
146
146
  */
147
147
  hasTexture(texture: vtkTexture): boolean;
148
148
 
149
149
  /**
150
150
  *
151
- * @param texture
151
+ * @param {vtkTexture} texture The vtkTexture instance.
152
152
  */
153
153
  addTexture(texture: vtkTexture): void;
154
154
 
155
155
  /**
156
156
  *
157
- * @param texture
157
+ * @param {vtkTexture} texture The vtkTexture instance.
158
158
  */
159
159
  removeTexture(texture: vtkTexture): void;
160
160
 
@@ -230,9 +230,9 @@ export interface vtkProp extends vtkObject {
230
230
 
231
231
  /**
232
232
  * This is used for culling and is a number between 0 and 1. It is used to create the allocated render time value.
233
- * @param renderTimeMultiplier
233
+ * @param {Number} renderTimeMultiplier
234
234
  */
235
- setRendertimemultiplier(renderTimeMultiplier): boolean;
235
+ setRenderTimeMultiplier(renderTimeMultiplier: number): boolean;
236
236
 
237
237
  /**
238
238
  * Not Implemented yet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitware/vtk.js",
3
- "version": "24.0.0",
3
+ "version": "24.0.1",
4
4
  "description": "Visualization Toolkit for the Web",
5
5
  "keywords": [
6
6
  "3d",