.. role:: clio-optional
   :class: clio-flag clio-flag-optional


###########
CallbackMap
###########

.. js:class:: wv.CallbackMap

   Object which maps callback names to functions. Used by [[WebViewer.setCallbacks]].
   
   
   Index
   =====
   
   .. rubric:: Properties
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:data:`~wv.CallbackMap.addCuttingSection`
   * :js:data:`~wv.CallbackMap.assemblyTreeReady`
   * :js:data:`~wv.CallbackMap.bcfLoaded`
   * :js:data:`~wv.CallbackMap.bcfRemoved`
   * :js:data:`~wv.CallbackMap.beginInteraction`
   * :js:data:`~wv.CallbackMap.cadViewCreated`
   * :js:data:`~wv.CallbackMap.camera`
   * :js:data:`~wv.CallbackMap.cappingIdle`
   * :js:data:`~wv.CallbackMap.configurationActivated`
   * :js:data:`~wv.CallbackMap.contextMenu`
   * :js:data:`~wv.CallbackMap.cuttingPlaneDrag`
   * :js:data:`~wv.CallbackMap.cuttingPlaneDragEnd`
   * :js:data:`~wv.CallbackMap.cuttingPlaneDragStart`
   * :js:data:`~wv.CallbackMap.cuttingSectionsLoaded`
   * :js:data:`~wv.CallbackMap.endInteraction`
   * :js:data:`~wv.CallbackMap.explode`
   * :js:data:`~wv.CallbackMap.firstModelLoaded`
   * :js:data:`~wv.CallbackMap.frameDrawn`
   * :js:data:`~wv.CallbackMap.handleEvent`
   * :js:data:`~wv.CallbackMap.handleEventEnd`
   * :js:data:`~wv.CallbackMap.handleEventStart`
   * :js:data:`~wv.CallbackMap.hwfParseComplete`
   * :js:data:`~wv.CallbackMap.incrementalSelectionBatchBegin`
   * :js:data:`~wv.CallbackMap.incrementalSelectionBatchEnd`
   * :js:data:`~wv.CallbackMap.incrementalSelectionEnd`
   * :js:data:`~wv.CallbackMap.info`
   * :js:data:`~wv.CallbackMap.lineCreated`
   * :js:data:`~wv.CallbackMap.lineDeleted`
   * :js:data:`~wv.CallbackMap.lineLoaded`
   * :js:data:`~wv.CallbackMap.measurementBegin`
   * :js:data:`~wv.CallbackMap.measurementCreated`
   * :js:data:`~wv.CallbackMap.measurementDeleted`
   * :js:data:`~wv.CallbackMap.measurementHidden`
   * :js:data:`~wv.CallbackMap.measurementLoaded`
   * :js:data:`~wv.CallbackMap.measurementShown`
   * :js:data:`~wv.CallbackMap.measurementValueSet`
   * :js:data:`~wv.CallbackMap.missingModel`
   * :js:data:`~wv.CallbackMap.modelLoadBegin`
   * :js:data:`~wv.CallbackMap.modelLoadFailure`
   * :js:data:`~wv.CallbackMap.modelStructureHeaderParsed`
   * :js:data:`~wv.CallbackMap.modelStructureReady`
   * :js:data:`~wv.CallbackMap.modelSwitched`
   * :js:data:`~wv.CallbackMap.modelSwitchStart`
   * :js:data:`~wv.CallbackMap.noteTextCreated`
   * :js:data:`~wv.CallbackMap.noteTextDeleted`
   * :js:data:`~wv.CallbackMap.noteTextHidden`
   * :js:data:`~wv.CallbackMap.noteTextShown`
   * :js:data:`~wv.CallbackMap.noteTextUpdated`
   * :js:data:`~wv.CallbackMap.overlayViewportSet`
   * :js:data:`~wv.CallbackMap.redlineCreated`
   * :js:data:`~wv.CallbackMap.redlineDeleted`
   * :js:data:`~wv.CallbackMap.redlineUpdated`
   * :js:data:`~wv.CallbackMap.removeCuttingSection`
   * :js:data:`~wv.CallbackMap.sceneReady`
   * :js:data:`~wv.CallbackMap.selectionArray`
   * :js:data:`~wv.CallbackMap.sheetActivated`
   * :js:data:`~wv.CallbackMap.sheetDeactivated`
   * :js:data:`~wv.CallbackMap.streamingActivated`
   * :js:data:`~wv.CallbackMap.streamingDeactivated`
   * :js:data:`~wv.CallbackMap.subtreeDeleted`
   * :js:data:`~wv.CallbackMap.subtreeLoaded`
   * :js:data:`~wv.CallbackMap.timeout`
   * :js:data:`~wv.CallbackMap.timeoutWarning`
   * :js:data:`~wv.CallbackMap.transitionBegin`
   * :js:data:`~wv.CallbackMap.transitionEnd`
   * :js:data:`~wv.CallbackMap.viewAxes`
   * :js:data:`~wv.CallbackMap.viewCreated`
   * :js:data:`~wv.CallbackMap.viewDeactivated`
   * :js:data:`~wv.CallbackMap.viewDeleted`
   * :js:data:`~wv.CallbackMap.viewLoaded`
   * :js:data:`~wv.CallbackMap.viewOrientation`
   * :js:data:`~wv.CallbackMap.visibilityChanged`
   * :js:data:`~wv.CallbackMap.walkOperatorActivated`
   * :js:data:`~wv.CallbackMap.walkOperatorDeactivated`
   * :js:data:`~wv.CallbackMap.webGlContextLost`
   * :js:data:`~wv.CallbackMap.websocketConnectionClosed`
   * :js:data:`~wv.CallbackMap.XHRonerror`
   * :js:data:`~wv.CallbackMap.XHRonloadend`
   * :js:data:`~wv.CallbackMap.XHRonprogress`
   
   



