API ReferenceGlobalsStaticPlanObjectViewModel

# Class: StaticPlanObjectViewModel

# Hierarchy

PlanObjectViewModel

StaticPlanObjectViewModel

# Index

# Constructors

# Methods

# Constructors

# constructor

+ new StaticPlanObjectViewModel(planObject: PlanObject): StaticPlanObjectViewModel

Overrides PlanObjectViewModel.constructor

Defined in packages/planner-core/src/view-model/static-plan-object-view-model.ts:16

Parameters:

Name Type
planObject PlanObject

Returns: StaticPlanObjectViewModel

# Methods

# addMesh

addMesh(mesh: Mesh): void

Inherited from PlanElementViewModel.addMesh

Defined in packages/common-core/src/view-model/plan-element-view-model.ts:92

Parameters:

Name Type
mesh Mesh

Returns: void


# clear

clear(): void

Inherited from PlanElementViewModel.clear

Defined in packages/common-core/src/view-model/plan-element-view-model.ts:113

Returns: void


# clearReference

clearReference(): void

Inherited from KernelViewModel.clearReference

Defined in packages/common-core/src/view-model/kernel-view-model.ts:10

Returns: void


# deselect

deselect(): void

Inherited from PlanElementViewModel.deselect

Defined in packages/common-core/src/view-model/plan-element-view-model.ts:163

Returns: void


# getBoundingBox

getBoundingBox(): Mesh

Inherited from PlanElementViewModel.getBoundingBox

Defined in packages/common-core/src/view-model/plan-element-view-model.ts:68

Returns: Mesh


# getBounds

getBounds(): Box3

Inherited from PlanElementViewModel.getBounds

Defined in packages/common-core/src/view-model/plan-element-view-model.ts:62

Returns: Box3


# getContainer

getContainer(): Object3D

Inherited from PlanElementViewModel.getContainer

Defined in packages/common-core/src/view-model/plan-element-view-model.ts:105

Returns: Object3D


# getGLBUrl

getGLBUrl(): string

Defined in packages/planner-core/src/view-model/static-plan-object-view-model.ts:61

Returns: string


# getId

getId(): number

Inherited from PlanElementViewModel.getId

Defined in packages/common-core/src/view-model/plan-element-view-model.ts:109

Returns: number


# getKernelObject

getKernelObject(): KernelObject

Inherited from KernelViewModel.getKernelObject

Defined in packages/common-core/src/view-model/kernel-view-model.ts:15

Returns: KernelObject


# getMesh

getMesh(material: any): Mesh

Inherited from PlanElementViewModel.getMesh

Defined in packages/common-core/src/view-model/plan-element-view-model.ts:97

Parameters:

Name Type
material any

Returns: Mesh


# getObject

getObject(): Object3D‹›

Inherited from PlanElementViewModel.getObject

Defined in packages/common-core/src/view-model/plan-element-view-model.ts:81

Returns: Object3D‹›


# getObjectAsync

getObjectAsync(): Promise‹Object3D‹››

Inherited from PlanElementViewModel.getObjectAsync

Defined in packages/common-core/src/view-model/plan-element-view-model.ts:85

Returns: Promise‹Object3D‹››


# getPlanElement

getPlanElement(): PlanElement

Inherited from PlanElementViewModel.getPlanElement

Defined in packages/common-core/src/view-model/plan-element-view-model.ts:72

Returns: PlanElement


# getPlanObject

getPlanObject(): PlanObject

Inherited from PlanObjectViewModel.getPlanObject

Defined in packages/common-core/src/view-model/plan-object-view-model.ts:12

Returns: PlanObject


# getPosition

getPosition(): Vector3

Inherited from PlanElementViewModel.getPosition

Defined in packages/common-core/src/view-model/plan-element-view-model.ts:54

Returns: Vector3


# getRapiItem

getRapiItem(): RapiItem

Defined in packages/planner-core/src/view-model/static-plan-object-view-model.ts:53

Returns: RapiItem


# getRotation

getRotation(): number

Inherited from PlanElementViewModel.getRotation

Defined in packages/common-core/src/view-model/plan-element-view-model.ts:58

Returns: number


# getSize

getSize(): Vector3

Inherited from PlanObjectViewModel.getSize

Overrides PlanElementViewModel.getSize

Defined in packages/common-core/src/view-model/plan-object-view-model.ts:16

Returns: Vector3


# hidePreviewBox

hidePreviewBox(): void

Inherited from PlanElementViewModel.hidePreviewBox

Defined in packages/common-core/src/view-model/plan-element-view-model.ts:120

Returns: void


# needsRapiItem

needsRapiItem(): boolean

Defined in packages/planner-core/src/view-model/static-plan-object-view-model.ts:57

Returns: boolean


# select

select(): void

Inherited from PlanElementViewModel.select

Defined in packages/common-core/src/view-model/plan-element-view-model.ts:148

Returns: void


# setObject

setObject(object: Object3D): void

Inherited from PlanElementViewModel.setObject

Defined in packages/common-core/src/view-model/plan-element-view-model.ts:76

Parameters:

Name Type
object Object3D

Returns: void


# setPrimaryColor

setPrimaryColor(color: string): void

Inherited from PlanElementViewModel.setPrimaryColor

Defined in packages/common-core/src/view-model/plan-element-view-model.ts:169

Parameters:

Name Type
color string

Returns: void


# setRapiItem

setRapiItem(rapiItem: RapiItem): Promise‹void›

Defined in packages/planner-core/src/view-model/static-plan-object-view-model.ts:23

Parameters:

Name Type
rapiItem RapiItem

Returns: Promise‹void›


# update

update(): void

Inherited from PlanObjectViewModel.update

Overrides PlanElementViewModel.update

Defined in packages/common-core/src/view-model/plan-object-view-model.ts:20

Returns: void