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

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

Parameters:

Name Type
eventName number
callback ListenerFunctionSceneEventInfo
scope any

Returns: void


# addPlanObjectHandlers

addPlanObjectHandlers(planObjectViewModel: PlanObjectViewModel, object?: Object3D): Promise‹void›

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

Parameters:

Name Type
planObjectViewModel PlanObjectViewModel
object? Object3D

Returns: Promise‹void›


# addWallHandlers

addWallHandlers(planElementViewModel: PlanElementViewModel): void

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

Parameters:

Name Type
planElementViewModel PlanElementViewModel

Returns: void


# cancelSelection

cancelSelection(): void

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

Returns: void


# dispatchEvent

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

Inherited from EventDispatcher.dispatchEvent

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

Parameters:

Name Type
eventName number
arg? SceneEventInfo

Returns: void


# getSelectedIds

getSelectedIds(): number[]

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

Returns: number[]


# getSelectionMode

getSelectionMode(): SELECTION_MODE

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

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

Parameters:

Name Type
eventName number
fun ListenerFunctionSceneEventInfo

Returns: void


# resetState

resetState(): void

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

Returns: void


# selectPlanElement

selectPlanElement(planElement: PlanElementViewModel): void

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

Parameters:

Name Type
planElement PlanElementViewModel

Returns: void


# setCamera

setCamera(camera: Camera): void

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

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

Parameters:

Name Type
planViewModel PlanViewModel

Returns: void


# setScene

setScene(scene: Scene): void

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

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

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

Parameters:

Name Type
state PLANNER_SCENE_EVENT_STATE

Returns: void