> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ExtractScalarsFromQuantity< TYPE > Class Template Reference

Part of [Toolbox](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__toolbox)

a struct which collects settings for *extractAboveThreshold*

## Public Member Functions

| Type | Name |
| - | - |
| | [check](#a47c34ec1e578c2ce27cf1c5fcd0d1704) ([Structure](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_structure) [database](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gaebcac3a2836ec9fdf2e47bd812994b6b)) \< TYPE >::check ( [Structure](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_structure) database ) |
| | [ExtractScalarsFromQuantity](#a91414146b133a9a0c30bb53fadaa5976) ([DataObjectContainer](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_container.md) the\_data, number part\_idx, number idx\_in\_part) constructor which sets suitable defaults for all members All quantity idents are extracted. Then for each quantity a new result object will be created. |

## Public Attributes

| Type | Name |
| - | - |
|  number | [index](#a4f3fa45a9017d05762d5e4572703c95b) The node/element index in the part. |
| [DataObjectContainer::string\_vector\_type](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_container.md#ac293ea0e5c280f69a497ea20f20c60b9) | [new\_quantity\_idents](#a30b1bcf63b9bdc707fea30bd96d70447) The new idents for each quantity. The dimension and index space must fit the one of *quantity\_idents*. |
|  number | [part](#a2cf49e98840301998f6a7fc77405f1d0) The part index. |

## Detailed Description

#### template\<dataobject\_types TYPE>  class ExtractScalarsFromQuantity\< TYPE >

a struct which collects settings for *extractAboveThreshold*

**Template Parameters**

| Name | Description |
| - | - |
| TYPE | the field data type |

## Constructor & Destructor Documentation

### ExtractScalarsFromQuantity()

```cpp theme={null}
ExtractScalarsFromQuantity(
    DataObjectContainer the_data,
    number part_idx,
    number idx_in_part
)
```

constructor which sets suitable defaults for all members All quantity idents are extracted. Then for each quantity a new result object will be created.

**Parameters**

| Name | Description |
| - | - |
| the\_data | the subset of field data to be token as input. |
| part\_idx | the index of the part of the node/element |
| idx\_in\_part | the index of the element/node in the given part |

## Member Function Documentation

### check()

```cpp theme={null}
check(Structure database)
```

\< TYPE >::check ( [Structure](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_structure) database )

\< TYPE >::check ( [Structure](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_structure) database )
