Class: CSGPluginBVH
Plugins.CSGPluginBVH
Hierarchy
↳
CSGPluginBVH
Properties
PluginType
▪ Static Readonly PluginType: "CSGPluginBVH"
enabled
• enabled: boolean = true
Inherited from
uiConfig
• Optional uiConfig: UiObjectConfig<any, string>
Inherited from
toJSON
• toJSON: any = undefined
Inherited from
dependencies
• dependencies: typeof PickingPlugin[]
Inherited from
rootObject
• Optional rootObject: Object3DModel
Inherited from
rootMesh
• rootMesh: Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material<MaterialEventMap> | Material<MaterialEventMap>[], Object3DEventMap>
Inherited from
showResult
• showResult: boolean = false
Inherited from
csgSelectedEnabled
• csgSelectedEnabled: boolean = false
Inherited from
CSGPluginBase.csgSelectedEnabled
csgSelectedOperation
• csgSelectedOperation: string = 'union'
Inherited from
CSGPluginBase.csgSelectedOperation
_dirty
• Protected _dirty: boolean = false
Inherited from
_viewer
• Protected Optional _viewer: ViewerApp
Inherited from
Accessors
dirty
• get dirty(): boolean
Returns
boolean
Inherited from
CSGPluginBase.dirty
• set dirty(value): void
Parameters
| Name | Type |
|---|---|
value | boolean |
Returns
void
Inherited from
CSGPluginBase.dirty
viewer
• get viewer(): undefined | ViewerApp
Returns
undefined | ViewerApp
Inherited from
CSGPluginBase.viewer
Methods
onDispose
▸ onDispose(viewer): Promise<void>
Parameters
| Name | Type |
|---|---|
viewer | ViewerApp |
Returns
Promise<void>
Inherited from
onRemove
▸ onRemove(viewer): Promise<void>
Parameters
| Name | Type |
|---|---|
viewer | ViewerApp |
Returns
Promise<void>
Inherited from
fromJSON
▸ fromJSON(data, meta?): null | CSGPluginBVH | Promise<null | CSGPluginBVH>
Parameters
| Name | Type |
|---|---|
data | any |
meta? | any |
Returns
null | CSGPluginBVH | Promise<null | CSGPluginBVH>
Inherited from
exportState
▸ exportState(): any
Returns
any
Inherited from
importState
▸ importState(state): Promise<void>
Parameters
| Name | Type |
|---|---|
state | any |
Returns
Promise<void>
Inherited from
storeState
▸ storeState(prefix?, storage?, data?): void
Parameters
| Name | Type |
|---|---|
prefix? | string |
storage? | Storage |
data? | any |
Returns
void
Inherited from
loadState
▸ loadState(prefix?, storage?): Promise<void>
Parameters
| Name | Type |
|---|---|
prefix? | string |
storage? | Storage |
Returns
Promise<void>
Inherited from
onAdded
▸ onAdded(viewer): Promise<void>
Parameters
| Name | Type |
|---|---|
viewer | ViewerApp |
Returns
Promise<void>
Inherited from
makeSelectedCSGBrush
▸ makeSelectedCSGBrush(): Promise<void>
Returns
Promise<void>
Inherited from
CSGPluginBase.makeSelectedCSGBrush
refreshCSG
▸ refreshCSG(): void
Returns
void
Inherited from
downloadObject
▸ downloadObject(): Promise<void>
Returns
Promise<void>
Inherited from
exportObject
▸ exportObject(): Promise<undefined | BlobExt>
Returns
Promise<undefined | BlobExt>
Inherited from
_storeKey
▸ Protected _storeKey(prefix?): string
Parameters
| Name | Type |
|---|---|
prefix? | string |
Returns
string
Inherited from
_buildCSGMesh
▸ Protected _buildCSGMesh(meshes): Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material<MaterialEventMap> | Material<MaterialEventMap>[], Object3DEventMap>
Parameters
| Name | Type |
|---|---|
meshes | [Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material<MaterialEventMap> | Material<MaterialEventMap>[], Object3DEventMap>, TCSGOperation][] |
Returns
Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material<MaterialEventMap> | Material<MaterialEventMap>[], Object3DEventMap>
Overrides
Constructors
constructor
• new CSGPluginBVH()