API / geotoolkit / welllog / widgets / RestrictDepthScaleStrategy / RestrictDepthScaleStrategy
widgets.RestrictDepthScaleStrategy.RestrictDepthScaleStrategy
RestrictVisibleDepthLimitsStrategy input transformation adjustment is restricted based on the options supplied.
RestrictVisibleDepthLimitsStrategy adjust transformation the way data model's visible model limits do not go beyond entire model limits. When either of the options is set to "true" on the strategy, additional corresponding (horizontal or vertical) transformation suppression is performed.
↳
RestrictDepthScaleStrategy
Constructors
Methods
Css Properties
| Name | Type | Description |
|---|---|---|
deviceunit | string | Device unit |
enabled | boolean | Enable flag |
indexunit | string | Scale unit |
scale | number | Scale restriction |
Constructors
• new RestrictDepthScaleStrategy(options?)
| Name | Type |
|---|---|
Optional options | Options |
ScaleScrollStrategy.constructor
Methods
▸ adjustTransformation(trackContainer, newTr): Transformation
Adjusts input transformation
| Name | Type | Description |
|---|---|---|
trackContainer | TrackContainer | model |
newTr | Transformation | transformation to adjust |
adjusted transformation
ScaleScrollStrategy.adjustTransformation
▸ getClassName(): string
string
ScaleScrollStrategy.getClassName
▸ getDepthScale(): ScaleOptionsOut
▸ getProperties(): OptionsOut
Gets properties
properties
ScaleScrollStrategy.getProperties
▸ isEnabled(): boolean
Returns enable state
boolean
enable state
▸ setDepthScale(scale): RestrictDepthScaleStrategy
| Name | Type |
|---|---|
scale | Options |
▸ setDepthScale(scale, scaleUnit?, deviceUnit?): RestrictDepthScaleStrategy
| Name | Type |
|---|---|
scale | number |
Optional scaleUnit | string | AbstractUnit |
Optional deviceUnit | string | AbstractUnit |
▸ setEnabled(enabled): RestrictDepthScaleStrategy
Set enable state
| Name | Type | Description |
|---|---|---|
enabled | boolean | sets the enabled state |
this
ScaleScrollStrategy.setEnabled
▸ setProperties(properties): RestrictDepthScaleStrategy
Sets the projection properties
| Name | Type | Description |
|---|---|---|
properties | Options | properties |
this
ScaleScrollStrategy.setProperties
▸ Static getClassName(): string
string