.. rst-class:: kind-group kind-properties

.. rubric:: Properties
   :class: kind-group-title


.. js:data:: wv.CallbackMap.addCuttingSection

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | addCuttingSection: (**cuttingSection**\ : :js:class:`ICuttingSection <wv.ICuttingSection>`\ ) => *void*
      
      Triggered when a cutting section is added to the scene.
      



.. js:data:: wv.CallbackMap.assemblyTreeReady

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | assemblyTreeReady: () => *void*
      
      Triggered when methods on the [[Model]] class are allowed to be called.
      



.. js:data:: wv.CallbackMap.bcfLoaded

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | bcfLoaded: (**id**\ : *number*\ , **filename**\ : *string*\ ) => *void*
      
      Triggered after a BCF file has been loaded.
      



.. js:data:: wv.CallbackMap.bcfRemoved

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | bcfRemoved: (**id**\ : *number*\ ) => *void*
      
      Triggered after a BCF file has been removed.
      



.. js:data:: wv.CallbackMap.beginInteraction

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | beginInteraction: (**view**\ : :js:class:`IView <wv.IView>`\ ) => *void*
      
      Triggered on the start of a mouse drag from any of the built-in Communicator operators.
      



.. js:data:: wv.CallbackMap.cadViewCreated

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | cadViewCreated: (**cadViewId**\ : *number*\ , **cadViewName**\ : *string*\ ) => *void*
      
      Triggered when a CAD View is created.
      



.. js:data:: wv.CallbackMap.camera

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | camera: (**camera**\ : :js:class:`Camera <wv.Camera>`\ , **view**\ : :js:class:`IView <wv.IView>`\ ) => *void*
      
      Triggered when the camera changes.
      



.. js:data:: wv.CallbackMap.cappingIdle

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | cappingIdle: (**isIdle**\ : *boolean*\ , **cappedInstanceCount**\ : *number*\ ) => *void*
      
      Triggered when capping geometry generation becomes idle or active.
      



.. js:data:: wv.CallbackMap.configurationActivated

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | configurationActivated: (**nodeId**\ : *number*\ ) => *void*
      
      Triggered when a Configuration is activated.
      



.. js:data:: wv.CallbackMap.contextMenu

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | contextMenu: (**position**\ : :js:class:`Point2 <wv.Point2>`\ , **modifiers**\ : :js:data:`KeyModifiers <wv.KeyModifiers>`\ ) => *void*
      
      Triggered when ``Ui.Context.ContextMenu`` menu is shown or hidden.
      
      By default, this function is called on right mouse-click events.
      



.. js:data:: wv.CallbackMap.cuttingPlaneDrag

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | cuttingPlaneDrag: (**cuttingSection**\ : :js:class:`ICuttingSection <wv.ICuttingSection>`\ , **planeIndex**\ : *number*\ ) => *void*
      
      Triggered when a cutting plane is dragged.
      



.. js:data:: wv.CallbackMap.cuttingPlaneDragEnd

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | cuttingPlaneDragEnd: (**cuttingSection**\ : :js:class:`ICuttingSection <wv.ICuttingSection>`\ , **planeIndex**\ : *number*\ ) => *void*
      
      Triggered when a cutting plane drag event stops.
      



