Options
All
  • Public
  • Public/Protected
  • All
Menu

Class QueryResultMinMax

Query min/max values for a result based on the currently loaded states.

You can query scalar, vector and displacement results, and the query supports all four result mappings: Per node, per element, per element node and per element surface.

The query applies to the currently loaded states (as specified in the ModelSpec.stateIdArray), but can be used to query results that are not currently loaded on the server (not already mapped on the model)

The query can be limited to the currently visible parts by using the executeQueryVisibleParts() method.

If includeResultMinMaxForAllStates is set to true, you will also get global min/max for all states (not taking any filtering, visibility or specific part into consideration).

The callback for executeQuery and [[executeQueryForPart]] will return the data in an QueryResultMinMaxData object.

Hierarchy

Index

Constructors

constructor

Accessors

includeResultMinMaxForAllStates

includeResultMinMaxForAllStates: boolean

Include global minimum and maximum values for all states.

If set to true, the query will return an array with the per state global min/max for all states in the database. For this the server will query the result file reader, and the min/max will be the global min/max for each state, not taking any filtering (e.g. sets) into account. The computeFromVisibleParts and query executeQueryForPart will also be ignored for the global min/max and per state info.

Methods

executeQuery

  • Executes the query for the given result

    The minimumItem/maximumItem will contain min/max for all the parts in the loaded state(s).

    Note: If includeResultMinMaxForAllStates is set to true, the data in QueryResultMinMaxData.perStateGlobalMinMax and globalMinimumValue/globalMaximumValue will contain data for all states in the model, not only the loaded ones.

    Parameters

    Returns void

executeQuerySinglePart

  • Executes the query for only one part

    The minimumItem/maximumItem will contain min/max for the specified part in the loaded state(s).

    Note: If includeResultMinMaxForAllStates is set to true, the data in QueryResultMinMaxData.perStateGlobalMinMax and globalMinimumValue/globalMaximumValue will still be for the whole model.

    Parameters

    Returns void

executeQueryVisibleParts

  • Executes the query for for all visible parts.

    The minimumItem/maximumItem will contain min/max for the visible parts in the loaded state(s).

    Note: If includeResultMinMaxForAllStates is set to true, the data in QueryResultMinMaxData.perStateGlobalMinMax and globalMinimumValue/globalMaximumValue will still be for the whole model.

    Parameters

    Returns void

Generated using TypeDoc