MCPcopy Create free account

hub / github.com/ivmartel/dwv / functions

Functions2,549 in github.com/ivmartel/dwv

↓ 8 callersFunctiondateToTimeObj
(date)
src/dicom/dicomDate.js:191
↓ 8 callersMethodequals
* Check for Tag equality. * * @param {Tag} rhs The other tag to compare to. * @returns {boolean} True if both tags are equal.
src/dicom/dicomTag.js:84
↓ 8 callersFunctionflipArrayEndianness
* Flip an array's endianness. * Inspired from [DataStream.js]{@link https://github.com/kig/DataStream.js}. * * @param {object} array The array to f
src/dicom/dataReader.js:16
↓ 8 callersFunctionformatString
* Format string. * * @param {*} template The template where to add values. * @param {...any} values The values to add to the template. * @returns
src/tools/brush.js:74
↓ 8 callersMethodgetActiveLayer
* Get the active image layer. * * @returns {ViewLayer|DrawLayer|undefined} The layer.
src/gui/layerGroup.js:571
↓ 8 callersFunctiongetAnnotationGroup
* Get an annotation group from a buffer string. * * @param {string} bufferStr The buffer string. * @returns {AnnotationGroup} The annotation
tests/annotation/annotation.test.js:49
↓ 8 callersMethodgetBuffer
* Get the data buffer of the image. * * @todo Dangerous... * @returns {TypedArray} The data buffer of the image.
src/image/image.js:430
↓ 8 callersFunctiongetControlDiv
( id, name, min, max, value, callback, precision, step)
tests/pacs/viewer.ui.js:141
↓ 8 callersMethodgetDataRange
* Get the data range. * * @returns {NumberRange} The data range.
src/image/image.js:1161
↓ 8 callersFunctiongetDateObj
(element)
src/dicom/dicomDate.js:29
↓ 8 callersFunctiongetDicomSopInstanceReferenceItem
(ref)
src/dicom/dicomSopInstanceReference.js:68
↓ 8 callersMethodgetGroup
* Get the tag group. * * @returns {string} The tag group.
src/dicom/dicomTag.js:56
↓ 8 callersMethodgetImage
* Get the associated image. * * @returns {Image} The associated image.
src/image/view.js:276
↓ 8 callersMethodgetInclination
* Get the inclination of the line. * * @returns {number} The inclination of the line.
src/math/line.js:168
↓ 8 callersMethodgetNumberOfLayers
* Get the number of layers handled by this class. * * @returns {number} The number of layers.
src/gui/layerGroup.js:406
↓ 8 callersMethodgetOrigin
* Get the object origin. * This should be the lowest origin to ease calculations (?). * * @returns {Point3D} The object origin.
src/image/geometry.js:182
↓ 8 callersMethodgetPositionFromPlanePoint
* Get a world position from a 2D plane position. * * @param {Point2D} point2D The plane point. * @param {number} k The slice index. * @ret
src/image/planeHelper.js:286
↓ 8 callersMethodgetPositionHelper
* Get the position helper. * * @returns {PositionHelper|undefined} The position helper or * undefined if no layers.
src/gui/layerGroup.js:255
↓ 8 callersMethodgetRescaledDataRange
* Get the rescaled data range. * * @returns {NumberRange} The rescaled data range.
src/image/image.js:1173
↓ 8 callersMethodgetRescaledValueAtOffset
* Get the rescaled value of the image at a specific offset. * * @param {number} offset The desired offset. * @returns {number} The rescaled v
src/image/image.js:1484
↓ 8 callersFunctiongetTagFromKey
(key)
src/dicom/dicomTag.js:220
↓ 8 callersFunctionisAnyPixelDataTag
(tag)
src/dicom/dicomTag.js:343
↓ 8 callersMethodisConstantRSI
* Are all the RSIs equal. * * @returns {boolean} True if they are.
src/image/image.js:584
↓ 8 callersMethodisLoading
* Is the load ongoing? * * @returns {boolean} True if loading.
src/io/zipLoader.js:42
↓ 8 callersMethodisResampled
* Return if this image has been resampled. * * @returns {boolean} If the image has been resampled.
src/image/image.js:2157
↓ 8 callersFunctionisSecondatyCapture
(SOPClassUID)
src/dicom/dicomImage.js:387
↓ 8 callersMethodmoreThanOne
* Check if a dimension exists and has more than one element. * * @param {number} dimension The dimension to check. * @returns {boolean} True
src/image/size.js:86
↓ 8 callersMethodremoveLayer
* Remove a layer from this layer group. * Warning: if current active layer, the index will * be set to `undefined`. Call one of the setActive
src/gui/layerGroup.js:1037
↓ 8 callersMethodsetCurrentPosition
* Set current position. * * @param {Point} inPosition The new position. * @param {boolean} [silent] Flag to fire event or not. * @returns
src/image/view.js:806
↓ 8 callersFunctionshowMessage
* Show a message. * * @param {string} text The text message. * @param {string} [type] The message type used as css class.
tests/pacs/dcmweb.js:22
↓ 8 callersFunctionwarn
(msg)
src/decoders/pdfjs/util.js:210
↓ 7 callersMethodaddEventListener
* Add an event listener to this class. * * @param {string} type The event type. * @param {Function} callback The function associated with the
src/gui/viewLayer.js:1116
↓ 7 callersMethodappendSlice
* Append a slice to the image. * * @param {Image} rhs The slice to append. * @fires Image#imagegeometrychange
src/image/image.js:946
↓ 7 callersFunctionareOrthogonal
(line0, line1)
src/math/line.js:238
↓ 7 callersFunctioncanCreateCanvas
(width, height)
src/gui/generic.js:103
↓ 7 callersMethodcompare
* Compare points and return different dimensions. * * @param {Point} rhs The point to compare to. * @returns {number[]} The list of different
src/math/point.js:404
↓ 7 callersFunctiondataAccessor
(offset)
tests/image/iterator.test.js:202
↓ 7 callersMethoddotProduct
* Get the dot product with another Vector3D. * * Ref: {@link https://en.wikipedia.org/wiki/Dot_product}. * * @param {Vector3D} vector3D Th
src/math/vector.js:127
↓ 7 callersMethodgenerateImageData
* Generate display image data to be given to a canvas. * * @param {ImageData} data The iamge data to fill in. * @param {Index} index Optional
src/image/view.js:1097
↓ 7 callersMethodget
* Get the index value at the given array index. * * @param {number} i The index to get. * @returns {number|undefined} The value or undefined
src/math/index.js:40
↓ 7 callersFunctionget034AnnotationGroup
* Get a dwv v0.34 annotation group from a buffer string. * * @param {string} bufferStr The buffer string. * @returns {AnnotationGroup} The an
tests/annotation/annotation.test.js:67
↓ 7 callersMethodget3D
* Get the 3D part of this point. * * @returns {Point3D} The Point3D.
src/math/point.js:424
↓ 7 callersFunctiongetArrayFromStringId
(inputStr)
src/utils/array.js:42
↓ 7 callersMethodgetCentroid
* Get the centroid of the roi. Only valid for * a non-self-intersecting closed polygon. * Ref: {@link https://en.wikipedia.org/wiki/Centroid#Of_
src/math/roi.js:79
↓ 7 callersFunctiongetCode
(dataElements)
src/dicom/dicomCode.js:94
↓ 7 callersMethodgetConnector
* Get the connector between this label and its shape. * * @param {Point2D[]} connectorsPos The shape connectors positions. * @param {Konva.La
src/tools/labelFactory.js:164
↓ 7 callersMethodgetCurrentPosition
* Get the current position. * * @returns {Point|undefined} The current position.
src/image/view.js:700
↓ 7 callersFunctiongetDefaultAnchor
(x, y, id, style)
src/tools/drawBounds.js:133
↓ 7 callersFunctiongetDicomSpatialCoordinate3DItem
(scoord)
src/dicom/dicomSpatialCoordinate3D.js:85
↓ 7 callersMethodgetEnd
* Get the end point of the rectangle. * * @returns {Point2D} The end point of the rectangle.
src/math/rectangle.js:79
↓ 7 callersFunctiongetFunc
(i, j)
tests/dicom/dicomWriter.test.js:450
↓ 7 callersFunctiongetImage2DSize
(elements)
src/dicom/dicomImage.js:54
↓ 7 callersMethodgetImageUid
* Get the image UID at a given index. * * @param {Index} [index] The index at which to get the id. * @returns {string} The UID.
src/image/image.js:371
↓ 7 callersFunctiongetLayerDetailsFromLayerDivId
(idString)
src/gui/layerGroup.js:40
↓ 7 callersMethodgetLineColour
* Get the line colour. * * @returns {string} The line colour.
src/gui/style.js:123
↓ 7 callersFunctiongetManufacturer
(elements)
src/dicom/dicomManufacturer.js:31
↓ 7 callersFunctiongetPhotometricInterpretation
(dataElements)
src/dicom/dicomImage.js:341
↓ 7 callersFunctiongetSRContent
(dataElements)
src/dicom/dicomSRContent.js:262
↓ 7 callersFunctiongetSegment
* Get a segment from a segment list. * * @param {number} segmentNumber The segment number. * @param {object[]} segments The list to search. * @ret
tests/pacs/viewer.ui.segment.js:83
↓ 7 callersFunctiongetStats
(values, flags)
src/math/stats.js:71
↓ 7 callersMethodincrementPositionAlongScroll
* Increment the current position along the scroll dimension. * * @returns {boolean} True if possible and in bounds.
src/image/positionHelper.js:304
↓ 7 callersFunctionisPointInLineRange
(point, line)
src/math/line.js:254
↓ 7 callersFunctionreadBit
()
src/decoders/pdfjs/jpg.js:117
↓ 7 callersMethodreadUint16Array
* Read Uint16 array. * * @param {number} byteOffset The offset to start reading from. * @param {number} size The size of the array. * @ret
src/dicom/dataReader.js:226
↓ 7 callersFunctionrgbToHex
(rgb)
src/utils/colour.js:100
↓ 7 callersMethodsetPhotometricInterpretation
* Set the photometricInterpretation of the image. * * @param {string} interp The photometricInterpretation of the image.
src/image/image.js:602
↓ 7 callersMethodsetTextExpr
* Set the annotation text expression. * * @param {Object.<string, string>} labelText The list of label * texts indexed by modality.
src/image/annotation.js:351
↓ 7 callersFunctionsplitSegmentHtmlId
* Get a segment index and number from an HTML id. * * @param {string} segmentId The segment id. * @returns {object} The segment index and number.
tests/pacs/viewer.ui.segment.js:189
↓ 7 callersMethodupdateContent
* Update the shape label. * * @param {Annotation} annotation The associated annotation. * @param {Konva.Group} group The shape group.
src/tools/labelFactory.js:224
↓ 7 callersMethodupdatePosition
* Update the shape label position. * * @param {Annotation} annotation The associated annotation. * @param {Konva.Group} group The shape group
src/tools/labelFactory.js:97
↓ 6 callersMethod#augmentCallbackEvent
* Augment a callback event with a srouce. * * @param {object} callback The callback to augment its event. * @param {object} source The source
src/io/urlsLoader.js:183
↓ 6 callersMethod#setElementValue
* Set a DICOM element value according to its VR (Value Representation). * * @param {DataElement} element The DICOM element to set the value.
src/dicom/dicomWriter.js:1070
↓ 6 callersMethod#writeDataElement
* Write a data element. * * @param {DataWriter} writer The raw data writer. * @param {DataElement} element The DICOM data element to write.
src/dicom/dicomWriter.js:775
↓ 6 callersMethoddraw
* Draw the content (imageData) of the layer. * The imageData variable needs to be set.
src/gui/drawLayer.js:525
↓ 6 callersFunctionget2DSpacingValues
* Get the 2D spacing values. * * @param {Object<string, DataElement>} elements The dicom element. * @param {string} tagKey The tag key. * @returns
src/dicom/dicomImage.js:72
↓ 6 callersMethodgetActiveLayerGroup
* Get the active layer group. * * @returns {LayerGroup|undefined} The layer group.
src/gui/stage.js:324
↓ 6 callersFunctiongetAngle
(line0, line1)
src/math/line.js:215
↓ 6 callersFunctiongetAxIter
(reverse1, reverse2)
tests/image/iterator.test.js:250
↓ 6 callersFunctiongetCoroIter
(reverse1, reverse2)
tests/image/iterator.test.js:302
↓ 6 callersMethodgetCurrentIndex
* Get the current index. * * @returns {Index} The current index.
src/app/viewController.js:217
↓ 6 callersMethodgetCurrentStackIndex
* Get the current undo stack index. * * @returns {number} The stack index.
src/app/application.js:1763
↓ 6 callersFunctiongetDicomDate
(dateObj)
src/dicom/dicomDate.js:210
↓ 6 callersFunctiongetDicomNumericMeasurementItem
(measurement)
src/dicom/dicomNumericMeasurement.js:86
↓ 6 callersFunctiongetDicomTime
(dateObj)
src/dicom/dicomDate.js:229
↓ 6 callersFunctiongetDwvUIDPrefix
()
src/dicom/dicomParser.js:57
↓ 6 callersMethodgetElement
* Get the tag element. * * @returns {string} The tag element.
src/dicom/dicomTag.js:65
↓ 6 callersMethodgetFactory
* Get the math shape associated draw factory. * * @returns {object|undefined} The factory.
src/image/annotation.js:394
↓ 6 callersMethodgetImageData
* Get the canvas image data. * * @returns {object} The image data.
src/gui/viewLayer.js:309
↓ 6 callersMethodgetIntercept
* Get the intercept of the line. * * @returns {number} The slope of the line.
src/math/line.js:156
↓ 6 callersMethodgetLayerGroupByDivId
* Get a layer group by div id. * The layer is available after the first loaded item. * * @param {string} divId The div id. * @returns {Lay
src/app/application.js:528
↓ 6 callersMethodgetLength
* Get the length of the line. * * @returns {number} The length of the line.
src/math/line.js:96
↓ 6 callersMethodgetNameFromDictionary
* Get the tag name from the dicom dictionary. * * @returns {string|undefined} The VR.
src/dicom/dicomTag.js:184
↓ 6 callersFunctiongetNumericMeasurement
(dataElements)
src/dicom/dicomNumericMeasurement.js:64
↓ 6 callersMethodgetPhotometricInterpretation
* Get the photometricInterpretation of the image. * * @returns {string} The photometricInterpretation of the image.
src/image/image.js:593
↓ 6 callersMethodgetPlaneOffsetFromOffset3D
* Get a plane offset from a 3D one. * * @param {Scalar3D} offset3D The 3D offset as {x,y,z}. * @returns {Scalar2D} The plane offset as {x,y}.
src/image/planeHelper.js:117
↓ 6 callersFunctiongetRange
( dataAccessor, start, maxIter, increment, blockMaxIter, blockIncrement, reverse1, reverse2)
src/image/iterator.js:418
↓ 6 callersFunctiongetSagIter
(reverse1, reverse2)
tests/image/iterator.test.js:358
↓ 6 callersFunctiongetSegmentationHtmlId
* Get the HTML id of a segmentation. * * @param {number} segmentationIndex The segmentation index. * @returns {string} The segmentation HTML id.
tests/pacs/viewer.ui.segment.js:154
↓ 6 callersMethodgetSlope
* Get the slope of the line. * * @returns {number} The slope of the line.
src/math/line.js:147
↓ 6 callersFunctiongetSpatialCoordinate
(dataElements)
src/dicom/dicomSpatialCoordinate.js:81
← previousnext →201–300 of 2,549, ranked by callers