Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SizeVisualisation

Class that creates a bridge between the web viewer and the compute server to perform size recommendation related requests as well as displaying the result.

Hierarchy

  • SizeVisualisation

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

requestInfo

requestInfo: SizeRecommendationRequestInfo = undefined

Object to hold information for the compute server request.

Methods

compute

  • compute(meshName: string): Promise<object>
  • Make the request to the compute server with the previously set request infos. This will cascade the result to the web viewer.

    Parameters

    • meshName: string

      Set the name of the underlying babylon mesh.

    Returns Promise<object>

createScene

  • createScene(modelBlob: Blob, meshName: string): Promise<void>
  • Add a new cascade layer to the current web viewer scene.

    Parameters

    • modelBlob: Blob

      The 3d model as a blob.

    • meshName: string

      The name that should be used fpr the underlying babylon 3d mesh.

    Returns Promise<void>

Generated using TypeDoc