File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,9 @@ export interface vtkVolume extends vtkProp3D {
3131
3232 /**
3333 * Get the volume property for the specified mapper input port, which defaults to 0
34+ * @param {number } mapperInputPort Defaults to 0
3435 */
35- getProperty ( mapperInputPort = 0 ) : vtkVolumeProperty ;
36+ getProperty ( mapperInputPort ?: number ) : vtkVolumeProperty ;
3637
3738 /**
3839 * Get the volume properties array
@@ -73,8 +74,9 @@ export interface vtkVolume extends vtkProp3D {
7374 /**
7475 * Set the volume property for the specified mapper input port, which defaults to 0
7576 * @param {vtkVolumeProperty } property
77+ * @param {number } mapperInputPort Defaults to 0
7678 */
77- setProperty ( property : vtkVolumeProperty , mapperInputPort = 0 ) : boolean ;
79+ setProperty ( property : vtkVolumeProperty , mapperInputPort ?: number ) : boolean ;
7880
7981 /**
8082 * Set the volume properties array
Original file line number Diff line number Diff line change 11import vtkPiecewiseFunction from '../../../Common/DataModel/PiecewiseFunction' ;
2- import { Bounds , Range } from '../../../types' ;
2+ import { Bounds } from '../../../types' ;
33import vtkAbstractMapper3D , {
44 IAbstractMapper3DInitialValues ,
55} from '../AbstractMapper3D' ;
6- import { BlendMode , FilterMode } from './Constants' ;
6+ import { BlendMode } from './Constants' ;
77
88/**
99 *
@@ -223,6 +223,5 @@ export declare const vtkVolumeMapper: {
223223 newInstance : typeof newInstance ;
224224 extend : typeof extend ;
225225 BlendMode : typeof BlendMode ;
226- FilterMode : typeof FilterMode ;
227226} ;
228227export default vtkVolumeMapper ;
You can’t perform that action at this time.
0 commit comments