.. role:: ts-api-decorator

##############################
QueryAllElementResultsForFrame
##############################

.. js:module:: cee.ug
   :noindex:

.. container:: ts-api-section

   .. js:class:: QueryAllElementResultsForFrame

      Query to get element results and element centroids for all elements in a given frame

      For results mappings other than PER_ELEMENT, an interpolation type can be specified to determine 
      how to compute the element value (min, max or average of the element nodes).



.. container:: api-index-section

   .. rubric:: Constructors

   .. rst-class:: api-index-list-item api-kind-constructor api-parent-kind-class

   * :js:meth:`~cee.ug.QueryAllElementResultsForFrame.constructor`



.. container:: api-index-section

   .. rubric:: Accessors

   .. rst-class:: api-index-list-item api-kind-accessor api-parent-kind-class

   * :js:attr:`~cee.ug.QueryAllElementResultsForFrame.elementInterpolationType`



.. container:: api-index-section

   .. rubric:: Methods

   .. rst-class:: api-index-list-item api-kind-method api-parent-kind-class

   * :js:meth:`~cee.ug.QueryAllElementResultsForFrame.executeQuery`





------------

Constructors
============

.. container:: ts-api-section

   .. js:function:: QueryAllElementResultsForFrame.constructor( model)

      :param model: None
      :type model: RemoteModel


      :rtype: QueryAllElementResultsForFrame



Accessors
=========

.. container:: ts-api-section

   .. js:function:: QueryAllElementResultsForFrame.elementInterpolationType()



      Element interpolation type.

      If the result is not PER_ELEMENT, use this property to specify how to compute the per element result.
      (Min/Max/Average).


      :rtype: ElementInterpolationType

   .. js:function:: QueryAllElementResultsForFrame.elementInterpolationType( resultType)

      :param resultType: None
      :type resultType: ElementInterpolationType


      :rtype: void



Methods
=======

.. rst-class:: ts-api-section

executeQuery
------------

.. js:method:: QueryAllElementResultsForFrame.executeQuery( frameIndex, callback)

   :param frameIndex: The zero-based frame index
   :type frameIndex: number
   :param callback: None
   :type callback: QueryAllElementResultsForFrameCallback


   Gets element results and element centroids for all elements in the given frame


   :rtype: void

