Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BasicMannequinRequestInfo

This class holds request information to perform a mannequin request.

Hierarchy

  • BasicMannequinRequestInfo

Index

Properties

factorThreshold

factorThreshold: number = undefined

Optional! The factorThreshold parameter of the applyMeasurements call. {@link applyMeasurementsParameters}

learningRate

learningRate: number = undefined

Optional! The learningRate parameter of the applyMeasurements call. {@link applyMeasurementsParameters}

maxIterations

maxIterations: number = undefined

Optional! The maxIterations parameter of the applyMeasurements call. {@link applyMeasurementsParameters}

measurementsConfigUrl

measurementsConfigUrl: String = undefined

Alternative link to a custom measurements config file.

pbmId

pbmId: string = undefined

Required! The id of the base bodymodel. All available bodymodel ids can be acquired by calling ComputeServer.requestBodyModelIds.

pose

pose: Blob = undefined

The pose file as a blob. Example:

requestInfo.pose = await fetch("<PATH>").then((r) => r.blob());

returnFiles

returnFiles: Array<MannequinRequestReturnFile> = []

At least one return file has to be set! Specify a set of files that should be returned by the request. Making a request through a CustomMannequin instance will always request the model file.

shapeType

shapeType: string = undefined

The desired default shape type of the mannequin. All available shape types can be acquired by calling ComputeServer.requestShapeTypes.

Accessors

measurements

  • Get the array of specified measurements.

    Returns Measurement[]

Methods

setMeasurement

  • Set a measurement target value for a specific measurement id / name. If a measurement is not set the default value will be assumed.

    Parameters

    Returns void

Generated using TypeDoc