ViewerHighlightAPI

dehighlightEntity(highlightHandle)
Disable highlighting for the handle
Arguments
  • highlightHandle (number()) – : number Optional

Returns

void

highlightArc(pickedPt1, pickedPt3, center, axis, angle, measurementID)
Arguments
  • pickedPt1 (Float32Array()) –

  • pickedPt3 (Float32Array()) –

  • center (Float32Array()) –

  • axis (Float32Array()) –

  • angle (number()) –

  • measurementID (number()) –

Returns

number

highlightBBox(center, size)
Arguments
  • center (Float32Array()) –

  • size (Float32Array()) –

Returns

number

highlightEntity(selector, highlightParameters)
Enable highlighting of the entity , which matches the attributes informed in the viewerDataSelector
Arguments
  • selector (ITopologyDataSelector|PointerInfoCallback()) – : IViewerHighlightSelector

  • highlightParameters – (HighlightParameters ) Optional

Returns

Promise<number> – the highlightHandle, which it reqed to remove the highlighting

highlightLine(values, scale, markerIndex)
Arguments
  • values (Array) –

  • scale (number()) –

  • markerIndex (number()) –

Returns

void

highlightPoint(position, markerIndex)
Arguments
  • position (Float32Array()) –

  • markerIndex (number()) –

Returns

void