API ReferenceGlobalsPlannerSceneEventHandler

# Class: PlannerSceneEventHandler

# Hierarchy

SceneEventHandlerSceneEventInfo

PlannerSceneEventHandler

# Implements

# Index

# Constructors

# Properties

# 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:64

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

# Methods

# addComponentDragInHandler

addComponentDragInHandler(planViewModel: PlanElementViewModel): void

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

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


# addPlanObjectHandlers

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

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

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:119

Parameters:

Name Type
planElementViewModel PlanElementViewModel

Returns: void


# cancelSelection

cancelSelection(): void

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

Returns: void


# disable

disable(): void

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

Returns: void


# disableEvents

disableEvents(): void

Inherited from EventDispatcher.disableEvents

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

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:93

Returns: void


# enableEvents

enableEvents(): void

Inherited from EventDispatcher.enableEvents

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

Returns: void


# getSelectedIds

getSelectedIds(): number[]

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

Returns: number[]


# getSelectionMode

getSelectionMode(): SELECTION_MODE

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

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:268

Returns: void


# selectPlanElement

selectPlanElement(planElement: PlanElementViewModel): void

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

Parameters:

Name Type
planElement PlanElementViewModel

Returns: void


# setCamera

setCamera(camera: Camera): void

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

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:200

Parameters:

Name Type
planViewModel PlanViewModel

Returns: void


# setScene

setScene(scene: Scene): void

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

Parameters:

Name Type
scene Scene

Returns: void


# setSelectionMode

setSelectionMode(selectionMode: SELECTIONMODE): _void

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

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:256

Parameters:

Name Type
state PLANNER_SCENE_EVENT_STATE

Returns: void