.. role:: clio-static
   :class: clio-flag clio-flag-static


###########
RemoteModel
###########

.. js:class:: cee.ug.RemoteModel

   A remote server CAE model that can be displayed in the client viewer.
   
   The RemoteModel is the controller of the visualization of the CAE model. Using this class you can specify which results to show on the model, set part settings as well as create cutting planes, isosurfaces, isovolumes and particle traces.
   
   Use :js:meth:`openModel <cee.ug.RemoteModel.openModel>` to open a CAE model residing on the server. Once the optional callback passed to openModel is called, the :js:class:`ModelDirectory <cee.ug.ModelDirectory>` will have been populated and you can configure the initial view of the model. If a callback is not provided to openModel then the first state is shown.
   
   **Example:** Minimal app, open default model on server:
   
   .. code-block:: javascript
   
      var mySocket = io('http://localhost:8998');
      var canvas = document.getElementById("myGlCanvas");
      
      mySession = new cee.CloudSession();
      
      myViewer = mySession.addViewer(canvas);
      if (!myViewer) {
          return alert("No WebGL support");
      }
      
      myModel = new cee.ug.RemoteModel(mySocket);
      var myView = myViewer.addView();
      myView.addModel(myModel);
      
      myModel.openModel("");
      
      function myAnimationFrameCallback(highResTimestamp) {
          mySession.handleAnimationFrameCallback(highResTimestamp);
          requestAnimationFrame(myAnimationFrameCallback);
      }
      
      requestAnimationFrame(myAnimationFrameCallback);
   
   The :js:class:`ModelSpec <cee.ug.ModelSpec>` is the object you use to specify what to show in the remote model. Here you set which state(s) and results (scalar, vector, displacements) to display. You can setup a state animation by setting :js:func:`ModelSpec.stateIdArray <cee.ug.ModelSpec.stateIdArray>`\ , or setup a mode shape animation with :js:func:`ModelSpec.modeShapeFrameCount <cee.ug.ModelSpec.modeShapeFrameCount>` and :js:func:`ModelSpec.modeShapeAnimationType <cee.ug.ModelSpec.modeShapeAnimationType>`\ . Animation is controlled by the Animation class which can be accessed with :js:func:`animation <cee.ug.RemoteModel.animation>`\ .
   
   You can access :js:class:`PartSettings <cee.ug.PartSettings>` objects with :js:meth:`getPartSettingsById <cee.ug.RemoteModel.getPartSettingsById>` and use them to set various part attributes such visibility, color, opacity and draw style.
   
   You can control how results are rendered with :js:class:`ScalarSettings <cee.ug.ScalarSettings>`\ , :js:class:`VectorSettings <cee.ug.VectorSettings>` and :js:class:`DisplacementSettings <cee.ug.DisplacementSettings>` objects, which can be accessed with :js:meth:`getScalarSettingsById <cee.ug.RemoteModel.getScalarSettingsById>`\ , :js:meth:`getVectorSettingsById <cee.ug.RemoteModel.getVectorSettingsById>` and :js:meth:`getDisplacementSettingsById <cee.ug.RemoteModel.getDisplacementSettingsById>` respectively.
   
   For volumetric models, you can add any number of cutting plane, isosurface, isovolume and particle trace group objects to gain insight into the result distribution (e.g. flow field) within the model. The settings of these items can be controlled with the :js:class:`CuttingPlane <cee.ug.CuttingPlane>`\ , :js:class:`Isosurface <cee.ug.Isosurface>`\ , :js:class:`Isovolume <cee.ug.Isovolume>`\ , and :js:class:`ParticleTraceGroup <cee.ug.ParticleTraceGroup>` objects. Use :js:meth:`getCuttingPlaneById <cee.ug.RemoteModel.getCuttingPlaneById>`\ , :js:meth:`getIsosurfaceById <cee.ug.RemoteModel.getIsosurfaceById>`\ , :js:meth:`getIsovolumeById <cee.ug.RemoteModel.getIsovolumeById>` and :js:meth:`getParticleTraceGroupById <cee.ug.RemoteModel.getParticleTraceGroupById>` to access such objects.
   
   Picking is also done in the RemoteModel. Use :js:meth:`rayIntersect <cee.ug.RemoteModel.rayIntersect>` to perform picking on the remote server model. This method takes a callback which is called when the picking result is available.
   
   See the example in Examples/BuildYourFirstApp/3-FirstPostProcessor and 4-FeatureExtraction for how to use the RemoteModel
   
   **Example:** Show the last state with the first scalar result and modify part settings
   
   .. code-block:: javascript
   
      // Get the model and the model directory from the RemoteModel
      var modelDir = myModel.modelDirectory;
      
      // Show the last state in the analysis
      var modelSpec = myModel.modelSpec;
      modelSpec.stateIdArray = 
            [modelDir.stateInfoArray[modelDir.stateInfoArray.length - 1].id];
      
      
      // Show the first scalar as filled contours (if any)
      if (modelDir.scalarResultArray.length > 0) {
          modelSpec.fringesResultId = modelDir.scalarResultArray[0].id;
      }
      
      // Modify the part settings: First part transparent, the rest with element mesh
      for (var i = 0; i < myModel.partCount; ++i) {
          var partSettings = myModel.getPartSettingsAt(i);
      
          if (i == 0) {
              partSettings.drawStyle = cee.ug.DrawStyle.SURFACE;
              partSettings.opacity = 0.5;
          } else {
              partSettings.drawStyle = cee.ug.DrawStyle.SURFACE_MESH;
          }
      }
   
   This code sample produces the following image in the 3D Viewer:
   
   .. image:: /images/RemoteModel.png
      :alt: None
   
   
   
   
   Index
   =====
   
   .. rubric:: Constructors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~cee.ug.RemoteModel.constructor`
   
   .. rubric:: Accessors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~cee.ug.RemoteModel.animation`
   * :js:func:`~cee.ug.RemoteModel.currentFrameIndex`
   * :js:func:`~cee.ug.RemoteModel.currentStepText`
   * :js:func:`~cee.ug.RemoteModel.cuttingPlaneCount`
   * :js:func:`~cee.ug.RemoteModel.displacementSettingsCount`
   * :js:func:`~cee.ug.RemoteModel.frameCount`
   * :js:func:`~cee.ug.RemoteModel.isosurfaceCount`
   * :js:func:`~cee.ug.RemoteModel.isovolumeCount`
   * :js:func:`~cee.ug.RemoteModel.mirrorSettings`
   * :js:func:`~cee.ug.RemoteModel.modelDirectory`
   * :js:func:`~cee.ug.RemoteModel.modelSettings`
   * :js:func:`~cee.ug.RemoteModel.modelSpec`
   * :js:func:`~cee.ug.RemoteModel.name`
   * :js:func:`~cee.ug.RemoteModel.partCount`
   * :js:func:`~cee.ug.RemoteModel.particleTraceGroupCount`
   * :js:func:`~cee.ug.RemoteModel.scalarSettingsCount`
   * :js:func:`~cee.ug.RemoteModel.vectorSettingsCount`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~cee.ug.RemoteModel.addCuttingPlane`
   * :js:meth:`~cee.ug.RemoteModel.addIsosurface`
   * :js:meth:`~cee.ug.RemoteModel.addIsovolume`
   * :js:meth:`~cee.ug.RemoteModel.addNextServerUpdateCompletedCallback`
   * :js:meth:`~cee.ug.RemoteModel.addParticleTraceGroup`
   * :js:meth:`~cee.ug.RemoteModel.applyVTFxCase`
   * :js:meth:`~cee.ug.RemoteModel.clientSideRayIntersect`
   * :js:meth:`~cee.ug.RemoteModel.closeModel`
   * :js:meth:`~cee.ug.RemoteModel.createResultCalculator`
   * :js:meth:`~cee.ug.RemoteModel.createTrianglePicker`
   * :js:meth:`~cee.ug.RemoteModel.createVisibleObjectPicker`
   * :js:meth:`~cee.ug.RemoteModel.deleteAllCuttingPlanes`
   * :js:meth:`~cee.ug.RemoteModel.deleteAllIsosurfaces`
   * :js:meth:`~cee.ug.RemoteModel.deleteAllIsovolumes`
   * :js:meth:`~cee.ug.RemoteModel.deleteAllParticleTraceGroups`
   * :js:meth:`~cee.ug.RemoteModel.deleteCuttingPlaneById`
   * :js:meth:`~cee.ug.RemoteModel.deleteIsosurfaceById`
   * :js:meth:`~cee.ug.RemoteModel.deleteIsovolumeById`
   * :js:meth:`~cee.ug.RemoteModel.deleteParticleTraceGroupById`
   * :js:meth:`~cee.ug.RemoteModel.deleteResultCalculator`
   * :js:meth:`~cee.ug.RemoteModel.enablePreloading`
   * :js:meth:`~cee.ug.RemoteModel.executeDataSourceRequest`
   * :js:meth:`~cee.ug.RemoteModel.getBoundingBox`
   * :js:meth:`~cee.ug.RemoteModel.getClientSidePartBoundingBox`
   * :js:meth:`~cee.ug.RemoteModel.getCuttingPlaneArray`
   * :js:meth:`~cee.ug.RemoteModel.getCuttingPlaneAt`
   * :js:meth:`~cee.ug.RemoteModel.getCuttingPlaneById`
   * :js:meth:`~cee.ug.RemoteModel.getDefaultCameraConfig`
   * :js:meth:`~cee.ug.RemoteModel.getDisplacementResultMaximumLength`
   * :js:meth:`~cee.ug.RemoteModel.getDisplacementResultMinimumLength`
   * :js:meth:`~cee.ug.RemoteModel.getDisplacementSettingsArray`
   * :js:meth:`~cee.ug.RemoteModel.getDisplacementSettingsAt`
   * :js:meth:`~cee.ug.RemoteModel.getDisplacementSettingsById`
   * :js:meth:`~cee.ug.RemoteModel.getElementCount`
   * :js:meth:`~cee.ug.RemoteModel.getIsosurfaceArray`
   * :js:meth:`~cee.ug.RemoteModel.getIsosurfaceAt`
   * :js:meth:`~cee.ug.RemoteModel.getIsosurfaceById`
   * :js:meth:`~cee.ug.RemoteModel.getIsovolumeArray`
   * :js:meth:`~cee.ug.RemoteModel.getIsovolumeAt`
   * :js:meth:`~cee.ug.RemoteModel.getIsovolumeById`
   * :js:meth:`~cee.ug.RemoteModel.getNodeCount`
   * :js:meth:`~cee.ug.RemoteModel.getParticleTraceGroupArray`
   * :js:meth:`~cee.ug.RemoteModel.getParticleTraceGroupAt`
   * :js:meth:`~cee.ug.RemoteModel.getParticleTraceGroupById`
   * :js:meth:`~cee.ug.RemoteModel.getPartSettingsArray`
   * :js:meth:`~cee.ug.RemoteModel.getPartSettingsAt`
   * :js:meth:`~cee.ug.RemoteModel.getPartSettingsById`
   * :js:meth:`~cee.ug.RemoteModel.getScalarResultMaximumValue`
   * :js:meth:`~cee.ug.RemoteModel.getScalarResultMinimumValue`
   * :js:meth:`~cee.ug.RemoteModel.getScalarSettingsArray`
   * :js:meth:`~cee.ug.RemoteModel.getScalarSettingsAt`
   * :js:meth:`~cee.ug.RemoteModel.getScalarSettingsById`
   * :js:meth:`~cee.ug.RemoteModel.getVectorResultMaximumLength`
   * :js:meth:`~cee.ug.RemoteModel.getVectorResultMinimumLength`
   * :js:meth:`~cee.ug.RemoteModel.getVectorSettingsArray`
   * :js:meth:`~cee.ug.RemoteModel.getVectorSettingsAt`
   * :js:meth:`~cee.ug.RemoteModel.getVectorSettingsById`
   * :js:meth:`~cee.ug.RemoteModel.isDataSourceRequestInProgress`
   * :js:meth:`~cee.ug.RemoteModel.isOpen`
   * :js:meth:`~cee.ug.RemoteModel.isPointCoveredBySurface`
   * :js:meth:`~cee.ug.RemoteModel.isPollForDataSourceChangesInProgress`
   * :js:meth:`~cee.ug.RemoteModel.isPreloadingEnabled`
   * :js:meth:`~cee.ug.RemoteModel.openModel`
   * :js:meth:`~cee.ug.RemoteModel.pollForDataSourceChanges`
   * :js:meth:`~cee.ug.RemoteModel.rayIntersect`
   * :js:meth:`~cee.ug.RemoteModel.recreateResultCalculator`
   * :js:meth:`~cee.ug.RemoteModel.reloadModel`
   * :js:meth:`~cee.ug.RemoteModel.sendToCloud`
   * :js:meth:`~cee.ug.RemoteModel.setColorLegendTitle`
   * :js:meth:`~cee.ug.RemoteModel.setCommunicationPerformanceHandler`
   * :js:meth:`~cee.ug.RemoteModel.setDrawStyleAllParts`
   * :js:meth:`~cee.ug.RemoteModel.setOneShotDataStreamingCompleteCallback`
   * :js:meth:`~cee.ug.RemoteModel.setProgressHandler`
   * :js:meth:`~cee.ug.RemoteModel.setReaderOptions`
   * :js:meth:`~cee.ug.RemoteModel.setResultCalculatorParams`
   * :js:meth:`~cee.ug.RemoteModel.setResultRangeChangedHandler`
   * :js:meth:`~cee.ug.RemoteModel.setServerErrorHandler`
   * :js:meth:`~cee.ug.RemoteModel.setServerLogContextKeyValueArr`
   * :js:meth:`~cee.ug.RemoteModel.startPostponedStreaming`
   * :js:meth:`~static cee.ug.RemoteModel.getCustomServerInfo`
   
   



.. rst-class:: kind-group kind-constructors

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


.. js:method:: cee.ug.RemoteModel.constructor

      .. rst-class:: sig-pretty-signature
      
         | RemoteModel(**socketIOClient_socketInstance**\ : *any*\ ): :js:class:`RemoteModel <cee.ug.RemoteModel>`
      
      Creates a RemoteModel.
      
      A socket connection to a live UgServer must be provided.
      
      Example:
      
      .. code-block:: javascript
      
         var mySocket = io('http://localhost:8998');
         var myModel = new cee.ug.RemoteModel(mySocket, "");
      
      **Parameters**
      
      
         **socketIOClient_socketInstance**\ : *any*
      
      
      **Returns**\ : :js:class:`RemoteModel <cee.ug.RemoteModel>`
      



.. rst-class:: kind-group kind-accessors

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


.. js:method:: cee.ug.RemoteModel.animation

      .. rst-class:: sig-pretty-signature
      
         | *get* animation(): :js:class:`Animation <cee.ug.Animation>`
      
      The animation control for this RemoteModel.
      
      **Returns**\ : :js:class:`Animation <cee.ug.Animation>`
      



.. js:method:: cee.ug.RemoteModel.currentFrameIndex

      .. rst-class:: sig-pretty-signature
      
         | *get* currentFrameIndex(): *number*
      
      The step to show in the view.
      
      Use this property to specify a single step of the currently specified animation to show in the viewer. The given zero-based index must be between 0 and :js:func:`frameCount <cee.ug.RemoteModel.frameCount>` - 1.
      
      Setting the current frame index will stop the animation if it is running.
      
      **Returns**\ : *number*
      
      .. rst-class:: sig-pretty-signature
      
         | *set* currentFrameIndex(**frameIndex**\ : *number*\ ): *void*
      
      **Parameters**
      
      
         **frameIndex**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.currentStepText

      .. rst-class:: sig-pretty-signature
      
         | *get* currentStepText(): *string*
      
      A description of the current step (e.g. time stamp, load case number, etc)
      
      **Returns**\ : *string*
      



.. js:method:: cee.ug.RemoteModel.cuttingPlaneCount

      .. rst-class:: sig-pretty-signature
      
         | *get* cuttingPlaneCount(): *number*
      
      The number of cutting planes in the model.
      
      **Returns**\ : *number*
      



.. js:method:: cee.ug.RemoteModel.displacementSettingsCount

      .. rst-class:: sig-pretty-signature
      
         | *get* displacementSettingsCount(): *number*
      
      The number of displacement settings in the model.
      
      **Returns**\ : *number*
      



.. js:method:: cee.ug.RemoteModel.frameCount

      .. rst-class:: sig-pretty-signature
      
         | *get* frameCount(): *number*
      
      The number of steps/frames in the viewer.
      
      The value of this property will be 1 if a model is loaded but contains no animation. If an animation has been setup then the value will be the number of animation steps.
      
      **Returns**\ : *number*
      



.. js:method:: cee.ug.RemoteModel.isosurfaceCount

      .. rst-class:: sig-pretty-signature
      
         | *get* isosurfaceCount(): *number*
      
      The number of isosurfaces in the model.
      
      **Returns**\ : *number*
      



.. js:method:: cee.ug.RemoteModel.isovolumeCount

      .. rst-class:: sig-pretty-signature
      
         | *get* isovolumeCount(): *number*
      
      The number of isovolumes in the model.
      
      **Returns**\ : *number*
      



.. js:method:: cee.ug.RemoteModel.mirrorSettings

      .. rst-class:: sig-pretty-signature
      
         | *get* mirrorSettings(): :js:class:`MirrorSettings <cee.ug.MirrorSettings>`
      
      The mirror/symmetry settings for this RemoteModel
      
      See :js:class:`MirrorSettings <cee.ug.MirrorSettings>` for more info.
      
      **Returns**\ : :js:class:`MirrorSettings <cee.ug.MirrorSettings>`
      



.. js:method:: cee.ug.RemoteModel.modelDirectory

      .. rst-class:: sig-pretty-signature
      
         | *get* modelDirectory(): :js:class:`ModelDirectory <cee.ug.ModelDirectory>`
      
      The current :js:class:`ModelDirectory <cee.ug.ModelDirectory>`\ . This contains a table of contents of what is available to display in the analysis on the server (time steps, results, etc).
      
      The :js:class:`ModelDirectory <cee.ug.ModelDirectory>` is fully available once the callback passed to :js:meth:`openModel <cee.ug.RemoteModel.openModel>` is called. Until then, this is an empty ``ModelDirectory`` with no data.
      
      **Returns**\ : :js:class:`ModelDirectory <cee.ug.ModelDirectory>`
      



.. js:method:: cee.ug.RemoteModel.modelSettings

      .. rst-class:: sig-pretty-signature
      
         | *get* modelSettings(): :js:class:`ModelSettings <cee.ug.ModelSettings>`
      
      The model settings for this RemoteModel
      
      See :js:class:`ModelSettings <cee.ug.ModelSettings>` for more info.
      
      **Returns**\ : :js:class:`ModelSettings <cee.ug.ModelSettings>`
      



.. js:method:: cee.ug.RemoteModel.modelSpec

      .. rst-class:: sig-pretty-signature
      
         | *get* modelSpec(): :js:class:`ModelSpec <cee.ug.ModelSpec>`
      
      The specification of what to show in the remote model.
      
      The :js:class:`ModelSpec <cee.ug.ModelSpec>` controls what is shown in the RemoteModel (states, results, mode-shape animation).
      
      The :js:func:`modelSpec <cee.ug.RemoteModel.modelSpec>` is available once the callback passed to :js:meth:`openModel <cee.ug.RemoteModel.openModel>` is called. Until then, this is an empty ``ModelSpec`` with no data and accessing its setters will throw an error.
      
      **Returns**\ : :js:class:`ModelSpec <cee.ug.ModelSpec>`
      



.. js:method:: cee.ug.RemoteModel.name

      Name of the model.
      
      Mainly used for debugging.
      
      .. rst-class:: sig-pretty-signature
      
         | *get* name(): *string*
      
      Name of the geometry model.
      
      Mainly used for debugging.
      
      **Returns**\ : *string*
      
      .. rst-class:: sig-pretty-signature
      
         | *set* name(**name**\ : *string*\ ): *void*
      
      **Parameters**
      
      
         **name**\ : *string*
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.partCount

      .. rst-class:: sig-pretty-signature
      
         | *get* partCount(): *number*
      
      The number of parts in the model.
      
      **Returns**\ : *number*
      



.. js:method:: cee.ug.RemoteModel.particleTraceGroupCount

      .. rst-class:: sig-pretty-signature
      
         | *get* particleTraceGroupCount(): *number*
      
      The number of particle trace groups in the model.
      
      **Returns**\ : *number*
      



.. js:method:: cee.ug.RemoteModel.scalarSettingsCount

      .. rst-class:: sig-pretty-signature
      
         | *get* scalarSettingsCount(): *number*
      
      The number of scalar settings in the model.
      
      **Returns**\ : *number*
      



.. js:method:: cee.ug.RemoteModel.vectorSettingsCount

      .. rst-class:: sig-pretty-signature
      
         | *get* vectorSettingsCount(): *number*
      
      The number of vector settings in the model.
      
      **Returns**\ : *number*
      



.. rst-class:: kind-group kind-methods

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


.. js:method:: cee.ug.RemoteModel.addCuttingPlane

      .. rst-class:: sig-pretty-signature
      
         | addCuttingPlane(): :js:class:`CuttingPlane <cee.ug.CuttingPlane>`
      
      Adds a :js:class:`CuttingPlane <cee.ug.CuttingPlane>` to the remote model.
      
      This will add a new cutting plane to the model. The cutting plane will be assigned an id by the model.
      
      Note: Maximum number of clipping planes is 20
      
      **Returns**\ : :js:class:`CuttingPlane <cee.ug.CuttingPlane>`
      
      
         Returns the new :js:class:`CuttingPlane <cee.ug.CuttingPlane>`\ .
      
      



.. js:method:: cee.ug.RemoteModel.addIsosurface

      .. rst-class:: sig-pretty-signature
      
         | addIsosurface(): :js:class:`Isosurface <cee.ug.Isosurface>`
      
      Adds an :js:class:`Isosurface <cee.ug.Isosurface>` to the remote model.
      
      This will add a new isosurface to the model. The isosurface will be assigned an id by the model. Returns null if the adding fails.
      
      The default settings are:
      
      
      - :js:func:`Isosurface.isoScalarResultId <cee.ug.Isosurface.isoScalarResultId>`\ : the fringes result or the first available scalar
      - :js:func:`Isosurface.mapScalarResultId <cee.ug.Isosurface.mapScalarResultId>`\ : same as above
      - :js:func:`Isosurface.isoValue <cee.ug.Isosurface.isoValue>`\ : the middle of the range if known, else 0.5
      
      **Returns**\ : :js:class:`Isosurface <cee.ug.Isosurface>`
      
      
         Returns the new :js:class:`Isosurface <cee.ug.Isosurface>`\ .
      
      



.. js:method:: cee.ug.RemoteModel.addIsovolume

      .. rst-class:: sig-pretty-signature
      
         | addIsovolume(): :js:class:`Isovolume <cee.ug.Isovolume>`
      
      Adds an :js:class:`Isovolume <cee.ug.Isovolume>` to the remote model.
      
      This will add a new isovolume to the model. The isovolume will be assigned an id by the model. Returns null if the adding fails.
      
      The default settings are:
      
      
      - :js:func:`Isovolume.isoScalarResultId <cee.ug.Isovolume.isoScalarResultId>`\ : the fringes result or the first available scalar
      - :js:func:`Isovolume.mapScalarResultId <cee.ug.Isovolume.mapScalarResultId>`\ : same as above
      - :js:func:`Isovolume.minimumIsoValue <cee.ug.Isovolume.minimumIsoValue>`\ : the minimum of the range if known, else 0
      - :js:func:`Isovolume.maximumIsoValue <cee.ug.Isovolume.maximumIsoValue>`\ : the middle of the range if known, else 0.5
      
      **Returns**\ : :js:class:`Isovolume <cee.ug.Isovolume>`
      
      
         Returns the new :js:class:`Isovolume <cee.ug.Isovolume>`\ .
      
      



.. js:method:: cee.ug.RemoteModel.addNextServerUpdateCompletedCallback

      .. rst-class:: sig-pretty-signature
      
         | addNextServerUpdateCompletedCallback(**serverVisuaizationUpdateCompleteCallback**\ : :js:class:`ServerUpdateCompletedCallback <cee.ug.ServerUpdateCompletedCallback>`\ ): *void*
      
      Adds a one-shot callback that will be called once the next server visualization update is complete.
      
      Whenever you change something in a RemoteModel, the pending changes will immediately be registered client-side, but will not be dispatched to the remote server until later. This server update typically happens in response to requestAnimationFrame() processing. The callback registered by this function will only be triggered once the next server update has been dispatched and has completed.
      
      Please note that the callback will only be called once.
      
      **Parameters**
      
      
         **serverVisuaizationUpdateCompleteCallback**\ : :js:class:`ServerUpdateCompletedCallback <cee.ug.ServerUpdateCompletedCallback>`
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.addParticleTraceGroup

      .. rst-class:: sig-pretty-signature
      
         | addParticleTraceGroup(): :js:class:`ParticleTraceGroup <cee.ug.ParticleTraceGroup>`
      
      Adds a :js:class:`ParticleTraceGroup <cee.ug.ParticleTraceGroup>` to the remote model.
      
      This will add a new particle trace group to the model. The group will be assigned an id by the model.
      
      **Returns**\ : :js:class:`ParticleTraceGroup <cee.ug.ParticleTraceGroup>`
      
      
         Returns the new :js:class:`ParticleTraceGroup <cee.ug.ParticleTraceGroup>`\ .
      
      



.. js:method:: cee.ug.RemoteModel.applyVTFxCase

      .. rst-class:: sig-pretty-signature
      
         | applyVTFxCase(**caseId**\ : *number*\ , **applyVTFxCaseCompletedCallback**\ : :js:class:`ApplyVTFxCaseCallback <cee.ug.ApplyVTFxCaseCallback>`\ ): *void*
      
      Apply the VTFx case with the given id to the model.
      
      The list of available VTFx cases with name and id can be found in ModelDirectory.vtfxCaseInfoArray
      
      **Parameters**
      
      
         **caseId**\ : *number*
      
         **applyVTFxCaseCompletedCallback**\ : :js:class:`ApplyVTFxCaseCallback <cee.ug.ApplyVTFxCaseCallback>`
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.clientSideRayIntersect

      .. rst-class:: sig-pretty-signature
      
         | clientSideRayIntersect(**ray**\ : :js:class:`Ray <cee.Ray>`\ ): :js:class:`ClientSideHitItem <cee.ug.ClientSideHitItem>`
      
      Performs a client-side (not on server) ray pick.
      
      This might be faster or slower than a server pick request, depending on model size, latency, server capabilities and client capabilities. Note that this picking only considers visible surface geometry.
      
      If something was hit, returns a ClientSideHitItem object containing information about the hit. Returns null if nothing was hit
      
      **Parameters**
      
      
         **ray**\ : :js:class:`Ray <cee.Ray>`
      
      
      **Returns**\ : :js:class:`ClientSideHitItem <cee.ug.ClientSideHitItem>`
      



.. js:method:: cee.ug.RemoteModel.closeModel

      .. rst-class:: sig-pretty-signature
      
         | closeModel(): *void*
      
      Closes the model, cleaning up on both the server and the client.
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.createResultCalculator

      .. rst-class:: sig-pretty-signature
      
         | createResultCalculator(**config**\ : :js:class:`CreateResultCalculatorConfig <cee.ug.CreateResultCalculatorConfig>`\ , **callback**\ : :js:class:`CreateResultCalculatorCallback <cee.ug.CreateResultCalculatorCallback>`\ ): *void*
      
      Create a new result calculator result based on the given specification.
      
      Result calculators are created with the Result Calculator Framework and loaded as .dll/.so/.dylib on the server. A calculator can be initialized with an initString. This string contains the configuration of the calculator (e.g. a mathematical expression).
      
      **Parameters**
      
      
         **config**\ : :js:class:`CreateResultCalculatorConfig <cee.ug.CreateResultCalculatorConfig>`
      
      
            See :js:class:`CreateResultCalculatorConfig <cee.ug.CreateResultCalculatorConfig>`
      
      
         **callback**\ : :js:class:`CreateResultCalculatorCallback <cee.ug.CreateResultCalculatorCallback>`
      
      
            An optional callback function triggered when the new result is available. From this method you can locate the newly created result in the model directory (using the calculatorId and resultIdString) and then e.g. apply it to the model.
      
      
      
      **Returns**\ : *void*
      
      .. rubric:: Examples
      
      
      .. code-block:: javascript
      
         // Basic usage
         model.createResultCalculator({
             calculatorId: "MyCalculator",
             resultIdString: "MyResult",
             initString: "MyCustomExpression"
         });
         
         // With coordinate system
         model.createResultCalculator({
             calculatorId: "MyCalculator",
             resultIdString: "MyResult",
             initString: "MyCustomExpression",
             coordSystemString: "type=cylindrical;origin=10.0,5.0,0.0;orientation=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0"
         });
      



.. js:method:: cee.ug.RemoteModel.createTrianglePicker

      .. rst-class:: sig-pretty-signature
      
         | createTrianglePicker(**view**\ : :js:class:`View <cee.View>`\ ): :js:class:`TrianglePicker <cee.ug.TrianglePicker>`
      
      Creates a TrianglePicker for this model and the specified view.
      
      Returns null if no picker can be created, typically because WebGL resources have been exhausted.
      
      See :js:class:`TrianglePicker <cee.ug.TrianglePicker>` for more information.
      
      **Parameters**
      
      
         **view**\ : :js:class:`View <cee.View>`
      
      
      **Returns**\ : :js:class:`TrianglePicker <cee.ug.TrianglePicker>`
      



.. js:method:: cee.ug.RemoteModel.createVisibleObjectPicker

      .. rst-class:: sig-pretty-signature
      
         | createVisibleObjectPicker(**view**\ : :js:class:`View <cee.View>`\ ): :js:class:`VisibleObjectPicker <cee.ug.VisibleObjectPicker>`
      
      Creates a VisibleObjectPicker for this model and the specified view.
      
      Returns null if no picker can be created, typically because WebGL resources have been exhausted.
      
      This support class is used to get information about the visible items in the model. Given a rectangular region, this class can return the parts/objects that are currently visible in that region.
      
      See :js:class:`VisibleObjectPicker <cee.ug.VisibleObjectPicker>` for more information.
      
      **Parameters**
      
      
         **view**\ : :js:class:`View <cee.View>`
      
      
      **Returns**\ : :js:class:`VisibleObjectPicker <cee.ug.VisibleObjectPicker>`
      



.. js:method:: cee.ug.RemoteModel.deleteAllCuttingPlanes

      .. rst-class:: sig-pretty-signature
      
         | deleteAllCuttingPlanes(): *void*
      
      Deletes all :js:class:`CuttingPlanes <cee.ug.CuttingPlane>` from the model.
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.deleteAllIsosurfaces

      .. rst-class:: sig-pretty-signature
      
         | deleteAllIsosurfaces(): *void*
      
      Deletes all :js:class:`Isosurfaces <cee.ug.Isosurface>` from the model.
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.deleteAllIsovolumes

      .. rst-class:: sig-pretty-signature
      
         | deleteAllIsovolumes(): *void*
      
      Delete all :js:class:`Isovolumes <cee.ug.Isovolume>` from the model.
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.deleteAllParticleTraceGroups

      .. rst-class:: sig-pretty-signature
      
         | deleteAllParticleTraceGroups(): *void*
      
      Deletes all :js:class:`ParticleTraceGroup <cee.ug.ParticleTraceGroup>` from the model.
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.deleteCuttingPlaneById

      .. rst-class:: sig-pretty-signature
      
         | deleteCuttingPlaneById(**id**\ : *number*\ ): *void*
      
      Deletes the :js:class:`CuttingPlane <cee.ug.CuttingPlane>` with the given id from the model.
      
      **Parameters**
      
      
         **id**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.deleteIsosurfaceById

      .. rst-class:: sig-pretty-signature
      
         | deleteIsosurfaceById(**id**\ : *number*\ ): *void*
      
      Deletes the :js:class:`Isosurface <cee.ug.Isosurface>` with the given id from the model.
      
      **Parameters**
      
      
         **id**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.deleteIsovolumeById

      .. rst-class:: sig-pretty-signature
      
         | deleteIsovolumeById(**id**\ : *number*\ ): *void*
      
      Deletes the :js:class:`Isovolume <cee.ug.Isovolume>` with the given id from the model.
      
      **Parameters**
      
      
         **id**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.deleteParticleTraceGroupById

      .. rst-class:: sig-pretty-signature
      
         | deleteParticleTraceGroupById(**id**\ : *number*\ ): *void*
      
      Deletes the :js:class:`ParticleTraceGroup <cee.ug.ParticleTraceGroup>` with the given id from the model.
      
      **Parameters**
      
      
         **id**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.deleteResultCalculator

      .. rst-class:: sig-pretty-signature
      
         | deleteResultCalculator(**calculatorId**\ : *string*\ , **resultIdString**\ : *string*\ ): *void*
      
      Delete the result calculator with the given calculator id and result idString
      
      **Parameters**
      
      
         **calculatorId**\ : *string*
      
         **resultIdString**\ : *string*
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.enablePreloading

      .. rst-class:: sig-pretty-signature
      
         | enablePreloading(**enable**\ : *boolean*\ ): *void*
      
      Enables pre-loading of data.
      
      If enabled, the server will stream all data specified in :js:func:`ModelSpec.stateIdArray <cee.ug.ModelSpec.stateIdArray>` to prepare the client for an animation or for stepping through the states.
      
      If not enabled (default), data will only be streamed when needed (i.e. when a step is going to be displayed).
      
      **Parameters**
      
      
         **enable**\ : *boolean*
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.executeDataSourceRequest

      .. rst-class:: sig-pretty-signature
      
         | executeDataSourceRequest(**message**\ : *string*\ , **data**\ : *string*\ , **callback**\ : :js:class:`DataSourceRequestCallback <cee.ug.DataSourceRequestCallback>`\ ): *void*
      
      Send a request to the server data source (Data Provider).
      
      Note: Only one request can be in flight at any given time, so calling this method while a request is being processed will throw. To make sure you do not do that, use the isDataSourceRequestInProgress() method to check for any ongoing requests.
      
      **Parameters**
      
      
         **message**\ : *string*
      
         **data**\ : *string*
      
         **callback**\ : :js:class:`DataSourceRequestCallback <cee.ug.DataSourceRequestCallback>`
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.getBoundingBox

      .. rst-class:: sig-pretty-signature
      
         | getBoundingBox(**_options**\ : :js:class:`ModelBoundingBoxOptions <cee.ModelBoundingBoxOptions>`\ ): :js:class:`BoundingBox <cee.BoundingBox>`
      
      Returns the :js:class:`BoundingBox <cee.BoundingBox>` (in world coordinates) of the current contents of the RemoteModel
      
      Note that currently this method does not support :js:class:`ModelBoundingBoxOptions <cee.ModelBoundingBoxOptions>` so the returned bounding box will always be the "current" bounding box that accounts for visibility of parts/objects.
      
      **Parameters**
      
      
         **_options**\ : :js:class:`ModelBoundingBoxOptions <cee.ModelBoundingBoxOptions>`
      
      
      **Returns**\ : :js:class:`BoundingBox <cee.BoundingBox>`
      



.. js:method:: cee.ug.RemoteModel.getClientSidePartBoundingBox

      .. rst-class:: sig-pretty-signature
      
         | getClientSidePartBoundingBox(**geometryIndex**\ : *number*\ , **partId**\ : *number*\ ): :js:class:`BoundingBox <cee.BoundingBox>`
      
      Returns the :js:class:`BoundingBox <cee.BoundingBox>` (in world coordinates) of the given part in the current frame.
      
      The bounding box returned is the bounding box of the specified part in the current frame, provided that the part is visible and present on the client.
      
      **Parameters**
      
      
         **geometryIndex**\ : *number*
      
         **partId**\ : *number*
      
      
      **Returns**\ : :js:class:`BoundingBox <cee.BoundingBox>`
      



.. js:method:: cee.ug.RemoteModel.getCuttingPlaneArray

      .. rst-class:: sig-pretty-signature
      
         | getCuttingPlaneArray(): readonly  :js:class:`CuttingPlane <cee.ug.CuttingPlane>`\ []
      
      Returns all :js:class:`CuttingPlane <cee.ug.CuttingPlane>`\ s in the model.
      
      **Returns**\ : readonly  :js:class:`CuttingPlane <cee.ug.CuttingPlane>`\ []
      



.. js:method:: cee.ug.RemoteModel.getCuttingPlaneAt

      .. rst-class:: sig-pretty-signature
      
         | getCuttingPlaneAt(**index**\ : *number*\ ): :js:class:`CuttingPlane <cee.ug.CuttingPlane>`
      
      Returns the :js:class:`CuttingPlane <cee.ug.CuttingPlane>` at the given index.
      
      The index must be between 0 and cuttingPlaneCount - 1.
      
      Use the returned object to modify the settings of the cutting plane.
      
      **Parameters**
      
      
         **index**\ : *number*
      
      
      **Returns**\ : :js:class:`CuttingPlane <cee.ug.CuttingPlane>`
      



.. js:method:: cee.ug.RemoteModel.getCuttingPlaneById

      .. rst-class:: sig-pretty-signature
      
         | getCuttingPlaneById(**id**\ : *number*\ ): :js:class:`CuttingPlane <cee.ug.CuttingPlane>`
      
      Returns the :js:class:`CuttingPlane <cee.ug.CuttingPlane>` with the given id, or null if no match is found.
      
      Use the returned object to modify the settings of the cutting plane.
      
      **Parameters**
      
      
         **id**\ : *number*
      
      
      **Returns**\ : :js:class:`CuttingPlane <cee.ug.CuttingPlane>`
      



.. js:method:: cee.ug.RemoteModel.getDefaultCameraConfig

      .. rst-class:: sig-pretty-signature
      
         | getDefaultCameraConfig(): :js:class:`CameraConfig <cee.CameraConfig>`
      
      Returns default camera configuration for this model if it exists
      
      **Returns**\ : :js:class:`CameraConfig <cee.CameraConfig>`
      



.. js:method:: cee.ug.RemoteModel.getDisplacementResultMaximumLength

      .. rst-class:: sig-pretty-signature
      
         | getDisplacementResultMaximumLength(**resultId**\ : *number*\ ): *number*
      
      Returns the maximum length for all items currently loaded in the RemoteModel for the given displacement result.
      
      The resultId must refer to one of the displacement results in :js:data:`ModelDirectory.displacementResultArray <cee.ug.ModelDirectory.displacementResultArray>`\ .
      
      **Parameters**
      
      
         **resultId**\ : *number*
      
      
      **Returns**\ : *number*
      
      
         Returns undefined if the result has not been loaded or if the resultId is invalid.
      
      



.. js:method:: cee.ug.RemoteModel.getDisplacementResultMinimumLength

      .. rst-class:: sig-pretty-signature
      
         | getDisplacementResultMinimumLength(**resultId**\ : *number*\ ): *number*
      
      Returns the minimum length for all items currently loaded in the RemoteModel for the given displacement result.
      
      The resultId must refer to one of the displacement results in :js:data:`ModelDirectory.displacementResultArray <cee.ug.ModelDirectory.displacementResultArray>`\ .
      
      **Parameters**
      
      
         **resultId**\ : *number*
      
      
      **Returns**\ : *number*
      
      
         Returns undefined if the result has not been loaded or if the resultId is invalid.
      
      



.. js:method:: cee.ug.RemoteModel.getDisplacementSettingsArray

      .. rst-class:: sig-pretty-signature
      
         | getDisplacementSettingsArray(): readonly  :js:class:`DisplacementSettings <cee.ug.DisplacementSettings>`\ []
      
      Returns :js:class:`DisplacementSettings <cee.ug.DisplacementSettings>` for all displacement results in the model.
      
      **Returns**\ : readonly  :js:class:`DisplacementSettings <cee.ug.DisplacementSettings>`\ []
      



.. js:method:: cee.ug.RemoteModel.getDisplacementSettingsAt

      .. rst-class:: sig-pretty-signature
      
         | getDisplacementSettingsAt(**resultIndex**\ : *number*\ ): :js:class:`DisplacementSettings <cee.ug.DisplacementSettings>`
      
      Returns the :js:class:`DisplacementSettings <cee.ug.DisplacementSettings>` for the result at the given index.
      
      The index must be between 0 and displacementSettingsCount - 1.
      
      Use the returned object to modify the settings of the displacement result.
      
      **Parameters**
      
      
         **resultIndex**\ : *number*
      
      
      **Returns**\ : :js:class:`DisplacementSettings <cee.ug.DisplacementSettings>`
      



.. js:method:: cee.ug.RemoteModel.getDisplacementSettingsById

      .. rst-class:: sig-pretty-signature
      
         | getDisplacementSettingsById(**resultId**\ : *number*\ ): :js:class:`DisplacementSettings <cee.ug.DisplacementSettings>`
      
      Returns the :js:class:`DisplacementSettings <cee.ug.DisplacementSettings>` for the result with the given result id, or null if no match is found.
      
      The resultId must refer to one of the displacement results in :js:data:`ModelDirectory.displacementResultArray <cee.ug.ModelDirectory.displacementResultArray>`\ .
      
      Use the returned object to modify the settings of the displacement result.
      
      **Parameters**
      
      
         **resultId**\ : *number*
      
      
      **Returns**\ : :js:class:`DisplacementSettings <cee.ug.DisplacementSettings>`
      



.. js:method:: cee.ug.RemoteModel.getElementCount

      .. rst-class:: sig-pretty-signature
      
         | getElementCount(**frameIndex**\ : *number*\ ): *number*
      
      Returns the total number of elements in the given frame
      
      frameIndex must be <0..frameCount-1>
      
      **Parameters**
      
      
         **frameIndex**\ : *number*
      
      
      **Returns**\ : *number*
      
      
         Returns undefined if data for the frame has not yet been received.
      
      



.. js:method:: cee.ug.RemoteModel.getIsosurfaceArray

      .. rst-class:: sig-pretty-signature
      
         | getIsosurfaceArray(): readonly  :js:class:`Isosurface <cee.ug.Isosurface>`\ []
      
      Returns all :js:class:`Isosurfaces <cee.ug.Isosurface>` in the model.
      
      **Returns**\ : readonly  :js:class:`Isosurface <cee.ug.Isosurface>`\ []
      



.. js:method:: cee.ug.RemoteModel.getIsosurfaceAt

      .. rst-class:: sig-pretty-signature
      
         | getIsosurfaceAt(**index**\ : *number*\ ): :js:class:`Isosurface <cee.ug.Isosurface>`
      
      Returns the :js:class:`Isosurface <cee.ug.Isosurface>` at the given index.
      
      The index must be between 0 and isosurfaceCount - 1.
      
      **Parameters**
      
      
         **index**\ : *number*
      
      
      **Returns**\ : :js:class:`Isosurface <cee.ug.Isosurface>`
      



.. js:method:: cee.ug.RemoteModel.getIsosurfaceById

      .. rst-class:: sig-pretty-signature
      
         | getIsosurfaceById(**id**\ : *number*\ ): :js:class:`Isosurface <cee.ug.Isosurface>`
      
      Returns the :js:class:`Isosurface <cee.ug.Isosurface>` with the given id, or null if no match is found.
      
      **Parameters**
      
      
         **id**\ : *number*
      
      
      **Returns**\ : :js:class:`Isosurface <cee.ug.Isosurface>`
      



.. js:method:: cee.ug.RemoteModel.getIsovolumeArray

      .. rst-class:: sig-pretty-signature
      
         | getIsovolumeArray(): readonly  :js:class:`Isovolume <cee.ug.Isovolume>`\ []
      
      Returns all the :js:class:`Isovolumes <cee.ug.Isovolume>` in the model.
      
      **Returns**\ : readonly  :js:class:`Isovolume <cee.ug.Isovolume>`\ []
      



.. js:method:: cee.ug.RemoteModel.getIsovolumeAt

      .. rst-class:: sig-pretty-signature
      
         | getIsovolumeAt(**index**\ : *number*\ ): :js:class:`Isovolume <cee.ug.Isovolume>`
      
      Returns the :js:class:`Isovolume <cee.ug.Isovolume>` at the given index.
      
      The index must be between 0 and isovolumeCount - 1.
      
      **Parameters**
      
      
         **index**\ : *number*
      
      
      **Returns**\ : :js:class:`Isovolume <cee.ug.Isovolume>`
      



.. js:method:: cee.ug.RemoteModel.getIsovolumeById

      .. rst-class:: sig-pretty-signature
      
         | getIsovolumeById(**id**\ : *number*\ ): :js:class:`Isovolume <cee.ug.Isovolume>`
      
      Returns the :js:class:`Isovolume <cee.ug.Isovolume>` with the given id, or null if no match is found.
      
      **Parameters**
      
      
         **id**\ : *number*
      
      
      **Returns**\ : :js:class:`Isovolume <cee.ug.Isovolume>`
      



.. js:method:: cee.ug.RemoteModel.getNodeCount

      .. rst-class:: sig-pretty-signature
      
         | getNodeCount(**frameIndex**\ : *number*\ ): *number*
      
      Returns the total number of nodes in the given frame
      
      index must be <0..frameCount-1>
      
      **Parameters**
      
      
         **frameIndex**\ : *number*
      
      
      **Returns**\ : *number*
      
      
         Returns undefined if data for the frame has not yet been received.
      
      



.. js:method:: cee.ug.RemoteModel.getParticleTraceGroupArray

      .. rst-class:: sig-pretty-signature
      
         | getParticleTraceGroupArray(): readonly  :js:class:`ParticleTraceGroup <cee.ug.ParticleTraceGroup>`\ []
      
      Returns all :js:class:`ParticleTraceGroups <cee.ug.ParticleTraceGroup>` in the model.
      
      **Returns**\ : readonly  :js:class:`ParticleTraceGroup <cee.ug.ParticleTraceGroup>`\ []
      



.. js:method:: cee.ug.RemoteModel.getParticleTraceGroupAt

      .. rst-class:: sig-pretty-signature
      
         | getParticleTraceGroupAt(**index**\ : *number*\ ): :js:class:`ParticleTraceGroup <cee.ug.ParticleTraceGroup>`
      
      Returns the :js:class:`ParticleTraceGroup <cee.ug.ParticleTraceGroup>` at the given index.
      
      The index must be between 0 and particleTraceGroupCount - 1.
      
      **Parameters**
      
      
         **index**\ : *number*
      
      
      **Returns**\ : :js:class:`ParticleTraceGroup <cee.ug.ParticleTraceGroup>`
      



.. js:method:: cee.ug.RemoteModel.getParticleTraceGroupById

      .. rst-class:: sig-pretty-signature
      
         | getParticleTraceGroupById(**id**\ : *number*\ ): :js:class:`ParticleTraceGroup <cee.ug.ParticleTraceGroup>`
      
      Returns the :js:class:`ParticleTraceGroup <cee.ug.ParticleTraceGroup>` with the given id, or null if no match was found.
      
      **Parameters**
      
      
         **id**\ : *number*
      
      
      **Returns**\ : :js:class:`ParticleTraceGroup <cee.ug.ParticleTraceGroup>`
      



.. js:method:: cee.ug.RemoteModel.getPartSettingsArray

      .. rst-class:: sig-pretty-signature
      
         | getPartSettingsArray(): readonly  :js:class:`PartSettings <cee.ug.PartSettings>`\ []
      
      Returns :js:class:`PartSettings <cee.ug.PartSettings>` for all parts in the model.
      
      **Returns**\ : readonly  :js:class:`PartSettings <cee.ug.PartSettings>`\ []
      



.. js:method:: cee.ug.RemoteModel.getPartSettingsAt

      .. rst-class:: sig-pretty-signature
      
         | getPartSettingsAt(**partIndex**\ : *number*\ ): :js:class:`PartSettings <cee.ug.PartSettings>`
      
      Returns part settings for the part at the given index.
      
      The index must be between 0 and partCount - 1.
      
      **Parameters**
      
      
         **partIndex**\ : *number*
      
      
      **Returns**\ : :js:class:`PartSettings <cee.ug.PartSettings>`
      



.. js:method:: cee.ug.RemoteModel.getPartSettingsById

      .. rst-class:: sig-pretty-signature
      
         | getPartSettingsById(**geometryIndex**\ : *number*\ , **partId**\ : *number*\ ): :js:class:`PartSettings <cee.ug.PartSettings>`
      
      Returns the part settings for the part with the given geometry index and part id.
      
      **Parameters**
      
      
         **geometryIndex**\ : *number*
      
      
            The index of the geometry the part belongs to. In most cases there is only one geometry and this parameter should be 0.
      
      
         **partId**\ : *number*
      
      
            The id of the part to find.
      
      
      
      **Returns**\ : :js:class:`PartSettings <cee.ug.PartSettings>`
      



.. js:method:: cee.ug.RemoteModel.getScalarResultMaximumValue

      .. rst-class:: sig-pretty-signature
      
         | getScalarResultMaximumValue(**resultId**\ : *number*\ ): *number*
      
      Returns the maximum value for all items currently loaded in the RemoteModel for the given scalar result.
      
      The resultId must refer to one of the scalar results in :js:data:`ModelDirectory.scalarResultArray <cee.ug.ModelDirectory.scalarResultArray>`\ .
      
      Note: This method only works for results that are currently in use in the client. If you need the maximum value of any scalar result, you can use the :js:class:`QueryResultMinMax <cee.ug.QueryResultMinMax>` class.
      
      **Parameters**
      
      
         **resultId**\ : *number*
      
      
      **Returns**\ : *number*
      
      
         Returns undefined if the result has not been loaded or if the resultId is invalid.
      
      



.. js:method:: cee.ug.RemoteModel.getScalarResultMinimumValue

      .. rst-class:: sig-pretty-signature
      
         | getScalarResultMinimumValue(**resultId**\ : *number*\ ): *number*
      
      Returns the minimum value for all items currently loaded in the RemoteModel for the given scalar result.
      
      The resultId must refer to one of the scalar results in :js:data:`ModelDirectory.scalarResultArray <cee.ug.ModelDirectory.scalarResultArray>`\ .
      
      Note: This method only works for results that are currently in use in the client. If you need the minimum value of any scalar result, you can use the :js:class:`QueryResultMinMax <cee.ug.QueryResultMinMax>` class.
      
      **Parameters**
      
      
         **resultId**\ : *number*
      
      
      **Returns**\ : *number*
      
      
         Returns undefined if the result has not been loaded or if the resultId is invalid.
      
      



.. js:method:: cee.ug.RemoteModel.getScalarSettingsArray

      .. rst-class:: sig-pretty-signature
      
         | getScalarSettingsArray(): readonly  :js:class:`ScalarSettings <cee.ug.ScalarSettings>`\ []
      
      Returns :js:class:`ScalarSettings <cee.ug.ScalarSettings>` for all scalar results in the model.
      
      **Returns**\ : readonly  :js:class:`ScalarSettings <cee.ug.ScalarSettings>`\ []
      



.. js:method:: cee.ug.RemoteModel.getScalarSettingsAt

      .. rst-class:: sig-pretty-signature
      
         | getScalarSettingsAt(**resultIndex**\ : *number*\ ): :js:class:`ScalarSettings <cee.ug.ScalarSettings>`
      
      Returns the :js:class:`ScalarSettings <cee.ug.ScalarSettings>` for the result at the given index.
      
      The index must be between 0 and scalarSettingsCount - 1.
      
      Use the returned object to modify the settings of the scalar result
      
      **Parameters**
      
      
         **resultIndex**\ : *number*
      
      
      **Returns**\ : :js:class:`ScalarSettings <cee.ug.ScalarSettings>`
      



.. js:method:: cee.ug.RemoteModel.getScalarSettingsById

      .. rst-class:: sig-pretty-signature
      
         | getScalarSettingsById(**resultId**\ : *number*\ ): :js:class:`ScalarSettings <cee.ug.ScalarSettings>`
      
      Returns the :js:class:`ScalarSettings <cee.ug.ScalarSettings>` for the result with the given result id, or null if no match is found.
      
      The resultId must refer to one of the scalar results in :js:data:`ModelDirectory.scalarResultArray <cee.ug.ModelDirectory.scalarResultArray>`\ .
      
      Use the returned object to modify the settings of the scalar result
      
      **Parameters**
      
      
         **resultId**\ : *number*
      
      
      **Returns**\ : :js:class:`ScalarSettings <cee.ug.ScalarSettings>`
      



.. js:method:: cee.ug.RemoteModel.getVectorResultMaximumLength

      .. rst-class:: sig-pretty-signature
      
         | getVectorResultMaximumLength(**resultId**\ : *number*\ ): *number*
      
      Returns the maximum length for all items currently loaded in the RemoteModel for the given vector result.
      
      The resultId must refer to one of the vector results in :js:data:`ModelDirectory.vectorResultArray <cee.ug.ModelDirectory.vectorResultArray>`\ .
      
      **Parameters**
      
      
         **resultId**\ : *number*
      
      
      **Returns**\ : *number*
      
      
         Returns undefined if the result has not been loaded or if the resultId is invalid.
      
      



.. js:method:: cee.ug.RemoteModel.getVectorResultMinimumLength

      .. rst-class:: sig-pretty-signature
      
         | getVectorResultMinimumLength(**resultId**\ : *number*\ ): *number*
      
      Returns the minimum length for all items currently loaded in the RemoteModel for the given vector result.
      
      The resultId must refer to one of the vector results in :js:data:`ModelDirectory.vectorResultArray <cee.ug.ModelDirectory.vectorResultArray>`\ .
      
      **Parameters**
      
      
         **resultId**\ : *number*
      
      
      **Returns**\ : *number*
      
      
         Returns undefined if the result has not been loaded or if the resultId is invalid.
      
      



.. js:method:: cee.ug.RemoteModel.getVectorSettingsArray

      .. rst-class:: sig-pretty-signature
      
         | getVectorSettingsArray(): readonly  :js:class:`VectorSettings <cee.ug.VectorSettings>`\ []
      
      Returns :js:class:`VectorSettings <cee.ug.VectorSettings>` for all vector results in the model.
      
      **Returns**\ : readonly  :js:class:`VectorSettings <cee.ug.VectorSettings>`\ []
      



.. js:method:: cee.ug.RemoteModel.getVectorSettingsAt

      .. rst-class:: sig-pretty-signature
      
         | getVectorSettingsAt(**resultIndex**\ : *number*\ ): :js:class:`VectorSettings <cee.ug.VectorSettings>`
      
      Returns the :js:class:`VectorSettings <cee.ug.VectorSettings>` for the result at the given index.
      
      The index must be between 0 and vectorSettingsCount - 1.
      
      Use the returned object to modify the settings of the vector result
      
      **Parameters**
      
      
         **resultIndex**\ : *number*
      
      
      **Returns**\ : :js:class:`VectorSettings <cee.ug.VectorSettings>`
      



.. js:method:: cee.ug.RemoteModel.getVectorSettingsById

      .. rst-class:: sig-pretty-signature
      
         | getVectorSettingsById(**resultId**\ : *number*\ ): :js:class:`VectorSettings <cee.ug.VectorSettings>`
      
      Returns the :js:class:`VectorSettings <cee.ug.VectorSettings>` for the result with the given result id, or null if no match is found.
      
      The resultId must refer to one of the vector results in :js:data:`ModelDirectory.vectorResultArray <cee.ug.ModelDirectory.vectorResultArray>`\ .
      
      Use the returned object to modify the settings of the vector result
      
      **Parameters**
      
      
         **resultId**\ : *number*
      
      
      **Returns**\ : :js:class:`VectorSettings <cee.ug.VectorSettings>`
      



.. js:method:: cee.ug.RemoteModel.isDataSourceRequestInProgress

      .. rst-class:: sig-pretty-signature
      
         | isDataSourceRequestInProgress(): *boolean*
      
      Returns true if an executeDataSourceRequest call is in progress.
      
      Use this to check before calling executeDataSourceRequest, as this will throw if a request is in flight
      
      **Returns**\ : *boolean*
      



.. js:method:: cee.ug.RemoteModel.isOpen

      .. rst-class:: sig-pretty-signature
      
         | isOpen(): *boolean*
      
      Returs true when the model is successfully opened, i.e. once the callback passed to :js:meth:`openModel <cee.ug.RemoteModel.openModel>` is called.
      
      **Returns**\ : *boolean*
      



.. js:method:: cee.ug.RemoteModel.isPointCoveredBySurface

      .. rst-class:: sig-pretty-signature
      
         | isPointCoveredBySurface(**point**\ : :js:class:`Vec3 <cee.Vec3>`\ , **view**\ : :js:class:`View <cee.View>`\ ): *boolean*
      
      Determines whether the given point is currently covered by a surface in the given view.
      
      **Parameters**
      
      
         **point**\ : :js:class:`Vec3 <cee.Vec3>`
      
         **view**\ : :js:class:`View <cee.View>`
      
      
      **Returns**\ : *boolean*
      



.. js:method:: cee.ug.RemoteModel.isPollForDataSourceChangesInProgress

      .. rst-class:: sig-pretty-signature
      
         | isPollForDataSourceChangesInProgress(): *boolean*
      
      Returns true if a pollForDataSourceChanges call is in progress.
      
      Use this to check before calling pollForDataSourceChanges, as this will throw if a request is in flight
      
      **Returns**\ : *boolean*
      



.. js:method:: cee.ug.RemoteModel.isPreloadingEnabled

      .. rst-class:: sig-pretty-signature
      
         | isPreloadingEnabled(): *boolean*
      
      Returns true if pre-loading is enabled.
      
      **Returns**\ : *boolean*
      



.. js:method:: cee.ug.RemoteModel.openModel

      .. rst-class:: sig-pretty-signature
      
         | openModel(**modelKey**\ : *string*\ , **openCompletedCallback**\ : :js:class:`OpenModelCallback <cee.ug.OpenModelCallback>`\ , **options**\ : :js:class:`OpenModelOptions <cee.ug.OpenModelOptions>`\ ): *void*
      
      Opens the model with the given modelKey in this RemoteModel.
      
      Opens a model on the server and prepares to stream it to the client. If the model is opened successfully (as indicated when the optional callback is invoked) the initial step of the CAE model will be streamed to the client.
      
      **Parameters**
      
      
         **modelKey**\ : *string*
      
      
            The identifier of the model to open. This will be translated on the server into a filename before the model is opened. This translation is done by the modelFileFromKey() function that is provided to createServerInstance() on the visualization server.
      
      
         **openCompletedCallback**\ : :js:class:`OpenModelCallback <cee.ug.OpenModelCallback>`
      
      
            Callback function that will be called when the model is ready to be used in the client. This will also be called if any errors occur (file not found etc.). When this is called the ModelDirectory will have been populated with the contents of the server CAE analysis.
      
      
         **options**\ : :js:class:`OpenModelOptions <cee.ug.OpenModelOptions>`
      
      
            Open model options. Provide any default calculators and/or an internal configString. See OpenModelOptions for more info.
      
            **Example:** Customize the initial appearance of the model in the callback:
      
      .. code-block:: javascript
      
               // Remove any old models
               var view = myViewer.getViewAt(0);
               view.removeAllModels();
               
               // Open a new RemoteModel from the CAE server
               var mySocket = io('http://localhost:8998');
               myModel = new cee.ug.RemoteModel(mySocket, "");
               view.addModel(myModel);
               
               // Open the file on the server, setup the viz when it is done
               myModel.openModel("", function(err, model) {
                   // Note: The model is now ready to use and the ModelDirectory is populated
                   // with the model context received from the server
                   
                   // Show the first scalar as filled contours (if any)
                   if (model.modelDirectory.scalarResultArray.length > 0) {
                       model.modelSpec.fringesResultId = model.modelDirectory.scalarResultArray[0].id;
                   }
               
                   // Modify the part settings: First part transparent, the rest with surf mesh
                   for (var ps of model.getPartSettingsArray()) {
                       ps.drawStyle = cee.ug.DrawStyle.SURFACE_OUTLINE_MESH;
                       ps.opacity = 0.5;
                   }
               });
      
            This code sample produces the following image in the 3D Viewer:
      
            .. image:: /images/RemoteModel_open.png
               :alt: None
      
            
      
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.pollForDataSourceChanges

      .. rst-class:: sig-pretty-signature
      
         | pollForDataSourceChanges(**pollForDataSourceChangesCompletedCallback**\ : :js:class:`PollForDataSourceChangesCallback <cee.ug.PollForDataSourceChangesCallback>`\ ): *void*
      
      Poll the current data source for changes.
      
      Note: Only one poll can be in flight at any given time, so calling this method while a poll is being processed will throw. To make sure you do not do that, use the isPollForDataSourceChangesInProgress method to check for any ongoing polls.
      
      **Parameters**
      
      
         **pollForDataSourceChangesCompletedCallback**\ : :js:class:`PollForDataSourceChangesCallback <cee.ug.PollForDataSourceChangesCallback>`
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.rayIntersect

      .. rst-class:: sig-pretty-signature
      
         | rayIntersect(**frameIndex**\ : *number*\ , **ray**\ : :js:class:`Ray <cee.Ray>`\ , **rayIntersectCallback**\ : :js:class:`RayIntersectCallback <cee.ug.RayIntersectCallback>`\ ): *void*
      
      Performs picking on the remote server model.
      
      This will perform a picking action on the remote server with the given ray. The provided callback will be called when the result is available. The hitItem provided to this callback will contain detailed information about the element that was hit in the CAE model.
      
      To do the picking at the current state/time step, use the model.currentFrameIndex property.
      
      **Parameters**
      
      
         **frameIndex**\ : *number*
      
         **ray**\ : :js:class:`Ray <cee.Ray>`
      
         **rayIntersectCallback**\ : :js:class:`RayIntersectCallback <cee.ug.RayIntersectCallback>`
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.recreateResultCalculator

      .. rst-class:: sig-pretty-signature
      
         | recreateResultCalculator(**config**\ : :js:class:`CreateResultCalculatorConfig <cee.ug.CreateResultCalculatorConfig>`\ , **callback**\ : :js:class:`CreateResultCalculatorCallback <cee.ug.CreateResultCalculatorCallback>`\ ): *void*
      
      Recreate the result with the given calculatorId and resultIdString.
      
      Use this method to update an already existing calculator result. From the client side it will seem like the result is just updated with the new initString, but on the server the actual calculator instance will be deleted and a new one will be initialized with the given initString.
      
      The result will keep its id (number) so no updates are needed to the model spec or feature extraction items.
      
      **Parameters**
      
      
         **config**\ : :js:class:`CreateResultCalculatorConfig <cee.ug.CreateResultCalculatorConfig>`
      
      
            See :js:class:`CreateResultCalculatorConfig <cee.ug.CreateResultCalculatorConfig>`
      
      
         **callback**\ : :js:class:`CreateResultCalculatorCallback <cee.ug.CreateResultCalculatorCallback>`
      
      
            An optional callback function triggered when the new result is available
      
      
      
      **Returns**\ : *void*
      
      .. rubric:: Examples
      
      
      .. code-block:: javascript
      
         // Basic usage
         model.recreateResultCalculator({
             calculatorId: "MyCalculator",
             resultIdString: "MyResult",
             initString: "MyCustomExpression"
         });
         
         // With coordinate system
         model.recreateResultCalculator({
             calculatorId: "MyCalculator",
             resultIdString: "MyResult",
             initString: "MyCustomExpression",
             coordSystemString: "type=cylindrical;origin=10.0,5.0,0.0;orientation=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0"
         });
      



.. js:method:: cee.ug.RemoteModel.reloadModel

      .. rst-class:: sig-pretty-signature
      
         | reloadModel(**reloadCompletedCallback**\ : :js:class:`ReloadModelCallback <cee.ug.ReloadModelCallback>`\ ): *void*
      
      Reload model, pick up any changes on the server since the open of the analysis.
      
      **Parameters**
      
      
         **reloadCompletedCallback**\ : :js:class:`ReloadModelCallback <cee.ug.ReloadModelCallback>`
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.sendToCloud

      .. rst-class:: sig-pretty-signature
      
         | sendToCloud(**view**\ : :js:class:`View <cee.View>`\ , **config**\ : :js:class:`SendToCloudConfig <cee.ug.SendToCloudConfig>`\ , **callback**\ : :js:class:`SendToCloudCallback <cee.ug.SendToCloudCallback>`\ ): *void*
      
      Share the model on the web using the Envision One-Click-Sharing service.
      
      With this method you can share the remote model (with the current settings) to the Ceetron Cloud cloud service.
      
      You can either use the default https://cloud.ceetron.com service, or use your own hosted sharing portal. The Ceetron Cloud Portal can be customized and installed on most cloud and on-premises servers.
      
      **Parameters**
      
      
         **view**\ : :js:class:`View <cee.View>`
      
         **config**\ : :js:class:`SendToCloudConfig <cee.ug.SendToCloudConfig>`
      
         **callback**\ : :js:class:`SendToCloudCallback <cee.ug.SendToCloudCallback>`
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.setColorLegendTitle

      .. rst-class:: sig-pretty-signature
      
         | setColorLegendTitle(**resultId**\ : *number*\ , **title**\ : *string*\ ): *void*
      
      Set the title of the color legend with the given result Id
      
      This will update any current legends, and also be used as the title whenever the legend is later created.
      
      **Parameters**
      
      
         **resultId**\ : *number*
      
         **title**\ : *string*
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.setCommunicationPerformanceHandler

      .. rst-class:: sig-pretty-signature
      
         | setCommunicationPerformanceHandler(**performanceHandler**\ : :js:class:`CommunicationPerformanceHandler <cee.ug.CommunicationPerformanceHandler>`\ ): *void*
      
      Sets a handler function that will be called with information about the current communication.
      
      See CommunicationPerformanceData for more information.
      
      **Parameters**
      
      
         **performanceHandler**\ : :js:class:`CommunicationPerformanceHandler <cee.ug.CommunicationPerformanceHandler>`
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.setDrawStyleAllParts

      .. rst-class:: sig-pretty-signature
      
         | setDrawStyleAllParts(**drawStyle**\ : :js:data:`DrawStyle <cee.ug.DrawStyle>`\ , **opacity**\ : *number*\ ): *void*
      
      Sets the draw style for all parts in the model
      
      This is just a helper for setting :js:func:`PartSettings.drawStyle <cee.ug.PartSettings.drawStyle>` for all parts in the model, and optionally set opacity if provided.
      
      **Parameters**
      
      
         **drawStyle**\ : :js:data:`DrawStyle <cee.ug.DrawStyle>`
      
         **opacity**\ : *number*
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.setOneShotDataStreamingCompleteCallback

      .. rst-class:: sig-pretty-signature
      
         | setOneShotDataStreamingCompleteCallback(**dataStreamingCompleteCallback**\ : :js:class:`DataStreamingCompleteCallback <cee.ug.DataStreamingCompleteCallback>`\ ): *void*
      
      Sets a one- shot callback that will be called the next time we observe that data streaming is complete
      
      **Parameters**
      
      
         **dataStreamingCompleteCallback**\ : :js:class:`DataStreamingCompleteCallback <cee.ug.DataStreamingCompleteCallback>`
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.setProgressHandler

      .. rst-class:: sig-pretty-signature
      
         | setProgressHandler(**progressHandler**\ : :js:class:`ProgressHandler <cee.ug.ProgressHandler>`\ ): *void*
      
      Sets a handler function that will be called whenever a progress indication packet is received from the visualization server.
      
      **Parameters**
      
      
         **progressHandler**\ : :js:class:`ProgressHandler <cee.ug.ProgressHandler>`
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.setReaderOptions

      .. rst-class:: sig-pretty-signature
      
         | setReaderOptions(**readerIdString**\ : *string*\ , **options**\ : Unhandled type Opaque): *void*
      
      Set options for the reader with the given readerIdString
      
      The options will be sent to the server and used whenever a file of the given type is opened.
      
      Available options:
      
      
      - VTK (vtu/pvtu/pvd):
      
      - readerIdString: "VTK"
      - options:
      
      - ALL_VECTORS_AS_DISPLACEMENT (bool) : If set to true, all vector results in the file will be reported as displacements.
      - WELD_NODES_FOR_JOINT_PARTS (bool) : If set to true, all nodes in joint parts are welded together
      - WELD_NODES_PART_FIELD_NAME (string) : Set the name of the field used to identify parts in the model, for instance "PartID". The chosen field must contain integers. The default value is "". This option only applies when WELD_NODES_FOR_JOINT_PARTS is set to true.
      
      
      - HOOPS Access:
      
      - readerIdString: "CEETRON_ACCESS" (most CAE formats)
      - options:
      
      - USE_UNDEFINED_RESULTS (bool) : If true, undefined results will be reported as undefined. If false, undefined results will be reported as zero.
      
      
      
      OpenFoamProvider: See the readme file for the provider.
      
      Example:
      
      
      ::
      
         this.m_model.setReaderOptions("OpenFoamProvider", { 
           "LOAD_BC_PARTS": true, 
           "NODE_AVG_RES": true, 
           "HIDE_PARALLEL_INTERFACES": false, 
           "UPDATE_GEOMETRY_FOR_AMI": false
         });
      
      
      ::
      
         this.m_model.setReaderOptions("VTK", { 
             "ALL_VECTORS_AS_DISPLACEMENT": true, 
         });   
      
      **Parameters**
      
      
         **readerIdString**\ : *string*
      
         **options**\ : Unhandled type Opaque
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.setResultCalculatorParams

      .. rst-class:: sig-pretty-signature
      
         | setResultCalculatorParams(**calculatorId**\ : *string*\ , **resultIdString**\ : *string*\ , **paramsDict**\ : Unhandled type Opaque): *void*
      
      Sets result calculator parameters for the given result calculator result.
      
      The result will automatically be updated.
      
      Example:
      
      .. code-block:: javascript
      
         model.setResultCalculatorParams(calcId, resIdString,  { "scaleFactor" : 2.0 });
      
      **Parameters**
      
      
         **calculatorId**\ : *string*
      
         **resultIdString**\ : *string*
      
         **paramsDict**\ : Unhandled type Opaque
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.setResultRangeChangedHandler

      .. rst-class:: sig-pretty-signature
      
         | setResultRangeChangedHandler(**resultRangeChangedHandler**\ : :js:class:`ResultRangeChangedHandler <cee.ug.ResultRangeChangedHandler>`\ ): *void*
      
      Specifies the handler function that will be called whenever any result changes in the model. This will be called when a result is loaded the first time or when changing time step.
      
      This might be useful for updating the UI, e.g. the minimum and maximum values on a slider for an isosurface.
      
      **Parameters**
      
      
         **resultRangeChangedHandler**\ : :js:class:`ResultRangeChangedHandler <cee.ug.ResultRangeChangedHandler>`
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.setServerErrorHandler

      .. rst-class:: sig-pretty-signature
      
         | setServerErrorHandler(**errorHandler**\ : :js:class:`ServerErrorHandler <cee.ug.ServerErrorHandler>`\ ): *void*
      
      Sets a handler function that will be called whenever an error packet is received from the visualization server.
      
      **Parameters**
      
      
         **errorHandler**\ : :js:class:`ServerErrorHandler <cee.ug.ServerErrorHandler>`
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.setServerLogContextKeyValueArr

      .. rst-class:: sig-pretty-signature
      
         | setServerLogContextKeyValueArr(**keyValueArr**\ : { key: *string*\ , value: *string* }[]): *void*
      
      Set an array of key,value pairs that will be included as a context in the server log.
      
      This key,value pairs will be available in the JSON type log, and will be included until a new key,value array is specified. To clear any current settings, pass in an empty array.
      
      This could be used to enhance the telemetry support in your cloud solution.
      
      **Parameters**
      
      
         **keyValueArr**\ : { key: *string*\ , value: *string* }[]
      
      
      **Returns**\ : *void*
      



.. js:method:: cee.ug.RemoteModel.startPostponedStreaming

      .. rst-class:: sig-pretty-signature
      
         | startPostponedStreaming(): *void*
      
      Start the streaming of the initial 3d model from the server.
      
      Note: Calling this method is only needed when using the openCompletedCallback parameter to OpenModel and returning POSTPONE_STREAMING.
      
      **Returns**\ : *void*
      



.. js:method:: static cee.ug.RemoteModel.getCustomServerInfo

      .. rst-class:: clio-flags
      
         :clio-static:`static`
      
      .. rst-class:: sig-pretty-signature
      
         | getCustomServerInfo(**socketIOClient_socketInstance**\ : *any*\ , **callback**\ : (**customData**\ : *any*\ ) => *void*\ ): *void*
      
      Static method to get custom server info from the UgServer.
      
      This info is specified on the server in the createServerInstance() method or the constructor to ServerInstance.
      
      Default response is null.
      
      **Parameters**
      
      
         **socketIOClient_socketInstance**\ : *any*
      
         **callback**\ : (**customData**\ : *any*\ ) => *void*
      
      
      **Returns**\ : *void*
      




