API ReferenceGlobalsPlannerSceneEventHandler

# Class: PlannerSceneEventHandler

# Hierarchy

SceneEventHandlerSceneEventInfo

PlannerSceneEventHandler

# Implements

# Index

# Constructors

# Properties

# Accessors

# Methods

# Constructors

# constructor

+ new PlannerSceneEventHandler(creator: string, scene: Scene, camera: Camera, inputManager: InputManager): PlannerSceneEventHandler

Overrides SceneEventHandler.constructor

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:84

Parameters:

Name Type
creator string
scene Scene
camera Camera
inputManager InputManager

Returns: PlannerSceneEventHandler

# Properties

# creator

creator: string

Implementation of Context.creator

Inherited from PlannerSceneEventHandler.creator

Defined in packages/common-core/src/webgl/scene-event-handler.ts:7

# Accessors

# planInteractionHandler

get planInteractionHandler(): PlanInteractionHandler

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:120

Returns: PlanInteractionHandler

# Methods

# addComponentDragInHandler

addComponentDragInHandler(planViewModel: PlanElementViewModel): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:444

Parameters:

Name Type
planViewModel PlanElementViewModel

Returns: void


# addEventListener

addEventListener(eventName: number, callback: ListenerFunctionSceneEventInfo›, scope: any): void

Inherited from EventDispatcher.addEventListener

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:29

Parameters:

Name Type
eventName number
callback ListenerFunctionSceneEventInfo
scope any

Returns: void


# addNodeHandlers

addNodeHandlers(planElementViewModel: PlanElementViewModel): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:174

Parameters:

Name Type
planElementViewModel PlanElementViewModel

Returns: void


# addPlanObjectHandlers

addPlanObjectHandlers(planObjectViewModel: PlanObjectViewModel, object?: Object3D): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:154

Parameters:

Name Type
planObjectViewModel PlanObjectViewModel
object? Object3D

Returns: void


# addWallHandlers

addWallHandlers(planElementViewModel: PlanElementViewModel): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:166

Parameters:

Name Type
planElementViewModel PlanElementViewModel

Returns: void


# cancelSelection

cancelSelection(): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:332

Returns: void


# cancelWallDrawing

cancelWallDrawing(): Mesh

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:479

Returns: Mesh


# disable

disable(): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:113

Returns: void


# disableEvents

disableEvents(): void

Inherited from EventDispatcher.disableEvents

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:67

Returns: void


# disableSnapping

disableSnapping(): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:463

Returns: void


# dispatchEvent

dispatchEvent(eventName: number, arg?: SceneEventInfo): void

Inherited from EventDispatcher.dispatchEvent

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:33

Parameters:

Name Type
eventName number
arg? SceneEventInfo

Returns: void


# enable

enable(): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:124

Returns: void


# enableConstructionEvents

enableConstructionEvents(enable: boolean): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:134

Parameters:

Name Type
enable boolean

Returns: void


# enableEvents

enableEvents(): void

Inherited from EventDispatcher.enableEvents

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:63

Returns: void


# enableObjectEvents

enableObjectEvents(enable: boolean): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:142

Parameters:

Name Type
enable boolean

Returns: void


# enableSnapping

enableSnapping(): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:458

Returns: void


# enableWallDrawing

enableWallDrawing(): Mesh

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:468

Returns: Mesh


# escapeDrawing

escapeDrawing(): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:491

Returns: void


# getSelectedIds

getSelectedIds(): number[]

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:320

Returns: number[]


# getSelectionMode

getSelectionMode(): SELECTION_MODE

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:150

Returns: SELECTION_MODE


# isDragIn

isDragIn(): boolean

Inherited from PlannerSceneEventHandler.isDragIn

Defined in packages/common-core/src/webgl/scene-event-handler.ts:24

Returns: boolean


# removeEventListener

removeEventListener(eventName: number, fun: ListenerFunctionSceneEventInfo›): void

Inherited from EventDispatcher.removeEventListener

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:49

Parameters:

Name Type
eventName number
fun ListenerFunctionSceneEventInfo

Returns: void


# resetState

resetState(): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:396

Returns: void


# selectPlanElement

selectPlanElement(planElement: PlanElementViewModel): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:436

Parameters:

Name Type
planElement PlanElementViewModel

Returns: void


# setCamera

setCamera(camera: Camera): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:312

Parameters:

Name Type
camera Camera

Returns: void


# setDragIn

setDragIn(dragIn: boolean, dragEvent?: DragEvent): void

Inherited from PlannerSceneEventHandler.setDragIn

Defined in packages/common-core/src/webgl/scene-event-handler.ts:28

Parameters:

Name Type
dragIn boolean
dragEvent? DragEvent

Returns: void


# setPlanViewModel

setPlanViewModel(planViewModel: PlanViewModel): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:328

Parameters:

Name Type
planViewModel PlanViewModel

Returns: void


# setScene

setScene(scene: Scene): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:316

Parameters:

Name Type
scene Scene

Returns: void


# setSelectionMode

setSelectionMode(selectionMode: SELECTION_MODE): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:324

Parameters:

Name Type
selectionMode SELECTION_MODE

Returns: void


# setState

setState(state: PLANNER_SCENE_EVENT_STATE): void

Defined in packages/planner-core/src/webgl/planner-scene-event-handler.ts:384

Parameters:

Name Type
state PLANNER_SCENE_EVENT_STATE

Returns: void