You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @member {Function} map Apply a function to all the voxels, be careful, the value will be replaced
242
-
* @memberof THREE.Volume
243
-
* @param {Function} functionToMap A function to apply to every voxel, will be called with the following parameters :
244
-
* value of the voxel
245
-
* index of the voxel
246
-
* the data (TypedArray)
247
-
* @param {Object} context You can specify a context in which call the function, default if this Volume
248
-
* @returns {THREE.Volume} this
249
-
*/
241
+
* @member {Function} map Apply a function to all the voxels, be careful, the value will be replaced
242
+
* @memberof THREE.Volume
243
+
* @param {Function} functionToMap A function to apply to every voxel, will be called with the following parameters :
244
+
* value of the voxel
245
+
* index of the voxel
246
+
* the data (TypedArray)
247
+
* @param {Object} context You can specify a context in which call the function, default if this Volume
248
+
* @returns {THREE.Volume} this
249
+
*/
250
250
map : function(functionToMap,context){
251
251
252
252
varlength=this.data.length;
@@ -263,12 +263,12 @@ THREE.Volume.prototype = {
263
263
},
264
264
265
265
/**
266
-
* @member {Function} extractPerpendicularPlane Compute the orientation of the slice and returns all the information relative to the geometry such as sliceAccess, the plane matrix (orientation and position in RAS coordinate) and the dimensions of the plane in both coordinate system.
267
-
* @memberof THREE.Volume
268
-
* @param {string} axis the normal axis to the slice 'x' 'y' or 'z'
269
-
* @param {number} index the index of the slice
270
-
* @returns {Object} an object containing all the usefull information on the geometry of the slice
271
-
*/
266
+
* @member {Function} extractPerpendicularPlane Compute the orientation of the slice and returns all the information relative to the geometry such as sliceAccess, the plane matrix (orientation and position in RAS coordinate) and the dimensions of the plane in both coordinate system.
267
+
* @memberof THREE.Volume
268
+
* @param {string} axis the normal axis to the slice 'x' 'y' or 'z'
269
+
* @param {number} index the index of the slice
270
+
* @returns {Object} an object containing all the usefull information on the geometry of the slice
0 commit comments