Skip to content

Commit 5c93793

Browse files
Jan Margetafloryst
authored andcommitted
fix(imagemapper): adding types for slicingMode and preferSizeOverAccuracy
1 parent 31bc722 commit 5c93793

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Sources/Rendering/Core/ImageMapper/index.d.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,28 @@ export interface vtkImageMapper extends vtkAbstractImageMapper {
257257
*/
258258
getSlicingModeNormal(): number[];
259259

260+
/**
261+
* Get the slicing mode.
262+
*/
263+
getSlicingMode(): number;
264+
265+
260266
/**
261267
* Set the slicing mode.
262268
* @param {Number} mode The slicing mode.
263269
*/
264270
setSlicingMode(mode: number): boolean;
271+
272+
/**
273+
* Get the preference to use halfFloat representation of float
274+
*/
275+
getPreferSizeOverAccuracy(): boolean;
276+
277+
/**
278+
* Set the preference to use halfFloat representation of float
279+
* @param {Boolean} sizeOverAccuracy
280+
*/
281+
setPreferSizeOverAccuracy(sizeOverAccuracy: boolean): boolean;
265282
}
266283

267284
/**

0 commit comments

Comments
 (0)