.. js:data:: wv.CallbackMap.cuttingPlaneDragStart

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | cuttingPlaneDragStart: (**cuttingSection**\ : :js:class:`ICuttingSection <wv.ICuttingSection>`\ , **planeIndex**\ : *number*\ ) => *void*
      
      Triggered when a cutting plane drag event starts.
      



.. js:data:: wv.CallbackMap.cuttingSectionsLoaded

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | cuttingSectionsLoaded: () => *void*
      
      Triggered after a batch update to cutting sections, such as when deserializing from JSON data.
      
      This event may be triggered manually after modifying cutting sections to cause the UI state to be updated.
      



.. js:data:: wv.CallbackMap.endInteraction

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | endInteraction: (**view**\ : :js:class:`IView <wv.IView>`\ ) => *void*
      
      Triggered at the end of a mouse drag from any of the built-in Communicator operators or if [[Operator.stopInteraction]] gets called for a given operator.
      



.. js:data:: wv.CallbackMap.explode

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | explode: (**magnitude**\ : *number*\ ) => *void*
      
      Triggered when the expode magnitude of [[ExplodeManager]] changes.
      



.. js:data:: wv.CallbackMap.firstModelLoaded

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | firstModelLoaded: (**modelRootIds**\ : *number*\ [], **isHwf**\ : *boolean*\ ) => *void*
      
      Triggered when the first model of a scene gets loaded.
      
      Clearing or switching models allows this to be triggered again.
      



.. js:data:: wv.CallbackMap.frameDrawn

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | frameDrawn: (**camera**\ : :js:class:`Camera <wv.Camera>`\ , **visiblePoints**\ : *number*\ [], **viewKey**\ : :js:data:`ViewKey <wv.Sc.ViewKey>`\ ) => *void*
      
      Triggered when a frame has been drawn.
      



.. js:data:: wv.CallbackMap.handleEvent

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | handleEvent: (**eventType**\ : :js:data:`HandleEventType <wv.HandleEventType>`\ , **nodeIds**\ : *number*\ [], **initialMatrices**\ : :js:class:`Matrix <wv.Matrix>`\ [], **newMatrices**\ : :js:class:`Matrix <wv.Matrix>`\ []) => *void*
      
      Triggered when a geometry handle is moved.
      



.. js:data:: wv.CallbackMap.handleEventEnd

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | handleEventEnd: (**eventType**\ : :js:data:`HandleEventType <wv.HandleEventType>`\ , **nodeIds**\ : *number*\ [], **initialMatrices**\ : :js:class:`Matrix <wv.Matrix>`\ [], **newMatrices**\ : :js:class:`Matrix <wv.Matrix>`\ []) => *void*
      
      Triggered when a geometry handle is no longer selected.
      



.. js:data:: wv.CallbackMap.handleEventStart

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | handleEventStart: (**eventType**\ : :js:data:`HandleEventType <wv.HandleEventType>`\ , **nodeIds**\ : *number*\ [], **initialMatrices**\ : :js:class:`Matrix <wv.Matrix>`\ []) => *void*
      
      Triggered when a geometry handle is selected.
      



.. js:data:: wv.CallbackMap.hwfParseComplete

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | hwfParseComplete: () => *void*
      
      Triggered when HWF parsing becomes completed.
      



.. js:data:: wv.CallbackMap.incrementalSelectionBatchBegin

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | incrementalSelectionBatchBegin: () => *void*
      
      Triggered before a batch of incrementally selected entities is put into the [[SelectionManager]].
      
      See also:
      
      
      - [[SelectionManager.advanceIncrementalSelection]]
      



.. js:data:: wv.CallbackMap.incrementalSelectionBatchEnd

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | incrementalSelectionBatchEnd: () => *void*
      
      Triggered after a batch of incrementally selected entities is put into the [[SelectionManager]].
      
      See also:
      
      
      - [[SelectionManager.advanceIncrementalSelection]]
      



.. js:data:: wv.CallbackMap.incrementalSelectionEnd

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | incrementalSelectionEnd: () => *void*
      
      Triggered after all batches of incrementally selected entities have been put into the [[SelectionManager]].
      
      See also:
      
      
      - [[SelectionManager.advanceIncrementalSelection]]
      



.. js:data:: wv.CallbackMap.info

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | info: (**infoType**\ : :js:data:`InfoType <wv.InfoType>`\ , **message**\ : *string*\ ) => *void*
      
      Triggered when an info message is generated by the viewer.
      



