RoomlePlanner.Internal.default-4

planner-core/src/roomle-planner.internal.default

Hierarchy

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new default(creator, scene, camera, inputManager)

Parameters

Name
Type

creator

string

scene

Scene

camera

Camera

inputManager

Overrides

default.constructor

Properties

_creator_

_creator_: string

Inherited from

default.creator

Accessors

hoveredObjectId

get hoveredObjectId(): number

Returns

number


isCurrentlyDrawing

get isCurrentlyDrawing(): boolean

Returns

boolean


planInteractionHandler

get planInteractionHandler(): PlanInteractionHandler

Returns

PlanInteractionHandler

Methods

addComponentDragInHandler

addComponentDragInHandler(planViewModel): void

Parameters

Name
Type

planViewModel

Returns

void


addConstructionPlanObjectHandlers

addConstructionPlanObjectHandlers(planObjectViewModel, object?): void

Parameters

Name
Type

planObjectViewModel

Returns

void


addEventListener

addEventListener(eventName, callback, scope): void

Parameters

Name
Type

eventName

number

scope

any

Returns

void

Inherited from

default.addEventListener


addFloorHandlers

addFloorHandlers(planElementViewModel): void

Parameters

Name
Type

planElementViewModel

Returns

void


addMeasurementLineHandlers

addMeasurementLineHandlers(planElementViewModel): void

Parameters

Name
Type

planElementViewModel

Returns

void


addNodeHandlers

addNodeHandlers(planElementViewModel): void

Parameters

Name
Type

planElementViewModel

Returns

void


addPlanObjectHandlers

addPlanObjectHandlers(planObjectViewModel, object?): void

Parameters

Name
Type

planObjectViewModel

Returns

void


addWallHandlers

addWallHandlers(planElementViewModel): void

Parameters

Name
Type

planElementViewModel

Returns

void


cancelSelection

cancelSelection(reason): void

Parameters

Returns

void


cancelWallDrawing

cancelWallDrawing(): Group<Object3DEventMap>

Returns

Group<Object3DEventMap>


disable

disable(): void

Returns

void


disableAdvancedDocking

disableAdvancedDocking(): void

Returns

void


disableEvents

disableEvents(): void

Returns

void

Inherited from

default.disableEvents


disableMeasurementLineDrawing

disableMeasurementLineDrawing(): void

Returns

void


disableShowChildrenOfPlanObject

disableShowChildrenOfPlanObject(object): void

Parameters

Name
Type

Returns

void


disableSnapping

disableSnapping(): void

Returns

void


dispatchEvent

dispatchEvent(eventName, arg?): void

Parameters

Name
Type

eventName

number

Returns

void

Inherited from

default.dispatchEvent


enable

enable(): void

Returns

void


enableAdvancedDocking

enableAdvancedDocking(): void

Returns

void


enableConstructionEvents

enableConstructionEvents(enable): void

Parameters

Name
Type

enable

boolean

Returns

void


enableEvents

enableEvents(): void

Returns

void

Inherited from

default.enableEvents


enableMeasurementLineDrawing

enableMeasurementLineDrawing(): void

Returns

void


enableObjectEvents

enableObjectEvents(enable): void

Parameters

Name
Type

enable

boolean

Returns

void


enableShowChildrenOfPlanObject

enableShowChildrenOfPlanObject(object): void

Parameters

Name
Type

Returns

void


enableSnapping

enableSnapping(): void

Returns

void


enableWallDrawing

enableWallDrawing(): Group<Object3DEventMap>

Returns

Group<Object3DEventMap>


endWallDrawing

endWallDrawing(event, point?): void

Parameters

Name
Type

Returns

void


getSelectedIds

getSelectedIds(): number[]

Returns

number[]


getSelectionMode

getSelectionMode(): SELECTION_MODE

Returns

SELECTION_MODE


isDragIn

isDragIn(): boolean

Returns

boolean

Inherited from

default.isDragIn


removeEventListener

removeEventListener(eventName, fun): void

Parameters

Name
Type

eventName

number

Returns

void

Inherited from

default.removeEventListener


removeSelection

removeSelection(): void

Returns

void


resetState

resetState(): void

Returns

void


selectPlanElement

selectPlanElement(planElement): Promise<void>

Parameters

Name
Type

planElement

Returns

Promise<void>


setCamera

setCamera(camera): void

Parameters

Name
Type

camera

Camera

Returns

void


setDragIn

setDragIn(dragIn, dragEvent?): void

Parameters

Name
Type

dragIn

boolean

dragEvent?

DragEvent

Returns

void

Inherited from

default.setDragIn


setKernelZoomFactor

setKernelZoomFactor(kernelZoomFactor): void

Parameters

Name
Type

kernelZoomFactor

number

Returns

void


setMeasurementLineLength

setMeasurementLineLength(measurementLine, targetLengthMM, direction): void

Parameters

Name
Type

measurementLine

targetLengthMM

number

direction

string

Returns

void


setObject

setObject(object): void

Parameters

Name
Type

object

Object3D<Object3DEventMap>

Returns

void


setPlanViewModel

setPlanViewModel(planViewModel): void

Parameters

Name
Type

planViewModel

Returns

void


setSelectionMode

setSelectionMode(selectionMode): void

Parameters

Name
Type

selectionMode

Returns

void


setState

setState(state): void

Parameters

Returns

void


showsChildrenOfPlanObject

showsChildrenOfPlanObject(object): boolean

Parameters

Name
Type

Returns

boolean


startDrawing

startDrawing(): void

Returns

void


stopDrawing

stopDrawing(cancelDrawing?): void

Parameters

Name
Type
Default value

cancelDrawing

boolean

true

Returns

void

Last updated