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
creator
string
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
Returns
void
Inherited from
Editor3dAddDockPreview
▸ Editor3dAddDockPreview(componentId
, previewId
): void
Parameters
componentId
number
previewId
number
Returns
void
Inherited from
default.Editor3dAddDockPreview
Editor3dAddMesh
▸ Editor3dAddMesh(runtimeComponentId
, meshId
, geometryName
, environmentGeometry
, meshAttributes
, meshBuffer
): void
Parameters
runtimeComponentId
number
meshId
number
geometryName
string
environmentGeometry
boolean
meshAttributes
meshBuffer
Returns
void
Inherited from
Editor3dBeginConstruction
▸ Editor3dBeginConstruction(componentId
, isDeltaUpdate
): void
Parameters
componentId
number
isDeltaUpdate
boolean
Returns
void
Inherited from
default.Editor3dBeginConstruction
Editor3dComponentCreated
▸ Editor3dComponentCreated(id
, position
, eulerAngles
, isRootComponent
, parentObjectRuntimeId
): void
Parameters
id
number
position
eulerAngles
isRootComponent
boolean
parentObjectRuntimeId
number
Returns
void
Overrides
default.Editor3dComponentCreated
Editor3dComponentDocked
▸ Editor3dComponentDocked(componentId
, isRootComponent
, parentId
, componentPosition
, componentRotation
): void
Parameters
componentId
number
isRootComponent
boolean
parentId
number
componentPosition
componentRotation
Returns
void
Inherited from
default.Editor3dComponentDocked
Editor3dEndConstruction
▸ Editor3dEndConstruction(id
): void
Parameters
id
number
Returns
void
Inherited from
default.Editor3dEndConstruction
Editor3dGeometryNotReady
▸ Editor3dGeometryNotReady(id
): void
Parameters
id
number
Returns
void
Inherited from
default.Editor3dGeometryNotReady
Editor3dGeometryReady
▸ Editor3dGeometryReady(id
): void
Parameters
id
number
Returns
void
Inherited from
Editor3dPlanObjectConstructionDone
▸ Editor3dPlanObjectConstructionDone(planObjectId
): void
Parameters
planObjectId
number
Returns
void
Inherited from
default.Editor3dPlanObjectConstructionDone
Editor3dPreviewConstructionDone
▸ Editor3dPreviewConstructionDone(componentId
, _objectId
): void
Parameters
componentId
number
_objectId
number
Returns
void
Inherited from
default.Editor3dPreviewConstructionDone
Editor3dRemoveMesh
▸ Editor3dRemoveMesh(runtimeComponentId
, meshId
): void
Parameters
runtimeComponentId
number
meshId
number
Returns
void
Inherited from
Editor3dSetPreviewLineAssociations
▸ Editor3dSetPreviewLineAssociations(dockLines
, previewId
): void
Parameters
dockLines
any
previewId
number
Returns
void
Inherited from
default.Editor3dSetPreviewLineAssociations
Editor3dSetPreviewPointAssociations
▸ Editor3dSetPreviewPointAssociations(dockPairs
, previewId
): void
Parameters
dockPairs
any
previewId
number
Returns
void
Inherited from
default.Editor3dSetPreviewPointAssociations
_changeAnimationValue
▸ _changeAnimationValue(component
, parameterKey
, value
, animate
): void
Parameters
Returns
void
Inherited from
addMesh
▸ addMesh(planElement
, material
, vertices
, indices
, uvCoords
, normals
): void
Parameters
planElement
material
any
vertices
Float32Array
indices
Int32Array
uvCoords
Float32Array
normals
Float32Array
Returns
void
Implementation of
PlannerKernelCallbackI.addMesh
addPlanElementViewModel
▸ addPlanElementViewModel(planElementViewModel
): void
Parameters
planElementViewModel
Returns
void
addPlanMesh
▸ addPlanMesh(_plan
, _material
, _vertices
, _indices
, _uvCoords
, _normals
, _type
): void
Parameters
_plan
_material
any
_vertices
Float32Array
_indices
Int32Array
_uvCoords
Float32Array
_normals
Float32Array
_type
Returns
void
Implementation of
PlannerKernelCallbackI.addPlanMesh
addPlanObjectToScene
▸ addPlanObjectToScene(_planViewModel
): void
Parameters
_planViewModel
Returns
void
Implementation of
PlannerKernelCallbackI.addPlanObjectToScene
beginPlanConstruction
▸ beginPlanConstruction(_plan
): void
Parameters
_plan
Returns
void
Implementation of
PlannerKernelCallbackI.beginPlanConstruction
changeAnimationValue
▸ changeAnimationValue(elementId
, parameterKey
, value
, applyToChildren
, animate
): void
Parameters
elementId
number
parameterKey
string
value
string
applyToChildren
boolean
animate
boolean
Returns
void
Inherited from
clearReference
▸ clearReference(): void
Returns
void
clearRootComponent
▸ clearRootComponent(): void
Returns
void
Inherited from
componentConfigurationUpdated
▸ componentConfigurationUpdated(runtimeComponentId
, geometryChanged
): void
Parameters
runtimeComponentId
number
geometryChanged
boolean
Returns
void
Overrides
default.componentConfigurationUpdated
componentDeleted
▸ componentDeleted(componentId
): void
Parameters
componentId
number
Returns
void
Inherited from
componentMetaUpdated
▸ componentMetaUpdated(kernelComponent
): void
Parameters
kernelComponent
Returns
void
Inherited from
configurationLoaded
▸ configurationLoaded(conversationId
, objectId
, componentId
, _hash
, _errors
): void
Parameters
conversationId
number
objectId
number
componentId
number
_hash
string
_errors
any
Returns
void
Inherited from
constructComponents
▸ constructComponents(planObjectId
): void
Parameters
planObjectId
number
Returns
void
Inherited from
debugSceneGraph
▸ debugSceneGraph(id?
): void
Parameters
id?
number
Returns
void
Inherited from
dockComponentWithPosition
▸ dockComponentWithPosition(previewComponent
, component?
): void
Parameters
previewComponent
component?
Returns
void
Inherited from
default.dockComponentWithPosition
endPlanConstruction
▸ endPlanConstruction(_plan
): void
Parameters
_plan
Returns
void
Implementation of
PlannerKernelCallbackI.endPlanConstruction
finishParameterChange
▸ finishParameterChange(resolve
, _reject
): void
Parameters
resolve
() => void
_reject
() => void
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
componentId
number
Returns
Inherited from
getComponents
▸ getComponents(): RoomleComponent
[]
Returns
Inherited from
getComponentsForIds
▸ getComponentsForIds(ids
): RoomleComponent
[]
Parameters
ids
number
[]
Returns
Inherited from
getConfigurableConstructionPlanObjectViewModels
▸ getConfigurableConstructionPlanObjectViewModels(): default
[]
Returns
default
[]
getConfigurablePlanObjectForId
▸ getConfigurablePlanObjectForId(id
): default
Parameters
id
number
Returns
getConfigurablePlanObjectViewModels
▸ getConfigurablePlanObjectViewModels(): default
[]
Returns
default
[]
getConstructionGroup
▸ getConstructionGroup(): Group
<Object3DEventMap
>
Returns
Group
<Object3DEventMap
>
getConstructionObjectForId
▸ getConstructionObjectForId(id
): default
Parameters
id
number
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
componentId
number
Returns
number
Inherited from
default.getNumberOfPossibleChildrenForComponent
getPlanObjectCount
▸ getPlanObjectCount(): number
Returns
number
getPlanObjectForId
▸ getPlanObjectForId(id
): default
Parameters
id
number
Returns
getPlanObjectViewModelsFromRapiId
▸ getPlanObjectViewModelsFromRapiId(): (default
| default
)[]
Returns
getPreviews
▸ getPreviews(): PreviewComponent
[]
Returns
Inherited from
getStaticPlanObjectForId
▸ getStaticPlanObjectForId(id
): default
Parameters
id
number
Returns
getStaticPlanObjectViewModelForId
▸ getStaticPlanObjectViewModelForId(id
): default
Parameters
id
number
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
planObjectId
number
Returns
void
isPreview
▸ isPreview(obj
): boolean
Parameters
Returns
boolean
Inherited from
isPreviewLine
▸ isPreviewLine(obj
): boolean
Parameters
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
_plan
Returns
void
Implementation of
PlannerKernelCallbackI.planCompletelyLoaded
planElementChanged
▸ planElementChanged(_plan
, _planObject
): void
Parameters
Returns
void
Implementation of
PlannerKernelCallbackI.planElementChanged
planElementRemoved
▸ planElementRemoved(element
): void
Parameters
element
Returns
void
Implementation of
PlannerKernelCallbackI.planElementRemoved
planHistoryStateChanged
▸ planHistoryStateChanged(): void
Returns
void
Implementation of
PlannerKernelCallbackI.planHistoryStateChanged
planObjectConfigurationLoaded
▸ planObjectConfigurationLoaded(_plan
, planElement
, success
): void
Parameters
Returns
void
Implementation of
PlannerKernelCallbackI.planObjectConfigurationLoaded
planObjectConfigurationUpdated
▸ planObjectConfigurationUpdated(planObjectId
, _configuration
, _hash
, pendingDocking
): void
Parameters
planObjectId
number
_configuration
string
_hash
string
pendingDocking
boolean
Returns
void
Inherited from
default.planObjectConfigurationUpdated
planObjectCreated
▸ planObjectCreated(conversationId
, planObjectId
): void
Parameters
conversationId
number
planObjectId
number
Returns
void
Inherited from
planObjectUpdated
▸ planObjectUpdated(planObject
, pendingDocking
): void
Parameters
planObject
pendingDocking
boolean
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
planElementViewModel
Returns
void
Implementation of
PlannerKernelCallbackI.removePlanObjectFromScene
removePreviews
▸ removePreviews(): void
Returns
void
Inherited from
requestCatalogItem
▸ requestCatalogItem(_catalogItemId
): void
Parameters
_catalogItemId
string
Returns
void
Implementation of
PlannerKernelCallbackI.requestCatalogItem
requestSubPartConstruction
▸ requestSubPartConstruction(partId
): Promise
<Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>>
Parameters
partId
number
Returns
Promise
<Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>>
Inherited from
default.requestSubPartConstruction
sceneCleared
▸ sceneCleared(): void
Returns
void
Inherited from
setCameraType
▸ setCameraType(cameraType
): void
Parameters
cameraType
Enumify
<{ CAMERA_2D
: "2D"
= '2D'; CAMERA_3D
: "3D"
= '3D'; CAMERA_FP
: "FP"
= 'FP' }>
Returns
void
setGeometriesMergedListener
▸ setGeometriesMergedListener(fun
): void
Parameters
fun
() => void
Returns
void
Inherited from
default.setGeometriesMergedListener
setInvalidateRenderCallback
▸ setInvalidateRenderCallback(invalidateRenderCallback
): void
Parameters
invalidateRenderCallback
() => void
Returns
void
Inherited from
default.setInvalidateRenderCallback
setListener
▸ setListener(listener
): void
Parameters
listener
Returns
void
Inherited from
setMergeThreshold
▸ setMergeThreshold(threshold
): void
Parameters
threshold
number
Returns
void
Inherited from
setNodeZoom
▸ setNodeZoom(zoom
): void
Parameters
zoom
number
Returns
void
setReference
▸ setReference(plan
): void
Parameters
plan
Returns
void
setRequestRenderCallback
▸ setRequestRenderCallback(requestRenderCallback
): void
Parameters
requestRenderCallback
() => void
Returns
void
Inherited from
default.setRequestRenderCallback
setRequestRenderSceneUpdateCallback
▸ setRequestRenderSceneUpdateCallback(requestRenderSceneUpdateCallback
): void
Parameters
requestRenderSceneUpdateCallback
() => void
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
elementId
number
| number
[]
parameters
Returns
void
Inherited from
Last updated