.. js:data:: wv.CallbackMap.lineCreated

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | lineCreated: (**line**\ : :js:class:`LineMarkup <wv.Markup.Line.LineMarkup>`\ ) => *void*
      
      Triggered when a markup line is created.
      



.. js:data:: wv.CallbackMap.lineDeleted

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | lineDeleted: (**line**\ : :js:class:`LineMarkup <wv.Markup.Line.LineMarkup>`\ ) => *void*
      
      Triggered when a markup line is deleted.
      



.. js:data:: wv.CallbackMap.lineLoaded

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | lineLoaded: (**line**\ : :js:class:`LineMarkup <wv.Markup.Line.LineMarkup>`\ ) => *void*
      
      Triggered when a markup line is loaded.
      



.. js:data:: wv.CallbackMap.measurementBegin

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | measurementBegin: () => *void*
      
      Triggered when a measurement operator has begun measuring.
      



.. js:data:: wv.CallbackMap.measurementCreated

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | measurementCreated: (**measurement**\ : :js:class:`MeasureMarkup <wv.Operators.Markup.Measure.MeasureMarkup>`\ ) => *void*
      
      Triggered when a measurement is fully created.
      



.. js:data:: wv.CallbackMap.measurementDeleted

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | measurementDeleted: (**measurement**\ : :js:class:`MeasureMarkup <wv.Operators.Markup.Measure.MeasureMarkup>`\ ) => *void*
      
      Triggered when a measurement is deleted by its [[MeasureManager]].
      



.. js:data:: wv.CallbackMap.measurementHidden

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | measurementHidden: (**measurement**\ : :js:class:`MeasureMarkup <wv.Operators.Markup.Measure.MeasureMarkup>`\ ) => *void*
      
      Triggered when a measurement is hidden by a call to its ``setVisibility`` method.
      



.. js:data:: wv.CallbackMap.measurementLoaded

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | measurementLoaded: (**measurement**\ : :js:class:`MeasureMarkup <wv.Operators.Markup.Measure.MeasureMarkup>`\ ) => *void*
      
      Triggered when a measurement loaded by its [[MeasureManager]].
      



.. js:data:: wv.CallbackMap.measurementShown

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | measurementShown: (**measurement**\ : :js:class:`MeasureMarkup <wv.Operators.Markup.Measure.MeasureMarkup>`\ ) => *void*
      
      Triggered when a measurement is shown by a call to its ``setVisibility`` method.
      



.. js:data:: wv.CallbackMap.measurementValueSet

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | measurementValueSet: (**measurement**\ : :js:class:`MeasureMarkup <wv.Operators.Markup.Measure.MeasureMarkup>`\ ) => *void*
      
      Triggered when the measurement value is set but before it is displayed to the user.
      
      This callback is useful for customizing the display of measurement text by using its ``getMeasurementValue`` and ``setMeasurementText`` methods.
      



.. js:data:: wv.CallbackMap.missingModel

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | missingModel: (**modelPath**\ : *string*\ ) => *void*
      
      Triggered when a missing model is discovered during a load.
      



.. js:data:: wv.CallbackMap.modelLoadBegin

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | modelLoadBegin: () => *void*
      
      Triggered immediately when [[Model.switchToModel]] is called.
      



.. js:data:: wv.CallbackMap.modelLoadFailure

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | modelLoadFailure: (**modelName**\ : *string*\ , **reason**\ : *string*\ , **error**\ : *any*\ ) => *void*
      
      Triggered when a model could not be loaded.
      



.. js:data:: wv.CallbackMap.modelStructureHeaderParsed

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | modelStructureHeaderParsed: (**filename**\ : *string*\ , **fileType**\ : :js:data:`FileType <wv.FileType>`\ ) => *void*
      
      Triggered when a model header has been parsed.
      



.. js:data:: wv.CallbackMap.modelStructureReady

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | modelStructureReady: () => *void*
      
      Triggered when the model structure has been loaded and is ready to be queried.
      
      This callback will only be called after the [[assemblyTreeReady]] callback gets triggered.
      



.. js:data:: wv.CallbackMap.modelSwitched

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | modelSwitched: (**clearOnly**\ : *boolean*\ , **modelRootIds**\ : *number*\ []) => *void*
      
      Triggered when [[Model.switchToModel]] or [[Model.clear]] is called. This gets triggered after any of the above methods complete.
      



