API / geotoolkit3d / scene / reservoir / IJKValueFilter

Module: IJKValueFilter

Table of contents

Type Aliases

Contents

Type Aliases

CellFilter

Ƭ CellFilter: (cellProperties: CellProperties) => boolean

Type declaration

▸ (cellProperties): boolean

The Reservoir Cell filter function, to be defined by the user. Filter parameters include all the cell properties.
Should return true is the cell is to be filtered out (made invisible).

Parameters
Name Type
cellPropertiesCellProperties
Returns

boolean


CellProperties

Ƭ CellProperties: Object

Type declaration

NameTypeDescription
activevaluenumberThe Cell currently displayed value.
additionalcelldataRecord<string, any>The additional data attributed to each cell by the user. Each additional data will be accessible under the property name given by the user. Example: if the user provided a "time" property for each cell, the cell time property will be available at additionalcelldata.time
corners[x: number, y: number, z: number][]The Cell 8 corners coordinates.
inumberThe cell I position.
indexnumberThe cell index, ie the position of the cell when it was fed in the ReservoirData constructor.
jnumberThe cell J position.
knumberThe cell K position.
volume?numberThe cell volume, if it was computed (volume is computed lazily, please see ReservoirGrid.OptionsType). Undefined otherwise.

IJKValueFilter

Ƭ IJKValueFilter: Object

The options type used to define Reservoir filtering parameters.

Type declaration

NameTypeDescription
cellfilter?CellFilter | nullCustom Reservoir filter to be implemented by user. Can make use of additional data, a user-defined value/data/object that can be defined per-cell.
Should return true is the cell is to be filtered out (made invisible).
excludemode?booleanset to true will turn to exclude mode for ijk filter (value filters are not affected).
maxi?numberIf set, cells above this I index will not be rendered.
maxj?numberIf set, cells above this J index will not be rendered.
maxk?numberIf set, cells above this K index will not be rendered.
maxvalue?numberIf set, cells above this value will not be rendered.
mini?numberIf set, cells below this I index will not be rendered.
minj?numberIf set, cells below this J index will not be rendered.
mink?numberIf set, cells below this K index will not be rendered.
minvalue?numberIf set, cells below this value will not be rendered.
nullvalue?numberThe attribute nullvalue.
If some values are provided for coloring and if one of those values is equal to this nullvalue.
Then the cell won't be rendered.