RoomlePlanner.Internal.default-4
planner-core/src/roomle-planner.internal.default
Hierarchy
↳
default
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new default(creator
, scene
, camera
, inputManager
)
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
Overrides
Properties
_creator_
• _creator_: string
Inherited from
Accessors
hoveredObjectId
• get
hoveredObjectId(): number
Returns
number
isCurrentlyDrawing
• get
isCurrentlyDrawing(): boolean
Returns
boolean
planInteractionHandler
• get
planInteractionHandler(): PlanInteractionHandler
Returns
Methods
addComponentDragInHandler
▸ addComponentDragInHandler(planViewModel
): void
Parameters
Name | Type |
---|---|
|
Returns
void
addConstructionPlanObjectHandlers
▸ addConstructionPlanObjectHandlers(planObjectViewModel
, object?
): void
Parameters
Name | Type |
---|---|
| |
|
Returns
void
addEventListener
▸ addEventListener(eventName
, callback
, scope
): void
Parameters
Name | Type |
---|---|
|
|
| |
|
|
Returns
void
Inherited from
addFloorHandlers
▸ addFloorHandlers(planElementViewModel
): void
Parameters
Name | Type |
---|---|
|
Returns
void
addMeasurementLineHandlers
▸ addMeasurementLineHandlers(planElementViewModel
): void
Parameters
Name | Type |
---|---|
|
Returns
void
addNodeHandlers
▸ addNodeHandlers(planElementViewModel
): void
Parameters
Name | Type |
---|---|
|
Returns
void
addPlanObjectHandlers
▸ addPlanObjectHandlers(planObjectViewModel
, object?
): void
Parameters
Name | Type |
---|---|
| |
|
Returns
void
addWallHandlers
▸ addWallHandlers(planElementViewModel
): void
Parameters
Name | Type |
---|---|
|
Returns
void
cancelSelection
▸ cancelSelection(reason
): void
Parameters
Name | Type |
---|---|
|
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
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 |
---|---|
|
|
|
Returns
void
Inherited from
enable
▸ enable(): void
Returns
void
enableAdvancedDocking
▸ enableAdvancedDocking(): void
Returns
void
enableConstructionEvents
▸ enableConstructionEvents(enable
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
enableEvents
▸ enableEvents(): void
Returns
void
Inherited from
enableMeasurementLineDrawing
▸ enableMeasurementLineDrawing(): void
Returns
void
enableObjectEvents
▸ enableObjectEvents(enable
): void
Parameters
Name | Type |
---|---|
|
|
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
isDragIn
▸ isDragIn(): boolean
Returns
boolean
Inherited from
removeEventListener
▸ removeEventListener(eventName
, fun
): void
Parameters
Name | Type |
---|---|
|
|
|
Returns
void
Inherited from
removeSelection
▸ removeSelection(): void
Returns
void
resetState
▸ resetState(): void
Returns
void
selectPlanElement
▸ selectPlanElement(planElement
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
Returns
Promise
<void
>
setCamera
▸ setCamera(camera
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
setDragIn
▸ setDragIn(dragIn
, dragEvent?
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
Inherited from
setKernelZoomFactor
▸ setKernelZoomFactor(kernelZoomFactor
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
setMeasurementLineLength
▸ setMeasurementLineLength(measurementLine
, targetLengthMM
, direction
): void
Parameters
Name | Type |
---|---|
| |
|
|
|
|
Returns
void
setObject
▸ setObject(object
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
setPlanViewModel
▸ setPlanViewModel(planViewModel
): void
Parameters
Name | Type |
---|---|
|
Returns
void
setSelectionMode
▸ setSelectionMode(selectionMode
): void
Parameters
Name | Type |
---|---|
|
Returns
void
setState
▸ setState(state
): void
Parameters
Name | Type |
---|---|
|
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 |
---|---|---|
|
|
|
Returns
void
Last updated