.. js:data:: wv.CallbackMap.modelSwitchStart

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | modelSwitchStart: (**clearOnly**\ : *boolean*\ ) => *void*
      
      Triggered when [[Model.switchToModel]] or [[Model.clear]] is called. This gets triggered after any of the above methods begin.
      



.. js:data:: wv.CallbackMap.noteTextCreated

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | noteTextCreated: (**noteText**\ : *NoteText*\ ) => *void*
      
      Triggered when note text is created, especially via the note operator.
      



.. js:data:: wv.CallbackMap.noteTextDeleted

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | noteTextDeleted: (**noteText**\ : *NoteText*\ ) => *void*
      
      Triggered when note text is deleted.
      



.. js:data:: wv.CallbackMap.noteTextHidden

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | noteTextHidden: (**noteText**\ : *NoteText*\ ) => *void*
      
      Triggered when note text is hidden, especially via the note operator.
      



.. js:data:: wv.CallbackMap.noteTextShown

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | noteTextShown: (**noteText**\ : *NoteText*\ ) => *void*
      
      Triggered when note text is shown, especially via the note operator.
      



.. js:data:: wv.CallbackMap.noteTextUpdated

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | noteTextUpdated: (**noteText**\ : *NoteText*\ ) => *void*
      
      Triggered when note text is updated.
      



.. js:data:: wv.CallbackMap.overlayViewportSet

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | overlayViewportSet: (**overlayIndex**\ : *number*\ , **view**\ : :js:class:`IView <wv.IView>`\ ) => *void*
      
      Triggered when an overlay viewport is set.
      



.. js:data:: wv.CallbackMap.redlineCreated

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | redlineCreated: (**redlineMarkup**\ : :js:class:`RedlineItem <wv.Markup.Redline.RedlineItem>`\ ) => *void*
      
      Triggered when a redline markup item is created.
      



.. js:data:: wv.CallbackMap.redlineDeleted

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | redlineDeleted: (**redlineMarkup**\ : :js:class:`RedlineItem <wv.Markup.Redline.RedlineItem>`\ ) => *void*
      
      Triggered when a redline markup item is deleted.
      



.. js:data:: wv.CallbackMap.redlineUpdated

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | redlineUpdated: (**redlineMarkup**\ : :js:class:`RedlineItem <wv.Markup.Redline.RedlineItem>`\ ) => *void*
      
      Triggered when a redline markup item is updated.
      
      An update is triggered by changes in a redline markup item's position, size, or text.
      



.. js:data:: wv.CallbackMap.removeCuttingSection

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | removeCuttingSection: () => *void*
      
      Triggered when a cutting section is removed.
      



.. js:data:: wv.CallbackMap.sceneReady

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | sceneReady: () => *void*
      
      Triggered when the scene is ready to be interacted with.
      
      [[View]]-related operations such as moving the camera may be invoked. However, operations requiring node IDs should not be called at this time.
      



.. js:data:: wv.CallbackMap.selectionArray

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | selectionArray: (**selectionEvents**\ : :js:class:`NodeSelectionEvent <wv.Event.NodeSelectionEvent>`\ [], **removed**\ : *boolean*\ ) => *void*
      
      Triggered when a selection event occurs.
      



.. js:data:: wv.CallbackMap.sheetActivated

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | sheetActivated: (**nodeId**\ : *number*\ ) => *void*
      
      Triggered when a drawing sheet has been activated.
      



.. js:data:: wv.CallbackMap.sheetDeactivated

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | sheetDeactivated: () => *void*
      
      Triggered when drawing sheets have been deactivated.
      



.. js:data:: wv.CallbackMap.streamingActivated

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | streamingActivated: () => *void*
      
      Triggered when the client begins streaming data from the server.
      



.. js:data:: wv.CallbackMap.streamingDeactivated

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | streamingDeactivated: () => *void*
      
      Triggered when streaming from the client has stopped.
      



.. js:data:: wv.CallbackMap.subtreeDeleted

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | subtreeDeleted: (**modelRootIds**\ : *number*\ []) => *void*
      
      Triggered when a subtree has been deleted.
      



.. js:data:: wv.CallbackMap.subtreeLoaded

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | subtreeLoaded: (**modelRootIds**\ : *number*\ [], **source**\ : :js:data:`NodeSource <wv.NodeSource>`\ ) => *void*
      
      Triggered when a subtree has been loaded. This includes loading a model as well as directly creating nodes.
      



.. js:data:: wv.CallbackMap.timeout

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | timeout: () => *void*
      
      Triggered when a timeout due to inactivity occurs.
      



