API ReferenceGlobalsWallPlanElementViewModel

# Class: WallPlanElementViewModel

# Hierarchy

PlanElementViewModel

WallPlanElementViewModel

# Index

# Constructors

# Methods

# Constructors

# constructor

+ new WallPlanElementViewModel(planObject: PlanObject): WallPlanElementViewModel

Overrides PlanElementViewModel.constructor

Defined in packages/planner-core/src/view-model/wall-plan-element-view-model.ts:43

Parameters:

Name Type
planObject PlanObject

Returns: WallPlanElementViewModel

# Methods

# addMesh

addMesh(mesh: Mesh): void

Overrides PlanElementViewModel.addMesh

Defined in packages/planner-core/src/view-model/wall-plan-element-view-model.ts:104

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:130

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

Overrides PlanElementViewModel.deselect

Defined in packages/planner-core/src/view-model/wall-plan-element-view-model.ts:177

Returns: void


# getBoundingBox

getBoundingBox(): Mesh

Inherited from PlanElementViewModel.getBoundingBox

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

Returns: Mesh


# getBounds

getBounds(): Box3

Inherited from PlanElementViewModel.getBounds

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

Returns: Box3


# getContainer

getContainer(): Object3D

Inherited from PlanElementViewModel.getContainer

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

Returns: Object3D


# getId

getId(): number

Inherited from PlanElementViewModel.getId

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

Returns: number


# getKernelObject

getKernelObject(): KernelWall

Overrides KernelViewModel.getKernelObject

Defined in packages/planner-core/src/view-model/wall-plan-element-view-model.ts:150

Returns: KernelWall


# getMesh

getMesh(material: any): Mesh

Inherited from PlanElementViewModel.getMesh

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

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:98

Returns: Object3D‹›


# getObjectAsync

getObjectAsync(): Promise‹Object3D‹››

Inherited from PlanElementViewModel.getObjectAsync

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

Returns: Promise‹Object3D‹››


# getPlanElement

getPlanElement(): PlanObject

Inherited from PlanElementViewModel.getPlanElement

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

Returns: PlanObject


# getPosition

getPosition(): Vector3

Inherited from PlanElementViewModel.getPosition

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

Returns: Vector3


# getRotation

getRotation(): number

Inherited from PlanElementViewModel.getRotation

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

Returns: number


# getSize

getSize(): Vector3

Inherited from PlanElementViewModel.getSize

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

Returns: Vector3


# getWallDimension

getWallDimension(padding: number): WallDimension

Defined in packages/planner-core/src/view-model/wall-plan-element-view-model.ts:50

Parameters:

Name Type Default
padding number 0.2

Returns: WallDimension


# hidePreviewBox

hidePreviewBox(): void

Inherited from PlanElementViewModel.hidePreviewBox

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

Returns: void


# hoverOff

hoverOff(): void

Inherited from PlanElementViewModel.hoverOff

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

Returns: void


# hoverOn

hoverOn(): void

Inherited from PlanElementViewModel.hoverOn

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

Returns: void


# remove

remove(): void

Inherited from PlanElementViewModel.remove

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

Returns: void


# select

select(): void

Overrides PlanElementViewModel.select

Defined in packages/planner-core/src/view-model/wall-plan-element-view-model.ts:170

Returns: void


# setObject

setObject(object: Object3D): void

Inherited from PlanElementViewModel.setObject

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

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:191

Parameters:

Name Type
color string

Returns: void


# setTopView

setTopView(enabled: boolean): void

Defined in packages/planner-core/src/view-model/wall-plan-element-view-model.ts:141

Parameters:

Name Type
enabled boolean

Returns: void


# update

update(): void

Inherited from PlanElementViewModel.update

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

Returns: void