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
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
planViewModel
Returns
void
addConstructionPlanObjectHandlers
▸ addConstructionPlanObjectHandlers(planObjectViewModel
, object?
): void
Parameters
planObjectViewModel
object?
Returns
void
addEventListener
▸ addEventListener(eventName
, callback
, scope
): void
Parameters
Returns
void
Inherited from
addFloorHandlers
▸ addFloorHandlers(planElementViewModel
): void
Parameters
planElementViewModel
Returns
void
addMeasurementLineHandlers
▸ addMeasurementLineHandlers(planElementViewModel
): void
Parameters
planElementViewModel
Returns
void
addNodeHandlers
▸ addNodeHandlers(planElementViewModel
): void
Parameters
planElementViewModel
Returns
void
addPlanObjectHandlers
▸ addPlanObjectHandlers(planObjectViewModel
, object?
): void
Parameters
planObjectViewModel
object?
Returns
void
addWallHandlers
▸ addWallHandlers(planElementViewModel
): void
Parameters
planElementViewModel
Returns
void
cancelSelection
▸ cancelSelection(reason
): void
Parameters
reason
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
object
Returns
void
disableSnapping
▸ disableSnapping(): void
Returns
void
dispatchEvent
▸ dispatchEvent(eventName
, arg?
): void
Parameters
eventName
number
arg?
Returns
void
Inherited from
enable
▸ enable(): void
Returns
void
enableAdvancedDocking
▸ enableAdvancedDocking(): void
Returns
void
enableConstructionEvents
▸ enableConstructionEvents(enable
): void
Parameters
enable
boolean
Returns
void
enableEvents
▸ enableEvents(): void
Returns
void
Inherited from
enableMeasurementLineDrawing
▸ enableMeasurementLineDrawing(): void
Returns
void
enableObjectEvents
▸ enableObjectEvents(enable
): void
Parameters
enable
boolean
Returns
void
enableShowChildrenOfPlanObject
▸ enableShowChildrenOfPlanObject(object
): void
Parameters
object
Returns
void
enableSnapping
▸ enableSnapping(): void
Returns
void
enableWallDrawing
▸ enableWallDrawing(): Group
<Object3DEventMap
>
Returns
Group
<Object3DEventMap
>
endWallDrawing
▸ endWallDrawing(event
, point?
): void
Parameters
event
point?
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
eventName
number
Returns
void
Inherited from
removeSelection
▸ removeSelection(): void
Returns
void
resetState
▸ resetState(): void
Returns
void
selectPlanElement
▸ selectPlanElement(planElement
): Promise
<void
>
Parameters
planElement
Returns
Promise
<void
>
setCamera
▸ setCamera(camera
): void
Parameters
camera
Camera
Returns
void
setDragIn
▸ setDragIn(dragIn
, dragEvent?
): void
Parameters
dragIn
boolean
dragEvent?
DragEvent
Returns
void
Inherited from
setKernelZoomFactor
▸ setKernelZoomFactor(kernelZoomFactor
): void
Parameters
kernelZoomFactor
number
Returns
void
setMeasurementLineLength
▸ setMeasurementLineLength(measurementLine
, targetLengthMM
, direction
): void
Parameters
Returns
void
setObject
▸ setObject(object
): void
Parameters
object
Object3D
<Object3DEventMap
>
Returns
void
setPlanViewModel
▸ setPlanViewModel(planViewModel
): void
Parameters
planViewModel
Returns
void
setSelectionMode
▸ setSelectionMode(selectionMode
): void
Parameters
selectionMode
Returns
void
setState
▸ setState(state
): void
Parameters
Returns
void
showsChildrenOfPlanObject
▸ showsChildrenOfPlanObject(object
): boolean
Parameters
object
Returns
boolean
startDrawing
▸ startDrawing(): void
Returns
void
stopDrawing
▸ stopDrawing(cancelDrawing?
): void
Parameters
cancelDrawing
boolean
true
Returns
void
Last updated