.. js:data:: wv.CallbackMap.timeoutWarning

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | timeoutWarning: (**minutesRemaining**\ : *number*\ ) => *void*
      
      Triggered when a timeout due to inactivity is about to occur.
      



.. js:data:: wv.CallbackMap.transitionBegin

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | transitionBegin: (**duration**\ : *number*\ , **view**\ : :js:class:`IView <wv.IView>`\ ) => *void*
      
      Triggered when a camera transition begins.
      



.. js:data:: wv.CallbackMap.transitionEnd

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | transitionEnd: (**view**\ : :js:class:`IView <wv.IView>`\ ) => *void*
      
      Triggered when a camera transition ends.
      



.. js:data:: wv.CallbackMap.viewAxes

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | viewAxes: (**frontVector**\ : :js:class:`Point3 <wv.Point3>`\ , **upVector**\ : :js:class:`Point3 <wv.Point3>`\ ) => *void*
      
      Triggered after the view axes have been set.
      



.. js:data:: wv.CallbackMap.viewCreated

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | viewCreated: (**view**\ : :js:class:`MarkupView <wv.Markup.MarkupView>`\ ) => *void*
      
      Triggered when a view is created or by creating a redline item when no view is active.
      



.. js:data:: wv.CallbackMap.viewDeactivated

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | viewDeactivated: (**view**\ : :js:class:`MarkupView <wv.Markup.MarkupView>`\ ) => *void*
      
      Triggered when a view is deactivated.
      



.. js:data:: wv.CallbackMap.viewDeleted

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | viewDeleted: (**view**\ : :js:class:`MarkupView <wv.Markup.MarkupView>`\ ) => *void*
      
      Triggered when a view is deleted.
      



.. js:data:: wv.CallbackMap.viewLoaded

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | viewLoaded: (**view**\ : :js:class:`MarkupView <wv.Markup.MarkupView>`\ ) => *void*
      
      Triggered when a view is loaded from data.
      



.. js:data:: wv.CallbackMap.viewOrientation

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | viewOrientation: (**orientation**\ : :js:data:`ViewOrientation <wv.ViewOrientation>`\ , **view**\ : :js:class:`IView <wv.IView>`\ ) => *void*
      
      Triggered after the view orientation has changed.
      



.. js:data:: wv.CallbackMap.visibilityChanged

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | visibilityChanged: (**shownBodyIds**\ : *number*\ [], **hiddenBodyIds**\ : *number*\ []) => *void*
      
      Triggered when nodes are shown or hidden. If ``shownBodyIds`` and ``hiddenBodyIds`` are both empty, only the visibility of structural nodes (nodes that do not directly contain geometry) changed.
      



.. js:data:: wv.CallbackMap.walkOperatorActivated

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | walkOperatorActivated: () => *void*
      
      Triggered when the [[Operator.CameraWalkOperator]] becomes active.
      



.. js:data:: wv.CallbackMap.walkOperatorDeactivated

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | walkOperatorDeactivated: () => *void*
      
      triggered when the [[Operator.CameraWalkOperator]] is deactivated.
      



.. js:data:: wv.CallbackMap.webGlContextLost

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | webGlContextLost: () => *void*
      
      Triggered when the browser causes the WebGL context to be lost and rendering cannot continue.
      



.. js:data:: wv.CallbackMap.websocketConnectionClosed

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | websocketConnectionClosed: () => *void*
      
      Triggered when the browser stream websocket connection is closed.
      



.. js:data:: wv.CallbackMap.XHRonerror

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | XHRonerror: (**errorEvent**\ : *ErrorEvent*\ ) => *void*
      
      Triggered during load progress of HTTP requests.
      
      Happens when an error occurs during the loading of a model via an HTTP request. For some errors (e.g. 404) make sure to check the status of XHRonloadend instead.
      



.. js:data:: wv.CallbackMap.XHRonloadend

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | XHRonloadend: (**progressEvent**\ : *ProgressEvent*\ , **status**\ : *number*\ , **uri**\ : *string*\ ) => *void*
      
      Triggered when an HTTP request completes.
      
      A completed HTTP request does not necessarily indicate success. Make sure to check the return status.
      



.. js:data:: wv.CallbackMap.XHRonprogress

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | XHRonprogress: (**progressEvent**\ : *ProgressEvent*\ ) => *void*
      
      Triggered during load progress of HTTP requests.
      
      Happens when loading a model via an HTTP request.
      




