
###################################
A3DPDF3DNodeSceneSetZoomOnBehaviour
###################################

.. c:function:: A3DStatus A3DPDF3DNodeSceneSetZoomOnBehaviour(A3DPDF3DNodeScene *p3DNodeScene, A3DPDFEWidgetTargetBehaviour eBehaviour, A3DBool bEnableZoom)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPDF3DNodeSceneSetZoomOnBehaviour(:c:type:`~A3DPDF3DNodeScene`\ \* **p3DNodeScene**\ , :c:enum:`~A3DPDFEWidgetTargetBehaviour` **eBehaviour**\ , :c:type:`~A3DBool` **bEnableZoom**\ )
   
   Function to set or unset a zoom action when the nodes are highlighted or selected on a 3DNodeScene widget.
   
   With it, depending on ``eBehaviour``\ all highlighting or selections made on the 3D scene are followed by a zoom action if ``bEnableZoom``\ is true, i.e. the camera is zoomed to the highlighted or selected nodes and the rotation center is moved to the center of the bounding box of these nodes. This mode is only available when interactivity is defined using datamodel and the :c:enumerator:`~kA3DPDFDataHighlight`\ or :c:enumerator:`~kA3DPDFDataSelect`\ target behaviour. An example is a scenario where you have a scroll table associated to a 3D nodes scene, with the target behaviour :c:enumerator:`~kA3DPDFDataSelect`\ . When the end-user selects a row in the scroll table, the corresponding node is selected in the 3D nodes scene. Then, if bEnableZoom is set to true, the camera zooms to the node. If bEnableZoom is set to false, there is no camera zoom.
   
   **Parameters**
   
   
      **p3DNodeScene**\ : The 3D widget to work with.
   
      **eBehaviour**\ : The behaviour. Supported values are kA3DPDFDataHighlight or kA3DPDFDataSelect
   
      **bEnableZoom**\ : If true, activate the zoom.
   
   




