@kitware/vtk.js 24.3.0 → 24.3.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.
|
@@ -223,6 +223,30 @@ export interface vtkScalarBarActor extends vtkActor {
|
|
|
223
223
|
*/
|
|
224
224
|
setBoxSizeFrom(boxSize: Size): boolean;
|
|
225
225
|
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @param {Vector2} barPosition
|
|
229
|
+
*/
|
|
230
|
+
setBarPosition(barPosition: Vector2): boolean;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @param {Vector2} barPosition
|
|
235
|
+
*/
|
|
236
|
+
setBarPositionFrom(barPosition: Vector2): boolean;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
*
|
|
240
|
+
* @param {Size} barSize
|
|
241
|
+
*/
|
|
242
|
+
setBarSize(barSize: Size): boolean;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
*
|
|
246
|
+
* @param {Size} barSize
|
|
247
|
+
*/
|
|
248
|
+
setBarSizeFrom(barSize: Size): boolean;
|
|
249
|
+
|
|
226
250
|
/**
|
|
227
251
|
*
|
|
228
252
|
* @param {vtkScalarsToColors} scalarsToColors
|
|
@@ -787,8 +787,8 @@ function extend(publicAPI, model) {
|
|
|
787
787
|
publicAPI.getProperty().setAmbient(1.0);
|
|
788
788
|
macro.setGet(publicAPI, model, ['automated', 'autoLayout', 'axisTitlePixelOffset', 'axisLabel', 'scalarsToColors', 'tickLabelPixelOffset', 'drawNanAnnotation', 'drawBelowRangeSwatch', 'drawAboveRangeSwatch']);
|
|
789
789
|
macro.get(publicAPI, model, ['axisTextStyle', 'tickTextStyle']);
|
|
790
|
-
macro.getArray(publicAPI, model, ['boxPosition', 'boxSize']);
|
|
791
|
-
macro.setArray(publicAPI, model, ['boxPosition', 'boxSize'], 2); // Object methods
|
|
790
|
+
macro.getArray(publicAPI, model, ['barPosition', 'barSize', 'boxPosition', 'boxSize']);
|
|
791
|
+
macro.setArray(publicAPI, model, ['barPosition', 'barSize', 'boxPosition', 'boxSize'], 2); // Object methods
|
|
792
792
|
|
|
793
793
|
vtkScalarBarActor(publicAPI, model);
|
|
794
794
|
} // ----------------------------------------------------------------------------
|