feat: 迁移BimEngine到radial+dock并完善测量/剖切/漫游面板

This commit is contained in:
yuding
2026-03-30 15:56:18 +08:00
parent 2574a11284
commit 819992f331
26 changed files with 9575 additions and 8579 deletions

View File

@@ -6,6 +6,8 @@ import { RightKeyManager } from './managers/right-key-manager';
import { RadialToolbarManager } from './managers/radial-toolbar-manager';
import { BottomDockManager } from './managers/bottom-dock-manager';
import { MeasureDockManager } from './managers/measure-dock-manager';
import { SectionDockManager } from './managers/section-dock-manager';
import { WalkDockManager } from './managers/walk-dock-manager';
import { MeasureDialogManager } from './managers/measure-dialog-manager';
import { SectionPlaneDialogManager } from './managers/section-plane-dialog-manager';
@@ -46,6 +48,8 @@ export class CusBimEngine {
public radialToolbar: RadialToolbarManager | null = null;
public bottomDock: BottomDockManager | null = null;
public measureDock: MeasureDockManager | null = null;
public sectionDock: SectionDockManager | null = null;
public walkDock: WalkDockManager | null = null;
public measure: MeasureDialogManager | null = null;
public sectionPlane: SectionPlaneDialogManager | null = null;
@@ -150,6 +154,14 @@ export class CusBimEngine {
this.registry.measureDock = this.measureDock;
this.measureDock.init();
this.sectionDock = new SectionDockManager(this.registry);
this.registry.sectionDock = this.sectionDock;
this.sectionDock.init();
this.walkDock = new WalkDockManager(this.registry);
this.registry.walkDock = this.walkDock;
this.walkDock.init();
this.radialToolbar = new RadialToolbarManager(this.wrapper, this.registry);
this.measure = new MeasureDialogManager(this.registry);
@@ -252,6 +264,8 @@ export class CusBimEngine {
this.radialToolbar?.destroy();
this.measureDock?.destroy();
this.sectionDock?.destroy();
this.walkDock?.destroy();
this.bottomDock?.destroy();
this.engine?.destroy();
this.dialog?.destroy();