API / geotoolkit3d / gigagrid / filter / IJKFilter / IJKFilter
Child class for Filter, providing the ability to filter I/J/K range of gigagrid.
↳
IJKFilter
Constructors
Methods
Constructors
• new IJKFilter(options)
Constructor
| Name | Type | Description |
|---|---|---|
options | GigaGridResult | Options | can be either a GigaGridResult, or a JSON option object holding the IJK ranges. |
Filter.constructor
Methods
▸ clone(): IJKFilter
Get a new instance of this ijkfilter
this
▸ getChangingFlag(): boolean
Get changing flag for ijkfilter
boolean
this
▸ getClassName(): string
string
▸ getMaxI(): number
Get the max I value of this filter.
number
▸ getMaxJ(): number
Get the max J value of this filter.
number
▸ getMaxK(): number
Get the max K value of this filter.
number
▸ getMinI(): number
Get the min I value of this filter.
number
▸ getMinJ(): number
Get the min J value of this filter.
number
▸ getMinK(): number
Get the min K value of this filter.
number
▸ isInside(filter): boolean
Test if the input filter is inside of this filter
| Name | Type | Description |
|---|---|---|
filter | IJKFilter | IJKFilter compared |
boolean
true if the filter bounding box is inside
▸ mergeIJKRangeI(filterIJK): void
Merge the IJK filter only on I
| Name | Type | Description |
|---|---|---|
filterIJK | Object | object range to merge |
filterIJK.maxI | number | |
filterIJK.minI | number |
void
▸ mergeIJKRangeJ(filterIJK): void
Merge the IJK filter only on J
| Name | Type | Description |
|---|---|---|
filterIJK | Object | object range to merge |
filterIJK.maxJ | number | |
filterIJK.minJ | number |
void
▸ mergeIJKRangeK(filterIJK): void
Merge the IJK filter only on K
| Name | Type | Description |
|---|---|---|
filterIJK | Object | object range to merge |
filterIJK.maxK | number | |
filterIJK.minK | number |
void
▸ setChangingFlag(flag): void
Set changing flag for ijkfilter
| Name | Type | Description |
|---|---|---|
flag | boolean | Indicate if i/j/k values have changed in current rendering |
void
▸ setMaxI(maxI): void
Set max I for IJKFilter
| Name | Type | Description |
|---|---|---|
maxI | number | the maximal I to set |
void
▸ setMaxJ(maxJ): void
Set max J for IJKFilter
| Name | Type | Description |
|---|---|---|
maxJ | number | the maximal J to set |
void
▸ setMaxK(maxK): void
Set max K for IJKFilter
| Name | Type | Description |
|---|---|---|
maxK | number | the maximal K to set |
void
▸ setMinI(minI): void
Set min I for IJKFilter
| Name | Type | Description |
|---|---|---|
minI | number | the minimal I to set |
void
▸ setMinJ(minJ): void
Set min J for IJKFilter
| Name | Type | Description |
|---|---|---|
minJ | number | the minimal J to set |
void
▸ setMinK(minK): void
Set min K for IJKFilter
| Name | Type | Description |
|---|---|---|
minK | number | the minimal K to set |
void
▸ toBox(): Box3
Return the min and max IJK as a THREE.Box3
Box3
this
▸ toJson(): Object
The filter as JSON for the exchange with the backend Should not be changed.
Object
the filter as JSON
| Name | Type |
|---|---|
maxI | number |
maxJ | number |
maxK | number |
minI | number |
minJ | number |
minK | number |
typeFilter | string |
▸ Static getClassName(): string
string