@equinor/videx-map
Advanced tools
Comparing version 1.9.1 to 1.9.2
@@ -23,3 +23,3 @@ import Vector2 from "@equinor/videx-vector2"; | ||
* @param thickness Thickness of line | ||
* @param callback Callback with segment point for every two vertices added, first vertex is upper | ||
* @param type 0: Normal, 1: Interval, 2: Tick | ||
* @returns Vertex and triangulation for mesh | ||
@@ -26,0 +26,0 @@ */ |
@@ -10,2 +10,3 @@ import { Colors, InputColors } from '../Colors'; | ||
completionVisible: boolean; | ||
wellboreVisible: boolean; | ||
} | ||
@@ -37,3 +38,4 @@ declare type Filter = (data: SourceData) => boolean; | ||
setCompletionVisibility(visible: boolean): void; | ||
setWellboreVisibility(visible: boolean): void; | ||
} | ||
export {}; |
@@ -55,2 +55,3 @@ import * as PIXI from 'pixi.js'; | ||
setCompletionVisibility(visible: boolean): void; | ||
setWellboreVisibility(visible: boolean): void; | ||
setHighlight(isHighlighted: boolean, multiple?: boolean): void; | ||
@@ -57,0 +58,0 @@ setSelected(isSelected: boolean): void; |
@@ -13,2 +13,4 @@ import * as PIXI from 'pixi.js'; | ||
completionVisible: boolean; | ||
/** True if wellbore should be visible. */ | ||
wellboreVisible: boolean; | ||
status: number; | ||
@@ -22,3 +24,3 @@ } | ||
*/ | ||
export declare function getWellboreShader(color: Color, completionVisible: boolean): PIXI.Shader; | ||
export declare function getWellboreShader(color: Color, completionVisible: boolean, wellboreVisible: boolean): PIXI.Shader; | ||
export declare class WellboreShader { | ||
@@ -25,0 +27,0 @@ /** Build wellbore shader with assigned variables. */ |
@@ -61,3 +61,13 @@ import * as PIXI from 'pixi.js'; | ||
setLabelVisibility(visible: boolean): void; | ||
/** | ||
* Enable/disable completion | ||
* @param visible | ||
* @param keys | ||
*/ | ||
setCompletionVisibility(visible: boolean, ...keys: string[]): void; | ||
/** | ||
* Enable/disable wellbores | ||
* @param visible | ||
*/ | ||
setWellboresVisibility(visible: boolean, ...keys: string[]): void; | ||
/** "Soft" filtering function. Will turn wellbores that does not pass filter gray-ish. */ | ||
@@ -64,0 +74,0 @@ softFilter(filterFunction: (v: SourceData) => boolean, ...keys: string[]): void; |
{ | ||
"name": "@equinor/videx-map", | ||
"version": "1.9.1", | ||
"version": "1.9.2", | ||
"description": "Component for Pixi-overlay in Leaflet.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
380041
3009