@itwin/core-frontend 4.7.6 → 4.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -1
- package/lib/cjs/render/FeatureSymbology.js +3 -3
- package/lib/cjs/render/FeatureSymbology.js.map +1 -1
- package/lib/cjs/tools/ToolAdmin.d.ts.map +1 -1
- package/lib/cjs/tools/ToolAdmin.js +3 -1
- package/lib/cjs/tools/ToolAdmin.js.map +1 -1
- package/lib/esm/render/FeatureSymbology.js +3 -3
- package/lib/esm/render/FeatureSymbology.js.map +1 -1
- package/lib/esm/tools/ToolAdmin.d.ts.map +1 -1
- package/lib/esm/tools/ToolAdmin.js +3 -1
- package/lib/esm/tools/ToolAdmin.js.map +1 -1
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# Change Log - @itwin/core-frontend
|
|
2
2
|
|
|
3
|
-
This log was last generated on Fri,
|
|
3
|
+
This log was last generated on Fri, 19 Jul 2024 14:52:42 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 4.7.7
|
|
6
|
+
Fri, 19 Jul 2024 14:52:42 GMT
|
|
7
|
+
|
|
8
|
+
### Updates
|
|
9
|
+
|
|
10
|
+
- Fix Viewport's never-drawn elements overriding the display style's excluded elements.
|
|
4
11
|
|
|
5
12
|
## 4.7.6
|
|
6
13
|
Fri, 12 Jul 2024 14:42:55 GMT
|
|
@@ -77,16 +77,16 @@ var FeatureSymbology;
|
|
|
77
77
|
* @internal
|
|
78
78
|
*/
|
|
79
79
|
initFromViewport(viewport) {
|
|
80
|
-
|
|
81
|
-
this._initFromView(view);
|
|
80
|
+
// Set the initial always/never-drawn sets. Later, initFromView can add more elements to them.
|
|
82
81
|
if (undefined !== viewport.neverDrawn)
|
|
83
82
|
this.setNeverDrawnSet(viewport.neverDrawn);
|
|
84
83
|
if (undefined !== viewport.alwaysDrawn)
|
|
85
84
|
this.setAlwaysDrawnSet(viewport.alwaysDrawn, viewport.isAlwaysDrawnExclusive);
|
|
85
|
+
this._initFromView(viewport.view);
|
|
86
86
|
viewport.addFeatureOverrides(this);
|
|
87
87
|
viewport.addModelSubCategoryVisibilityOverrides(this, this._modelSubCategoryOverrides);
|
|
88
88
|
// This will include any per-model subcategory visibility overrides added above.
|
|
89
|
-
this._initSubCategoryOverrides(view);
|
|
89
|
+
this._initSubCategoryOverrides(viewport.view);
|
|
90
90
|
}
|
|
91
91
|
_initFromView(view) {
|
|
92
92
|
const { viewFlags } = view;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureSymbology.js","sourceRoot":"","sources":["../../../src/render/FeatureSymbology.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAAoD;AACpD,oDAAyE;AACzE,0CAAuC;AAGvC,+BAA+B;AAE/B;;;GAGG;AACH,IAAiB,gBAAgB,CA0LhC;AA1LD,WAAiB,gBAAgB;IAkB/B;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,MAAa,SAAU,SAAQ,8BAAgB;QAG7C,aAAa;QACb,IAAW,MAAM;YACf,OAAO,IAAI,CAAC,OAAO,CAAC;QACtB,CAAC;QAED;;WAEG;QACH,YAAmB,IAA2B;YAC5C,KAAK,EAAE,CAAC;YACR,IAAI,SAAS,KAAK,IAAI,EAAE,CAAC;gBACvB,IAAI,IAAI,YAAY,mBAAQ;oBAC1B,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;;oBAE5B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;YAC5B,CAAC;QACH,CAAC;QAED;;WAEG;QACI,MAAM,CAAC,UAAU,CAAC,MAAc,EAAE,IAA2B;YAClE,MAAM,IAAI,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC;YACjC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;YACtB,OAAO,IAAI,CAAC;QACd,CAAC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GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC;oBAElD,IAAI,SAAS,KAAK,GAAG,CAAC,QAAQ;wBAC5B,IAAI,CAAC,sBAAsB,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC;gBAC9D,CAAC;YACH,CAAC,CAAC;YAEF,0DAA0D;YAC1D,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,IAAY,EAAE,IAAY,EAAE,EAAE;gBAChE,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YAC1B,CAAC,CAAC,CAAC;YAEH,kFAAkF;YAClF,IAAI,CAAC,0BAA0B,CAAC,OAAO,CAAC,CAAC,UAAkB,EAAE,UAAkB,EAAE,OAAuB,EAAE,EAAE;gBAC1G,OAAO,CAAC,OAAO,CAAC,CAAC,IAAY,EAAE,IAAY,EAAE,EAAE;oBAC7C,IAAI,CAAC,IAAI,CAAC,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC;wBAC3C,sFAAsF;wBACtF,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;oBAC1B,CAAC;gBACH,CAAC,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC;KACF;IAhJY,0BAAS,YAgJrB,CAAA;AACH,CAAC,EA1LgB,gBAAgB,gCAAhB,gBAAgB,QA0LhC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Rendering\n */\n\nimport { BeEvent, Id64 } from \"@itwin/core-bentley\";\nimport { FeatureAppearance, FeatureOverrides } from \"@itwin/core-common\";\nimport { Viewport } from \"../Viewport\";\nimport { ViewState } from \"../ViewState\";\n\n// cspell:ignore subcat subcats\n\n/** Contains types that enable an application to customize how [Feature]($common)s are drawn within a [[Viewport]].\n * @public\n * @extensions\n */\nexport namespace FeatureSymbology {\n /** An object that serves as the source of a [[FeatureSymbology.Overrides]].\n * Use this if you are drawing the same tiles into a single Viewport and overriding the FeatureSymbology.Overrides applied to them\n * by settings [[GraphicBranch.symbologyOverrides]].\n * Each tile will have a separate set of feature overrides per combination of Source and Viewport. This prevents the display system\n * from constantly recomputing the feature overrides for a tile.\n * You must call `onSourceDisposed.raiseEvent()` when the source is no longer being used by the Viewport to allow the feature overrides\n * and their WebGL resources to be freed - failure to do so will result in memory leaks, which may eventually produce WebGL context loss.\n * @alpha\n */\n export interface Source {\n /** An event raised when this source becomes disassociated with the viewport, indicating any WebGL resources allocated for it\n * can be freed.\n * Failure to invoke this event appropriately will result in memory leaks, which may eventually produce WebGL context loss.\n */\n readonly onSourceDisposed: BeEvent<() => void>;\n }\n\n /** Allows a [[Viewport]] to customize the appearance of individual [Feature]($common)s within it.\n *\n * The Viewport computes its base Overrides based on the following:\n * - The set of categories enabled for display in its [[CategorySelectorState]]. Every [[SubCategory]] belonging to an enabled [[Category]] is added to the set of visible subcategories - all other subcategories are assumed to be invisible.\n * - For the set of visible subcategories, any [[SubCategoryOverride]]s defined by the view's [[DisplayStyleState]] are applied. This may render some subcategories invisible, and change the symbology of others.\n * - The visibility of each [GeometryClass]($common) is set based on the view's [ViewFlags]($common).\n * - The line weight is overridden to 1 pixel for all Features if line weight has been disabled by the view's [ViewFlags]($common).\n * - The sets of elements which are always drawn and never drawn are initialized from the [[Viewport]]'s sets.\n * An application can further customize the symbology of any Features by registering a [[FeatureOverrideProvider]] with a [[Viewport]]. That provider's addFeatureOverrides function will be invoked\n * whenever the Overrides need to be regenerated.\n *\n * To override the symbology of *most* Features within a view, specify a `defaultOverrides` to be applied to any Feature not explicitly overridden.\n * If default overrides are defined and some Features should draw normally without being affected by the default overrides, override that Feature with\n * an Appearance which defines no overrides.\n *\n * It is possible to override multiple aspects of a Feature. For example, you might specify that all elements belonging to subcategory \"A\" should be drawn in red, and\n * that the element with Id \"0x123\" should be drawn with 0.25 transparency. In this case, when drawing a Feature with subcategory \"A\" and element Id \"0x123\", the two overrides will\n * be merged, causing the Feature's geometry to draw 25% transparent red. On the other hand, if subcategory \"A\" is specified to draw in red and element \"0x123\" to draw in green,\n * the color specified by the element override will take precedence over that specified for the subcategory, resulting in a green Feature.\n *\n * @see [[Viewport.alwaysDrawn]]\n * @see [[Viewport.neverDrawn]]\n */\n export class Overrides extends FeatureOverrides {\n private _source?: Source;\n\n /** @alpha */\n public get source(): Source | undefined {\n return this._source;\n }\n\n /** Construct a new Overrides. The result is an empty set of overrides if no view or viewport is supplied.\n * @param view If supplied, the overrides will be initialized based on the current state of the view or viewport.\n */\n public constructor(view?: ViewState | Viewport) {\n super();\n if (undefined !== view) {\n if (view instanceof Viewport)\n this.initFromViewport(view);\n else\n this.initFromView(view);\n }\n }\n\n /** Create symbology overrides associated with a [[FeatureSymbology.Source]].\n * @alpha\n */\n public static withSource(source: Source, view?: ViewState | Viewport): Overrides {\n const ovrs = new Overrides(view);\n ovrs._source = source;\n return ovrs;\n }\n\n /** Initialize these Overrides based on a specific view.\n * @internal\n */\n public initFromView(view: ViewState): void {\n this._initFromView(view);\n this._initSubCategoryOverrides(view);\n }\n\n /** Initialize these Overrides based on a specific viewport.\n * @internal\n */\n public initFromViewport(viewport: Viewport): void {\n const view = viewport.view;\n this._initFromView(view);\n\n if (undefined !== viewport.neverDrawn)\n this.setNeverDrawnSet(viewport.neverDrawn);\n\n if (undefined !== viewport.alwaysDrawn)\n this.setAlwaysDrawnSet(viewport.alwaysDrawn, viewport.isAlwaysDrawnExclusive);\n\n viewport.addFeatureOverrides(this);\n viewport.addModelSubCategoryVisibilityOverrides(this, this._modelSubCategoryOverrides);\n\n // This will include any per-model subcategory visibility overrides added above.\n this._initSubCategoryOverrides(view);\n }\n\n private _initFromView(view: ViewState): void {\n const { viewFlags } = view;\n const { constructions, dimensions, patterns } = viewFlags;\n\n this.neverDrawnAnimationNodes.clear();\n this.animationNodeOverrides.clear();\n\n for (const excluded of view.displayStyle.settings.excludedElementIds)\n this.setNeverDrawn(excluded);\n\n this._constructions = constructions;\n this._dimensions = dimensions;\n this._patterns = patterns;\n this._lineWeights = viewFlags.weights;\n\n for (const categoryId of view.categorySelector.categories) {\n const subCategoryIds = view.iModel.subcategories.getSubCategories(categoryId);\n if (undefined === subCategoryIds)\n continue;\n\n for (const subCategoryId of subCategoryIds) {\n if (view.isSubCategoryVisible(subCategoryId)) {\n const idLo = Id64.getLowerUint32(subCategoryId);\n const idHi = Id64.getUpperUint32(subCategoryId);\n this._visibleSubCategories.add(idLo, idHi);\n\n const app = view.iModel.subcategories.getSubCategoryAppearance(subCategoryId);\n if (undefined !== app)\n this._subCategoryPriorities.set(idLo, idHi, app.priority);\n }\n }\n }\n const style = view.displayStyle;\n style.settings.modelAppearanceOverrides.forEach((appearance, modelId) => this.override({ modelId, appearance, onConflict: \"skip\" }));\n\n style.forEachRealityModel((realityModel) => {\n if (realityModel.appearanceOverrides && realityModel.modelId)\n this.override({ modelId: realityModel.modelId, appearance: realityModel.appearanceOverrides });\n });\n\n const script = style.scheduleScript;\n if (script)\n script.addSymbologyOverrides(this, style.settings.timePoint ?? 0);\n\n if (!view.is3d())\n return;\n\n const planProjectionSettings = view.getDisplayStyle3d().settings.planProjectionSettings;\n if (undefined === planProjectionSettings)\n return;\n\n for (const [modelId, projSettings] of planProjectionSettings) {\n if (undefined !== projSettings.transparency)\n this.override({ modelId, appearance: FeatureAppearance.fromJSON({ transparency: projSettings.transparency }) });\n }\n }\n\n private _initSubCategoryOverrides(view: ViewState): void {\n const addOverride = (idLo: number, idHi: number) => {\n const subCategoryId = Id64.fromUint32Pair(idLo, idHi);\n const ovr = view.getSubCategoryOverride(subCategoryId);\n if (undefined !== ovr) {\n const app = FeatureAppearance.fromSubCategoryOverride(ovr);\n if (app.overridesSymbology)\n this._subCategoryOverrides.set(idLo, idHi, app);\n\n if (undefined !== ovr.priority)\n this._subCategoryPriorities.set(idLo, idHi, ovr.priority);\n }\n };\n\n // Add overrides for all subcategories visible in the view\n this._visibleSubCategories.forEach((idLo: number, idHi: number) => {\n addOverride(idLo, idHi);\n });\n\n // Add overrides for all subcategories overridden to be visible in specific models\n this._modelSubCategoryOverrides.forEach((_modelIdLo: number, _modelIdHi: number, subcats: Id64.Uint32Set) => {\n subcats.forEach((idLo: number, idHi: number) => {\n if (!this.isSubCategoryVisible(idLo, idHi)) {\n // Overridden to be visible in one or more models - will need the appearance overrides\n addOverride(idLo, idHi);\n }\n });\n });\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"FeatureSymbology.js","sourceRoot":"","sources":["../../../src/render/FeatureSymbology.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAAoD;AACpD,oDAAyE;AACzE,0CAAuC;AAGvC,+BAA+B;AAE/B;;;GAGG;AACH,IAAiB,gBAAgB,CA0LhC;AA1LD,WAAiB,gBAAgB;IAkB/B;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,MAAa,SAAU,SAAQ,8BAAgB;QAG7C,aAAa;QACb,IAAW,MAAM;YACf,OAAO,IAAI,CAAC,OAAO,CAAC;QACtB,CAAC;QAED;;WAEG;QACH,YAAmB,IAA2B;YAC5C,KAAK,EAAE,CAAC;YACR,IAAI,SAAS,KAAK,IAAI,EAAE,CAAC;gBACvB,IAAI,IAAI,YAAY,mBAAQ;oBAC1B,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;;oBAE5B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;YAC5B,CAAC;QACH,CAAC;QAED;;WAEG;QACI,MAAM,CAAC,UAAU,CAAC,MAAc,EAAE,IAA2B;YAClE,MAAM,IAAI,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC;YACjC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;YACtB,OAAO,IAAI,CAAC;QACd,CAAC;QAED;;WAEG;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,IAAI,EAAE,GAAG,CAAC,CAAC;oBAElD,IAAI,SAAS,KAAK,GAAG,CAAC,QAAQ;wBAC5B,IAAI,CAAC,sBAAsB,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC;gBAC9D,CAAC;YACH,CAAC,CAAC;YAEF,0DAA0D;YAC1D,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,IAAY,EAAE,IAAY,EAAE,EAAE;gBAChE,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YAC1B,CAAC,CAAC,CAAC;YAEH,kFAAkF;YAClF,IAAI,CAAC,0BAA0B,CAAC,OAAO,CAAC,CAAC,UAAkB,EAAE,UAAkB,EAAE,OAAuB,EAAE,EAAE;gBAC1G,OAAO,CAAC,OAAO,CAAC,CAAC,IAAY,EAAE,IAAY,EAAE,EAAE;oBAC7C,IAAI,CAAC,IAAI,CAAC,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC;wBAC3C,sFAAsF;wBACtF,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;oBAC1B,CAAC;gBACH,CAAC,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC;KACF;IAhJY,0BAAS,YAgJrB,CAAA;AACH,CAAC,EA1LgB,gBAAgB,gCAAhB,gBAAgB,QA0LhC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Rendering\n */\n\nimport { BeEvent, Id64 } from \"@itwin/core-bentley\";\nimport { FeatureAppearance, FeatureOverrides } from \"@itwin/core-common\";\nimport { Viewport } from \"../Viewport\";\nimport { ViewState } from \"../ViewState\";\n\n// cspell:ignore subcat subcats\n\n/** Contains types that enable an application to customize how [Feature]($common)s are drawn within a [[Viewport]].\n * @public\n * @extensions\n */\nexport namespace FeatureSymbology {\n /** An object that serves as the source of a [[FeatureSymbology.Overrides]].\n * Use this if you are drawing the same tiles into a single Viewport and overriding the FeatureSymbology.Overrides applied to them\n * by settings [[GraphicBranch.symbologyOverrides]].\n * Each tile will have a separate set of feature overrides per combination of Source and Viewport. This prevents the display system\n * from constantly recomputing the feature overrides for a tile.\n * You must call `onSourceDisposed.raiseEvent()` when the source is no longer being used by the Viewport to allow the feature overrides\n * and their WebGL resources to be freed - failure to do so will result in memory leaks, which may eventually produce WebGL context loss.\n * @alpha\n */\n export interface Source {\n /** An event raised when this source becomes disassociated with the viewport, indicating any WebGL resources allocated for it\n * can be freed.\n * Failure to invoke this event appropriately will result in memory leaks, which may eventually produce WebGL context loss.\n */\n readonly onSourceDisposed: BeEvent<() => void>;\n }\n\n /** Allows a [[Viewport]] to customize the appearance of individual [Feature]($common)s within it.\n *\n * The Viewport computes its base Overrides based on the following:\n * - The set of categories enabled for display in its [[CategorySelectorState]]. Every [[SubCategory]] belonging to an enabled [[Category]] is added to the set of visible subcategories - all other subcategories are assumed to be invisible.\n * - For the set of visible subcategories, any [[SubCategoryOverride]]s defined by the view's [[DisplayStyleState]] are applied. This may render some subcategories invisible, and change the symbology of others.\n * - The visibility of each [GeometryClass]($common) is set based on the view's [ViewFlags]($common).\n * - The line weight is overridden to 1 pixel for all Features if line weight has been disabled by the view's [ViewFlags]($common).\n * - The sets of elements which are always drawn and never drawn are initialized from the [[Viewport]]'s sets.\n * An application can further customize the symbology of any Features by registering a [[FeatureOverrideProvider]] with a [[Viewport]]. That provider's addFeatureOverrides function will be invoked\n * whenever the Overrides need to be regenerated.\n *\n * To override the symbology of *most* Features within a view, specify a `defaultOverrides` to be applied to any Feature not explicitly overridden.\n * If default overrides are defined and some Features should draw normally without being affected by the default overrides, override that Feature with\n * an Appearance which defines no overrides.\n *\n * It is possible to override multiple aspects of a Feature. For example, you might specify that all elements belonging to subcategory \"A\" should be drawn in red, and\n * that the element with Id \"0x123\" should be drawn with 0.25 transparency. In this case, when drawing a Feature with subcategory \"A\" and element Id \"0x123\", the two overrides will\n * be merged, causing the Feature's geometry to draw 25% transparent red. On the other hand, if subcategory \"A\" is specified to draw in red and element \"0x123\" to draw in green,\n * the color specified by the element override will take precedence over that specified for the subcategory, resulting in a green Feature.\n *\n * @see [[Viewport.alwaysDrawn]]\n * @see [[Viewport.neverDrawn]]\n */\n export class Overrides extends FeatureOverrides {\n private _source?: Source;\n\n /** @alpha */\n public get source(): Source | undefined {\n return this._source;\n }\n\n /** Construct a new Overrides. The result is an empty set of overrides if no view or viewport is supplied.\n * @param view If supplied, the overrides will be initialized based on the current state of the view or viewport.\n */\n public constructor(view?: ViewState | Viewport) {\n super();\n if (undefined !== view) {\n if (view instanceof Viewport)\n this.initFromViewport(view);\n else\n this.initFromView(view);\n }\n }\n\n /** Create symbology overrides associated with a [[FeatureSymbology.Source]].\n * @alpha\n */\n public static withSource(source: Source, view?: ViewState | Viewport): Overrides {\n const ovrs = new Overrides(view);\n ovrs._source = source;\n return ovrs;\n }\n\n /** Initialize these Overrides based on a specific view.\n * @internal\n */\n public initFromView(view: ViewState): void {\n this._initFromView(view);\n this._initSubCategoryOverrides(view);\n }\n\n /** Initialize these Overrides based on a specific viewport.\n * @internal\n */\n public initFromViewport(viewport: Viewport): void {\n // Set the initial always/never-drawn sets. Later, initFromView can add more elements to them.\n if (undefined !== viewport.neverDrawn)\n this.setNeverDrawnSet(viewport.neverDrawn);\n\n if (undefined !== viewport.alwaysDrawn)\n this.setAlwaysDrawnSet(viewport.alwaysDrawn, viewport.isAlwaysDrawnExclusive);\n\n this._initFromView(viewport.view);\n\n viewport.addFeatureOverrides(this);\n viewport.addModelSubCategoryVisibilityOverrides(this, this._modelSubCategoryOverrides);\n\n // This will include any per-model subcategory visibility overrides added above.\n this._initSubCategoryOverrides(viewport.view);\n }\n\n private _initFromView(view: ViewState): void {\n const { viewFlags } = view;\n const { constructions, dimensions, patterns } = viewFlags;\n\n this.neverDrawnAnimationNodes.clear();\n this.animationNodeOverrides.clear();\n\n for (const excluded of view.displayStyle.settings.excludedElementIds)\n this.setNeverDrawn(excluded);\n\n this._constructions = constructions;\n this._dimensions = dimensions;\n this._patterns = patterns;\n this._lineWeights = viewFlags.weights;\n\n for (const categoryId of view.categorySelector.categories) {\n const subCategoryIds = view.iModel.subcategories.getSubCategories(categoryId);\n if (undefined === subCategoryIds)\n continue;\n\n for (const subCategoryId of subCategoryIds) {\n if (view.isSubCategoryVisible(subCategoryId)) {\n const idLo = Id64.getLowerUint32(subCategoryId);\n const idHi = Id64.getUpperUint32(subCategoryId);\n this._visibleSubCategories.add(idLo, idHi);\n\n const app = view.iModel.subcategories.getSubCategoryAppearance(subCategoryId);\n if (undefined !== app)\n this._subCategoryPriorities.set(idLo, idHi, app.priority);\n }\n }\n }\n const style = view.displayStyle;\n style.settings.modelAppearanceOverrides.forEach((appearance, modelId) => this.override({ modelId, appearance, onConflict: \"skip\" }));\n\n style.forEachRealityModel((realityModel) => {\n if (realityModel.appearanceOverrides && realityModel.modelId)\n this.override({ modelId: realityModel.modelId, appearance: realityModel.appearanceOverrides });\n });\n\n const script = style.scheduleScript;\n if (script)\n script.addSymbologyOverrides(this, style.settings.timePoint ?? 0);\n\n if (!view.is3d())\n return;\n\n const planProjectionSettings = view.getDisplayStyle3d().settings.planProjectionSettings;\n if (undefined === planProjectionSettings)\n return;\n\n for (const [modelId, projSettings] of planProjectionSettings) {\n if (undefined !== projSettings.transparency)\n this.override({ modelId, appearance: FeatureAppearance.fromJSON({ transparency: projSettings.transparency }) });\n }\n }\n\n private _initSubCategoryOverrides(view: ViewState): void {\n const addOverride = (idLo: number, idHi: number) => {\n const subCategoryId = Id64.fromUint32Pair(idLo, idHi);\n const ovr = view.getSubCategoryOverride(subCategoryId);\n if (undefined !== ovr) {\n const app = FeatureAppearance.fromSubCategoryOverride(ovr);\n if (app.overridesSymbology)\n this._subCategoryOverrides.set(idLo, idHi, app);\n\n if (undefined !== ovr.priority)\n this._subCategoryPriorities.set(idLo, idHi, ovr.priority);\n }\n };\n\n // Add overrides for all subcategories visible in the view\n this._visibleSubCategories.forEach((idLo: number, idHi: number) => {\n addOverride(idLo, idHi);\n });\n\n // Add overrides for all subcategories overridden to be visible in specific models\n this._modelSubCategoryOverrides.forEach((_modelIdLo: number, _modelIdHi: number, subcats: Id64.Uint32Set) => {\n subcats.forEach((idLo: number, idHi: number) => {\n if (!this.isSubCategoryVisible(idLo, idHi)) {\n // Overridden to be visible in one or more models - will need the appearance overrides\n addOverride(idLo, idHi);\n }\n });\n });\n }\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolAdmin.d.ts","sourceRoot":"","sources":["../../../src/tools/ToolAdmin.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAA0B,OAAO,EAAqC,MAAM,qBAAqB,CAAC;AACzG,OAAO,EAAY,OAAO,EAAE,OAAO,EAAuB,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC9F,OAAO,EAAU,mBAAmB,EAAa,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAIpG,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAOzC,OAAO,EAAE,eAAe,EAAmB,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACL,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,EAAE,uBAAuB,EAAe,YAAY,EACtI,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,IAAI,EACnD,MAAM,QAAQ,CAAC;AAEhB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;;GAGG;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I,CAAC;mBAa1D,MAAM;CA4F5B"}
|
|
@@ -554,8 +554,10 @@ class ToolAdmin {
|
|
|
554
554
|
if (undefined === current.touchTapTimer) {
|
|
555
555
|
current.touchTapTimer = Date.now();
|
|
556
556
|
current.touchTapCount = 1;
|
|
557
|
+
// NOTE: We cannot await the executeAfter call below, because that prevents any other
|
|
558
|
+
// taps from being processed, which makes it impossible for double tap to happen.
|
|
557
559
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
558
|
-
|
|
560
|
+
void ToolSettings_1.ToolSettings.doubleTapTimeout.executeAfter(this.doubleTapTimeout, this);
|
|
559
561
|
}
|
|
560
562
|
else if (undefined !== current.touchTapCount) {
|
|
561
563
|
current.touchTapCount++;
|