MCPcopy Index your code

hub / github.com/ivmartel/dwv / functions

Functions2,549 in github.com/ivmartel/dwv

↓ 375 callersMethodpush
(item)
src/math/bucketQueue.js:30
↓ 286 callersMethodgetX
* Get the X position of the point. * * @returns {number} The X position of the point.
src/math/point.js:37
↓ 261 callersMethodgetY
* Get the Y position of the point. * * @returns {number} The Y position of the point.
src/math/point.js:46
↓ 217 callersMethodget
* Get the size value at the given array index. * * @param {number} i The index to get. * @returns {number} The value.
src/image/size.js:49
↓ 152 callersMethodequals
* Check for equality. * * @param {Line} rhs The object to compare to. * @returns {boolean} True if both objects are equal.
src/math/line.js:67
↓ 89 callersMethodtoString
* Get a string representation of the size. * * @returns {string} The Size as a string.
src/image/size.js:67
↓ 83 callersMethodaddEventListener
* Add an event listener on the app. * * @param {string} type The event type. * @param {Function} listener The function associated with the pr
src/tools/draw.js:1013
↓ 79 callersMethodgetBegin
* Get the begin point of the line. * * @returns {Point2D} The beginning point of the line.
src/math/line.js:48
↓ 78 callersMethodgetGeometry
* Get the geometry of the image. * * @returns {Geometry} The geometry.
src/image/image.js:420
↓ 78 callersMethodgetPoint
* Get a point of the list at a given index. * * @param {number} index The index of the point to get * (beware, no size check). * @return
src/math/roi.js:32
↓ 70 callersMethodgetEnd
* Get the end point of the line. * * @returns {Point2D} The ending point of the line.
src/math/line.js:57
↓ 64 callersMethodgetSize
* Get the object size. * Warning: the size comes as stored in DICOM, meaning that it could * be oriented. * * @param {Matrix33} [viewOrien
src/image/geometry.js:220
↓ 62 callersMethod#fireEvent
* Fire an event: call all associated listeners with the input event object. * * @param {object} event The event to fire.
src/gui/infoData.js:375
↓ 58 callersMethodgetMeta
* Get the meta information of the image. * * @returns {Object<string, any>} The meta information of the image.
src/image/image.js:672
↓ 58 callersMethodgetValues
* Get the values of this index. * * @returns {number[]} The array of values.
src/image/size.js:76
↓ 57 callersMethodgetViewController
* Get the view controller. * * @returns {ViewController} The controller.
src/gui/viewLayer.js:300
↓ 56 callersMethodgetZ
* Get the Z position of the point. * * @returns {number} The Z position of the point.
src/math/point.js:164
↓ 53 callersMethodfind
* Find an annotation. * * @param {string} uid The UID of the annotation to find. * @returns {Annotation|undefined} The found annotation.
src/image/annotationGroup.js:251
↓ 52 callersFunctionsafeGet
(dataElements, key)
src/dicom/dataElement.js:100
↓ 48 callersMethodadd
* Add scroll. * * @param {object} event The wheel event.
src/tools/scrollWheel.js:77
↓ 48 callersFunctiongetDcmDicomCode
(code)
src/dicom/dicomCode.js:299
↓ 47 callersMethodgetLayerGroupByDivId
* Get a layer group from an HTML element id. * * @param {string} id The element id to find. * @returns {LayerGroup|undefined} The layer group
src/gui/stage.js:437
↓ 42 callersMethodgetY
* Get the value of the function at a given number. * * @param {number} x The input value. * @returns {number} The value of the function at x.
src/image/voiLut.js:106
↓ 41 callersMethodlength
* Get the length of the index. * * @returns {number} The length.
src/image/size.js:58
↓ 40 callersMethodgetData
* Get a DicomData. * * @param {string} dataId The data id. * @returns {DicomData|undefined} The data.
src/app/application.js:299
↓ 38 callersFunctiontestState
* Test a state file. * * @param {object} data The test data. * @param {string} version The state format version. * @param {string} type Th
tests/state/state.test.js:61
↓ 37 callersMethodnext
* Increment this index by 1 at the given dimension * and return the result as a new index. * * @param {number} dim The dimension number.
src/math/index.js:179
↓ 36 callersFunctiongetAnchorShape
(group, index)
src/tools/drawBounds.js:91
↓ 36 callersFunctiongetLayerDetailsFromEvent
(event)
src/gui/layerGroup.js:83
↓ 36 callersFunctionprecisionRound
(number, precision)
src/utils/string.js:228
↓ 35 callersMethodgetOrientation
* Get the view orientation. * * @returns {Matrix33} The orientation matrix.
src/image/view.js:345
↓ 34 callersMethodgetDataId
* Get the associated data id. * * @returns {string} The data id.
src/gui/viewLayer.js:237
↓ 34 callersMethodtoString
* Get a string representation of this object. * * @returns {string} The object as string.
src/dicom/dicomSpatialCoordinate.js:69
↓ 32 callersMethodgetDimSize
* Get the size of a given dimension. * * @param {number} dimension The dimension. * @param {number} [start] Optional start dimension to start
src/image/size.js:127
↓ 32 callersMethodparse
* Parse a DICOM buffer. * Fills in the member object 'dataElements'. * * @param {ArrayBuffer} buffer The input array buffer. * @param {Tag
src/dicom/dicomParser.js:1221
↓ 30 callersFunctioncheckIterator
* Check iter. * * @param {Function} getIter Function to get the iter at a given position. * @param {Array} theoValues Theoretical values.
tests/image/iterator.test.js:188
↓ 29 callersMethodaddEventListener
* Add an event listener to this class. * * @param {string} type The event type. * @param {Function} callback The function associated with the
src/app/application.js:790
↓ 29 callersFunctionarrayContains
(arr0, arr1)
src/utils/array.js:116
↓ 29 callersMethodgetImage
* Get the image. * * @param {string} dataId The data id. * @returns {Image|undefined} The associated image. * @deprecated Since v0.34, ple
src/app/application.js:310
↓ 28 callersMethoddraw
* Draw the stage: calls draw on all layer groups.
src/gui/stage.js:539
↓ 28 callersMethodincludes
* Check if this layerGroup contains a layer with the input id. * * @param {string} id The layer id to look for. * @returns {boolean} True if
src/gui/layerGroup.js:423
↓ 27 callersMethodremove
* Removes the trash from the draw layer.
src/tools/drawTrash.js:100
↓ 25 callersMethodget
* Get a value of the matrix. * * @param {number} row The row at wich to get the value. * @param {number} col The column at wich to get the va
src/math/matrix.js:67
↓ 25 callersMethodisCodirectional
* Is this vector codirectional to an input one. * * @param {Vector3D} vector3D The vector to test. * @returns {boolean} True if codirectional
src/math/vector.js:139
↓ 25 callersFunctionreadUint16
()
src/decoders/pdfjs/jpg.js:591
↓ 24 callersMethodgetCenter
* Get the centre (point) of the circle. * * @returns {Point2D} The center (point) of the circle.
src/math/circle.js:63
↓ 24 callersMethodgetKey
* Get the group-element key used to store DICOM elements. * * @returns {string} The key as '########'.
src/dicom/dicomTag.js:96
↓ 24 callersMethodgetSpacing
* Get the object spacing. * Warning: the spacing comes as stored in DICOM, meaning that it could * be oriented. * * @param {Matrix33} [vie
src/image/geometry.js:264
↓ 24 callersMethodindexToOffset
* Convert an index to an offset in memory. * * @param {Index} index The index to convert. * @param {number} [start] Optional start dimension
src/image/size.js:232
↓ 23 callersMethodget
* Get a data at a given index. * * @param {string} dataId The data id. * @returns {DicomData|undefined} The DICOM data.
src/app/dataController.js:502
↓ 23 callersMethodgetActiveViewLayer
* Get the active image layer. * * @returns {ViewLayer|undefined} The layer.
src/gui/layerGroup.js:584
↓ 23 callersMethodgetValueAtOffset
* Get value at offset. Warning: No size check... * * @param {number} offset The desired offset. * @returns {number} The value at offset.
src/image/image.js:691
↓ 23 callersFunctionsafeGetAll
(dataElements, key)
src/dicom/dataElement.js:115
↓ 23 callersFunctionstartsWith
(str, search, rawPos)
src/utils/string.js:27
↓ 23 callersMethodupdateQuantification
* Update the annotation quantification.
src/image/annotation.js:378
↓ 22 callersMethodget
* Get the point value at the given array index. * * @param {number} i The index to get. * @returns {number} The value.
src/math/point.js:327
↓ 22 callersMethodgetId
* Get the id of the layer. * * @returns {string} The string id.
src/gui/viewLayer.js:440
↓ 22 callersMethodgetValue
* Get the value of the tool UI. * * @returns {object|undefined} The value.
tests/pacs/viewer.ui.draw.js:46
↓ 22 callersMethodsetMeta
* Set the meta information of the image. * * @param {Object<string, any>} rhs The meta information of the image.
src/image/image.js:681
↓ 21 callersFunctionarrayEquals
(arr0, arr1)
src/utils/array.js:164
↓ 21 callersFunctioncheckDataElement
(element, name, values)
src/dicom/dataElement.js:135
↓ 21 callersFunctiongetFileExtension
(filePath)
src/utils/string.js:175
↓ 21 callersMethodscale
* Scale an input value using the base scale. * * @param {number} value The value to scale. * @returns {number} The scaled value.
src/gui/style.js:178
↓ 20 callersFunctionexpectSpyCalled
* Expect the input spy name to have been called * but not the others. If not a good name, expects * all the spys to not have been called. *
tests/utils/logger.test.js:25
↓ 20 callersMethodgetKonvaLayer
* Get the Konva layer. * * @returns {Konva.Layer} The layer.
src/gui/drawLayer.js:248
↓ 20 callersFunctiongetMousePoint
(event)
src/gui/generic.js:81
↓ 19 callersMethodgetDicomElements
* Get the DICOM data elements. * * @returns {Object<string, DataElement>} The data elements.
src/dicom/dicomParser.js:712
↓ 19 callersMethodgetLength
* Get the length of the point list. * * @returns {number} The length of the point list.
src/math/roi.js:50
↓ 19 callersMethodgetList
* Get the annotation group as an array. * * @returns {Annotation[]} The array.
src/image/annotationGroup.js:78
↓ 19 callersFunctiongetUriQuery
(uri)
src/utils/uri.js:58
↓ 19 callersMethodhasHeader
* Check if this content has input header values. * * @param {string} valueType The value type. * @param {DicomCode} conceptNameCode The conce
src/dicom/dicomSRContent.js:234
↓ 18 callersFunctionendsWith
(str, search)
src/utils/string.js:43
↓ 18 callersMethodgetActiveDrawLayer
* Get the active draw layer. * * @returns {DrawLayer|undefined} The layer.
src/gui/layerGroup.js:710
↓ 17 callersMethodadd
* Add another point to this one. * * @param {Point} rhs The point to add. * @returns {Point} The point representing the sum of both points.
src/math/point.js:434
↓ 17 callersFunctionarraySortEquals
(arr0, arr1)
src/utils/array.js:145
↓ 17 callersFunctiondecodeKeyValueUri
(uri, replaceMode)
src/utils/uri.js:137
↓ 17 callersMethodgetBaseViewLayer
* Get the base view layer. * * @returns {ViewLayer|undefined} The layer.
src/gui/layerGroup.js:599
↓ 17 callersFunctiongetShapeFromScoord
(scoord)
src/dicom/dicomSpatialCoordinate.js:226
↓ 16 callersFunctionb64urlToArrayBuffer
(str)
tests/dicom/utils.js:9
↓ 16 callersMethodget
* Get the spacing value at the given array index. * * @param {number} i The index to get. * @returns {number} The value.
src/image/spacing.js:45
↓ 16 callersFunctiongetNormalisedManufacturer
(elements)
src/dicom/dicomManufacturer.js:42
↓ 16 callersMethodgetTotalSize
* Get the total size. * * @param {number} [start] Optional start dimension to base the offset on. * @returns {number} The total size.
src/image/size.js:151
↓ 16 callersMethodworldToIndex
* Convert world coordinates into an index. * * @param {Point} point The point to convert. * @returns {Index} The corresponding index.
src/image/geometry.js:605
↓ 15 callersMethodgetDistance
* Get the distance to another Point2D. * * @param {Point2D} point2D The input point. * @returns {number} Ths distance to the input point.
src/math/point.js:96
↓ 15 callersMethodgetDrawController
* Get the draw controller. * * @returns {DrawController} The controller.
src/gui/drawLayer.js:258
↓ 15 callersFunctiongetOrientationFromCosines
(cosines)
src/math/orientation.js:198
↓ 15 callersMethodindexToWorld
* Convert an index into world coordinates. * * @param {Index} index The index to convert. * @returns {Point} The corresponding point.
src/image/geometry.js:552
↓ 15 callersFunctionisEqualRgb
(c1, c2)
src/utils/colour.js:50
↓ 15 callersFunctionreadUint32
(data, offset)
src/decoders/pdfjs/util.js:500
↓ 15 callersMethodsetMetaValue
* Set a meta data. * * @param {string} key The meta data key. * @param {string|object} value The value of the meta data.
src/image/annotationGroup.js:290
↓ 15 callersMethodtoString
* Get as string representation of the tag: 'key: name'. * * @returns {string} A string representing the tag.
src/dicom/dicomTag.js:74
↓ 14 callersMethod#find
* Union-find find operation. * Ref: {@link https://en.wikipedia.org/wiki/Disjoint-set_data_structure}. * * @param {number} label The label to
src/image/labelingFilter.js:56
↓ 14 callersMethodapply
* Load an application state from JSON. * * @param {App} app The app to apply the state to. * @param {object} data The state data.
src/io/state.js:87
↓ 14 callersMethodcanLoadUrl
* Check if the loader can load the provided url. * True if one of the folowing conditions is true: * - the `options.forceLoader` is 'zip', *
src/io/zipLoader.js:169
↓ 14 callersFunctioncheckGroupCommonProperties
* Check common properties of an annotation group. * * @param {AnnotationGroup} annotationGroup The group to check. * @param {string} prefix A
tests/annotation/annotation.test.js:86
↓ 14 callersMethodgetInverse
* Get the inverse of this matrix. * * @returns {Matrix33|undefined} The inverse matrix or undefined * if the determinant is zero.
src/math/matrix.js:77
↓ 14 callersFunctiongetOrientationStringLPS
(matrix)
src/math/orientation.js:81
↓ 14 callersFunctiongetPerpendicularLine
(line, point, length, spacing)
src/math/line.js:274
↓ 14 callersMethodgetStrokeWidth
* Get the stroke width. * * @returns {number} The stroke width.
src/gui/style.js:105
↓ 14 callersFunctiongetTouchPoints
(event)
src/gui/generic.js:61
next →1–100 of 2,549, ranked by callers