feat: 迁移BimEngine到radial+dock并完善测量/剖切/漫游面板
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user