RoomlePlanner.Internal.default-6
planner-core/src/roomle-planner.internal.default
Hierarchy
↳
default
Implements
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new default(creator
)
Parameters
Name | Type |
---|---|
|
|
Overrides
Properties
_creator_
• _creator_: string
Inherited from
Accessors
cameraType
• get
cameraType(): Enumify
<{ CAMERA_2D
: "2D"
= '2D'; CAMERA_3D
: "3D"
= '3D'; CAMERA_FP
: "FP"
= 'FP' }>
Returns
Enumify
<{ CAMERA_2D
: "2D"
= '2D'; CAMERA_3D
: "3D"
= '3D'; CAMERA_FP
: "FP"
= 'FP' }>
latestNodePlanObjectViewModel
• get
latestNodePlanObjectViewModel(): default
Returns
latestWallPlanObjectViewModel
• get
latestWallPlanObjectViewModel(): default
Returns
materialQueue
• get
materialQueue(): PromiseQueue
<void
>
Returns
PromiseQueue
<void
>
Inherited from
ConfiguratorViewModel.materialQueue
Methods
Editor3ChangedMesh
▸ Editor3ChangedMesh(runtimeComponentId
, meshId
, geometryName
, meshAttributes
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
Returns
void
Inherited from
Editor3dAddDockPreview
▸ Editor3dAddDockPreview(componentId
, previewId
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
Inherited from
default.Editor3dAddDockPreview
Editor3dAddMesh
▸ Editor3dAddMesh(runtimeComponentId
, meshId
, geometryName
, environmentGeometry
, meshAttributes
, meshBuffer
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
|
| |
|
Returns
void
Inherited from
Editor3dBeginConstruction
▸ Editor3dBeginConstruction(componentId
, isDeltaUpdate
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
Inherited from
default.Editor3dBeginConstruction
Editor3dComponentCreated
▸ Editor3dComponentCreated(id
, position
, eulerAngles
, isRootComponent
, parentObjectRuntimeId
): void
Parameters
Name | Type |
---|---|
|
|
| |
| |
|
|
|
|
Returns
void
Overrides
default.Editor3dComponentCreated
Editor3dComponentDocked
▸ Editor3dComponentDocked(componentId
, isRootComponent
, parentId
, componentPosition
, componentRotation
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
| |
|
Returns
void
Inherited from
default.Editor3dComponentDocked
Editor3dEndConstruction
▸ Editor3dEndConstruction(id
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
default.Editor3dEndConstruction
Editor3dGeometryNotReady
▸ Editor3dGeometryNotReady(id
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
default.Editor3dGeometryNotReady
Editor3dGeometryReady
▸ Editor3dGeometryReady(id
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
Editor3dPlanObjectConstructionDone
▸ Editor3dPlanObjectConstructionDone(planObjectId
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
default.Editor3dPlanObjectConstructionDone
Editor3dPreviewConstructionDone
▸ Editor3dPreviewConstructionDone(componentId
, _objectId
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
Inherited from
default.Editor3dPreviewConstructionDone
Editor3dRemoveMesh
▸ Editor3dRemoveMesh(runtimeComponentId
, meshId
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
Inherited from
Editor3dSetPreviewLineAssociations
▸ Editor3dSetPreviewLineAssociations(dockLines
, previewId
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
Inherited from
default.Editor3dSetPreviewLineAssociations
Editor3dSetPreviewPointAssociations
▸ Editor3dSetPreviewPointAssociations(dockPairs
, previewId
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
Inherited from
default.Editor3dSetPreviewPointAssociations
_changeAnimationValue
▸ _changeAnimationValue(component
, parameterKey
, value
, animate
): void
Parameters
Name | Type |
---|---|
| |
|
|
|
|
|
|
Returns
void
Inherited from
addMesh
▸ addMesh(planElement
, material
, vertices
, indices
, uvCoords
, normals
): void
Parameters
Name | Type |
---|---|
| |
|
|
|
|
|
|
|
|
|
|
Returns
void
Implementation of
PlannerKernelCallbackI.addMesh
addPlanElementViewModel
▸ addPlanElementViewModel(planElementViewModel
): void
Parameters
Name | Type |
---|---|
|
Returns
void
addPlanMesh
▸ addPlanMesh(_plan
, _material
, _vertices
, _indices
, _uvCoords
, _normals
, _type
): void
Parameters
Name | Type |
---|---|
| |
|
|
|
|
|
|
|
|
|
|
|
Returns
void
Implementation of
PlannerKernelCallbackI.addPlanMesh
addPlanObjectToScene
▸ addPlanObjectToScene(_planViewModel
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Implementation of
PlannerKernelCallbackI.addPlanObjectToScene
beginPlanConstruction
▸ beginPlanConstruction(_plan
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Implementation of
PlannerKernelCallbackI.beginPlanConstruction
changeAnimationValue
▸ changeAnimationValue(elementId
, parameterKey
, value
, applyToChildren
, animate
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
|
|
|
Returns
void
Inherited from
clearReference
▸ clearReference(): void
Returns
void
clearRootComponent
▸ clearRootComponent(): void
Returns
void
Inherited from
componentConfigurationUpdated
▸ componentConfigurationUpdated(runtimeComponentId
, geometryChanged
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
Overrides
default.componentConfigurationUpdated
componentDeleted
▸ componentDeleted(componentId
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
componentMetaUpdated
▸ componentMetaUpdated(kernelComponent
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Inherited from
configurationLoaded
▸ configurationLoaded(conversationId
, objectId
, componentId
, _hash
, _errors
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
|
|
|
Returns
void
Inherited from
constructComponents
▸ constructComponents(planObjectId
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
debugSceneGraph
▸ debugSceneGraph(id?
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
dockComponentWithPosition
▸ dockComponentWithPosition(previewComponent
, component?
): void
Parameters
Name | Type |
---|---|
| |
|
Returns
void
Inherited from
default.dockComponentWithPosition
endPlanConstruction
▸ endPlanConstruction(_plan
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Implementation of
PlannerKernelCallbackI.endPlanConstruction
finishParameterChange
▸ finishParameterChange(resolve
, _reject
): void
Parameters
Name | Type |
---|---|
| () => |
| () => |
Returns
void
Inherited from
getBoundingBox
▸ getBoundingBox(): Box3
Returns
Box3
Overrides
getBoundingBoxOfGeometry
▸ getBoundingBoxOfGeometry(): Box3
Returns
Box3
Overrides
default.getBoundingBoxOfGeometry
getBoundingBoxWithPreviews
▸ getBoundingBoxWithPreviews(): Box3
Returns
Box3
Inherited from
default.getBoundingBoxWithPreviews
getCeilingGroup
▸ getCeilingGroup(): Group
<Object3DEventMap
>
Returns
Group
<Object3DEventMap
>
getComponent
▸ getComponent(componentId
): RoomleComponent
Parameters
Name | Type |
---|---|
|
|
Returns
Inherited from
getComponents
▸ getComponents(): RoomleComponent
[]
Returns
Inherited from
getComponentsForIds
▸ getComponentsForIds(ids
): RoomleComponent
[]
Parameters
Name | Type |
---|---|
|
|
Returns
Inherited from
getConfigurableConstructionPlanObjectViewModels
▸ getConfigurableConstructionPlanObjectViewModels(): default
[]
Returns
default
[]
getConfigurablePlanObjectForId
▸ getConfigurablePlanObjectForId(id
): default
Parameters
Name | Type |
---|---|
|
|
Returns
getConfigurablePlanObjectViewModels
▸ getConfigurablePlanObjectViewModels(): default
[]
Returns
default
[]
getConstructionGroup
▸ getConstructionGroup(): Group
<Object3DEventMap
>
Returns
Group
<Object3DEventMap
>
getConstructionObjectForId
▸ getConstructionObjectForId(id
): default
Parameters
Name | Type |
---|---|
|
|
Returns
getConstructionPlanObjectViewModels
▸ getConstructionPlanObjectViewModels(): default
[]
Returns
default
[]
getCorePlan
▸ getCorePlan(): Plan
Returns
getFloorGroup
▸ getFloorGroup(): Group
<Object3DEventMap
>
Returns
Group
<Object3DEventMap
>
getFloorPlanObjectViewModels
▸ getFloorPlanObjectViewModels(): default
[]
Returns
default
[]
getMeasurementLineGroup
▸ getMeasurementLineGroup(): Group
<Object3DEventMap
>
Returns
Group
<Object3DEventMap
>
getMeasurementLineObjectViewModels
▸ getMeasurementLineObjectViewModels(): default
[]
Returns
default
[]
getNodePlanObjectViewModels
▸ getNodePlanObjectViewModels(): default
[]
Returns
default
[]
getNumberOfPossibleChildrenForComponent
▸ getNumberOfPossibleChildrenForComponent(componentId
): number
Parameters
Name | Type |
---|---|
|
|
Returns
number
Inherited from
default.getNumberOfPossibleChildrenForComponent
getPlanObjectCount
▸ getPlanObjectCount(): number
Returns
number
getPlanObjectForId
▸ getPlanObjectForId(id
): default
Parameters
Name | Type |
---|---|
|
|
Returns
getPlanObjectViewModelsFromRapiId
▸ getPlanObjectViewModelsFromRapiId(): (default
| default
)[]
Returns
getPreviews
▸ getPreviews(): PreviewComponent
[]
Returns
Inherited from
getStaticPlanObjectForId
▸ getStaticPlanObjectForId(id
): default
Parameters
Name | Type |
---|---|
|
|
Returns
getStaticPlanObjectViewModelForId
▸ getStaticPlanObjectViewModelForId(id
): default
Parameters
Name | Type |
---|---|
|
|
Returns
getStaticPlanObjectViewModels
▸ getStaticPlanObjectViewModels(): default
[]
Returns
default
[]
getWallPlanObjectViewModels
▸ getWallPlanObjectViewModels(): default
[]
Returns
default
[]
handlerSwitchedPlans
▸ handlerSwitchedPlans(_fromPlan
, _toPlan
): void
Parameters
Returns
void
Implementation of
PlannerKernelCallbackI.handlerSwitchedPlans
hasPreviewLines
▸ hasPreviewLines(): boolean
Returns
boolean
Inherited from
hasPreviews
▸ hasPreviews(): boolean
Returns
boolean
Inherited from
hideAllExcept
▸ hideAllExcept(planObjectId
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
isPreview
▸ isPreview(obj
): boolean
Parameters
Name | Type |
---|---|
|
Returns
boolean
Inherited from
isPreviewLine
▸ isPreviewLine(obj
): boolean
Parameters
Name | Type |
---|---|
|
Returns
boolean
Inherited from
planBoundsChanged
▸ planBoundsChanged(): void
Returns
void
Implementation of
PlannerKernelCallbackI.planBoundsChanged
planCleared
▸ planCleared(): void
Returns
void
Implementation of
PlannerKernelCallbackI.planCleared
planCompletelyLoaded
▸ planCompletelyLoaded(_plan
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Implementation of
PlannerKernelCallbackI.planCompletelyLoaded
planElementChanged
▸ planElementChanged(_plan
, _planObject
): void
Parameters
Returns
void
Implementation of
PlannerKernelCallbackI.planElementChanged
planElementRemoved
▸ planElementRemoved(element
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Implementation of
PlannerKernelCallbackI.planElementRemoved
planHistoryStateChanged
▸ planHistoryStateChanged(): void
Returns
void
Implementation of
PlannerKernelCallbackI.planHistoryStateChanged
planObjectConfigurationLoaded
▸ planObjectConfigurationLoaded(_plan
, planElement
, success
): void
Parameters
Name | Type |
---|---|
| |
| |
|
|
Returns
void
Implementation of
PlannerKernelCallbackI.planObjectConfigurationLoaded
planObjectConfigurationUpdated
▸ planObjectConfigurationUpdated(planObjectId
, _configuration
, _hash
, pendingDocking
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
|
Returns
void
Inherited from
default.planObjectConfigurationUpdated
planObjectCreated
▸ planObjectCreated(conversationId
, planObjectId
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
Inherited from
planObjectUpdated
▸ planObjectUpdated(planObject
, pendingDocking
): void
Parameters
Name | Type |
---|---|
| |
|
|
Returns
void
Inherited from
removeDockingComponent
▸ removeDockingComponent(): void
Returns
void
Inherited from
default.removeDockingComponent
removeGeometriesMergedListener
▸ removeGeometriesMergedListener(): void
Returns
void
Inherited from
default.removeGeometriesMergedListener
removePlanObjectFromScene
▸ removePlanObjectFromScene(planElementViewModel
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Implementation of
PlannerKernelCallbackI.removePlanObjectFromScene
removePreviews
▸ removePreviews(): void
Returns
void
Inherited from
requestSubPartConstruction
▸ requestSubPartConstruction(partId
): Promise
<Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>>
Parameters
Name | Type |
---|---|
|
|
Returns
Promise
<Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>>
Inherited from
default.requestSubPartConstruction
sceneCleared
▸ sceneCleared(): void
Returns
void
Inherited from
setCameraType
▸ setCameraType(cameraType
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
setGeometriesMergedListener
▸ setGeometriesMergedListener(fun
): void
Parameters
Name | Type |
---|---|
| () => |
Returns
void
Inherited from
default.setGeometriesMergedListener
setInvalidateRenderCallback
▸ setInvalidateRenderCallback(invalidateRenderCallback
): void
Parameters
Name | Type |
---|---|
| () => |
Returns
void
Inherited from
default.setInvalidateRenderCallback
setListener
▸ setListener(listener
): void
Parameters
Name | Type |
---|---|
|
Returns
void
Inherited from
setMergeThreshold
▸ setMergeThreshold(threshold
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
setNodeZoom
▸ setNodeZoom(zoom
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
setReference
▸ setReference(plan
): void
Parameters
Name | Type |
---|---|
|
Returns
void
setRequestRenderCallback
▸ setRequestRenderCallback(requestRenderCallback
): void
Parameters
Name | Type |
---|---|
| () => |
Returns
void
Inherited from
default.setRequestRenderCallback
setRequestRenderSceneUpdateCallback
▸ setRequestRenderSceneUpdateCallback(requestRenderSceneUpdateCallback
): void
Parameters
Name | Type |
---|---|
| () => |
Returns
void
Inherited from
default.setRequestRenderSceneUpdateCallback
showAll
▸ showAll(): void
Returns
void
startedDrawing
▸ startedDrawing(): void
Returns
void
Implementation of
PlannerKernelCallbackI.startedDrawing
stoppedDrawing
▸ stoppedDrawing(): void
Returns
void
Implementation of
PlannerKernelCallbackI.stoppedDrawing
tryToMergeComponents
▸ tryToMergeComponents(): void
Returns
void
Inherited from
updateAnimationParameters
▸ updateAnimationParameters(elementId
, parameters
): void
Parameters
Name | Type |
---|---|
|
|
|
Returns
void
Inherited from
Last updated