> ## 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.

# ExtractBelowThreshold< 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 *extractBelowThreshold*

## Public Types

| Type | Name |
| - | - |
| typedef boost::function\< DataObject::ptr\_type(DataObject::ptr\_type input)> | [TAlgorithmFunction](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_object.md#afe5cfc4ea6277ec393adca68465c9a5e) defines a function object |
| typedef boost::function\< DataObject::ptr\_type([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), DataObject::ptr\_type input)> | [TAlgorithmFunction2](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_object.md#adbff8fbbd061127936232ab5600cbe01) defines a function object |

## Public Member Functions

| Type | Name |
| - | - |
| | [check](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_object.md#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)) checks the settings on plausibility It throws an exception if there is a problem with the settings. Important: It tries to find out all problems with these settings and then exits the routine. |
| | [compute](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_object.md#a2ee6c389c27f8cb563b6b1aa31f6bf17) ([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), DataObject::ptr\_type [data](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_object.md#aff21fffab499ea652443206d66e1a9bb), string new\_quantity\_ident, string new\_design\_ident) performs the action for a single set of samples |
| | [compute](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_object.md#ab08e112d95fe611e7eb25491c354d115) ([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)) performs the action using the defined settings. |
| | [ExtractBelowThreshold](#af039f81ce59fed378a8979d01d5a30d6) (number limit) default constructor |
| | [ExtractBelowThreshold](#a605a69bebcd211780c02ffce0edf8602) ([DataObjectContainer](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_container.md) the\_data, number limit=0) constructor which sets suitable defaults for all members |

## Public Attributes

| Type | Name |
| - | - |
| [DataObjectContainer](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_container.md) | [data](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_object.md#aff21fffab499ea652443206d66e1a9bb) the data set to be analyzed |
| [DataObjectContainer::string\_vector\_type](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_container.md#ac293ea0e5c280f69a497ea20f20c60b9) | [new\_quantity\_idents](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_object.md#a30b1bcf63b9bdc707fea30bd96d70447) the new idents for each quantity. The dimension and index space must fit the one of *quantity\_idents* |
|  bool | [overwrite\_existing](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_object.md#ade25e60bd85c8b4abd4f5b416cae0eb9) is true if already existing output data objects will be replaced. In this case, also all depending objects of the already existing one will be deleted. |
| [DataObjectContainer::string\_vector\_type](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_container.md#ac293ea0e5c280f69a497ea20f20c60b9) | [quantity\_idents](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_object.md#aced57c746ae1d69d2fd56872fa1768bf) the quantities to be analyzed. If a quantity ident does not exist in *data*, no error appears. |
|  number | [threshold](#a50bfe732241f97ee6c4524ebf1503be1) the threshold |

## Detailed Description

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

a struct which collects settings for *extractBelowThreshold*

**Template Parameters**

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

## Member Typedef Documentation

### TAlgorithmFunction

```cpp theme={null}
typedef boost::function<DataObject::ptr_type ( DataObject::ptr_type input)> TAlgorithmFunction
```

`inherited`

defines a function object

**Parameters**

| Name | Description |
| - | - |
| input | a single input object |

**Returns**

the result of the operation

### TAlgorithmFunction2

```cpp theme={null}
typedef boost::function<DataObject::ptr_type ( Structure database , DataObject::ptr_type input)> TAlgorithmFunction2
```

`inherited`

defines a function object

**Parameters**

| Name | Description |
| - | - |
| database | the database we refer to |
| input | a single input object |

**Returns**

the result of the operation

## Constructor & Destructor Documentation

### ExtractBelowThreshold() \[1/2]

```cpp theme={null}
ExtractBelowThreshold(number limit)
```

default constructor

**Parameters**

| Name | Description |
| - | - |
| limit | the threshold (used to create defaults for the new quantity idents). |

### ExtractBelowThreshold() \[2/2]

```cpp theme={null}
ExtractBelowThreshold(
    DataObjectContainer the_data,
    number limit = 0
)
```

constructor which sets suitable defaults for all members

**Parameters**

| Name | Description |
| - | - |
| the\_data | the subset of field data to be token as input. |
| limit | the threshold (used to create defaults for the new quantity idents). All quantity idents are extracted. Then for each quantity a new result object will be created. |

## Member Function Documentation

### check()

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

`inherited`

checks the settings on plausibility It throws an exception if there is a problem with the settings. Important: It tries to find out all problems with these settings and then exits the routine.

**Parameters**

| Name | Description |
| - | - |
| database | the SoS structure |

### compute() \[1/2]

```cpp theme={null}
compute(
    Structure database,
    DataObject::ptr_type data,
    string new_quantity_ident,
    string new_design_ident
)
```

`inherited`

performs the action for a single set of samples

**Parameters**

| Name | Description |
| - | - |
| database | the output object is to be inserted in this object |
| data | the input data object |
| new\_quantity\_ident | the quantity ident of the new object |
| new\_design\_ident | the design ident of the new object If the input object is active, then the output object will be active as well (or inactive, respectively). |

### compute() \[2/2]

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

`inherited`

performs the action using the defined settings.

**Parameters**

| Name | Description |
| - | - |
| database | the output object where new objects are added to |
