Represents a transformation gismo for manipulating elements.

Hierarchy

  • TransformationGizmo

Constructors

Accessors

  • get boundingBoxVisible(): boolean
  • Returns boolean

  • set boundingBoxVisible(bBoxVisible: boolean): void
  • Parameters

    • bBoxVisible: boolean

    Returns void

  • get gismoHiddenEvent(): IEvent<BaseRenderer, GismoEvent>
  • Returns IEvent<BaseRenderer, GismoEvent>

  • get gismoShownEvent(): IEvent<BaseRenderer, GismoEvent>
  • Returns IEvent<BaseRenderer, GismoEvent>

  • get showing(): boolean
  • Returns boolean

  • get transformationMadeEvent(): IEvent<BaseRenderer, TransformationMadeEvent>
  • Returns IEvent<BaseRenderer, TransformationMadeEvent>

  • get transforming(): boolean
  • Returns boolean

Methods

  • Cancels the current transformation.

    Returns

    A promise that resolves to a boolean indicating success or failure.

    Returns Promise<boolean>

  • Hides the gismo.

    Returns Promise<void>

  • Checks if the gismo is currently rotating.

    Returns

    Whether the gismo is rotating.

    Returns boolean

  • Checks if the gismo is currently scaling.

    Returns

    Whether the gismo is scaling.

    Returns boolean

  • Checks if the gismo is currently transforming.

    Returns

    Whether the gismo is transforming.

    Returns boolean

  • Checks if the gismo is currently translating.

    Returns

    Whether the gismo is translating.

    Returns boolean

  • Resets the transformation.

    Returns

    A promise that resolves to a boolean indicating success or failure.

    Returns Promise<boolean>

  • Sets a fixed transformation value.

    Returns

    A promise that resolves to a boolean indicating success or failure.

    Parameters

    • value: number

      The transformation value.

    Returns Promise<boolean>

  • Parameters

    • value: string

    Returns Promise<boolean>

  • Sets the pivot point for the gismo.

    Returns

    A promise that resolves to a boolean indicating success or failure.

    Parameters

    Returns Promise<boolean>

  • Shows the gismo for the specified internal IDs.

    Parameters

    • internalIds: Int64[]

      The internal IDs of the elements.

    Returns Promise<void>

  • Shows the gismo for a cutting plane.

    Parameters

    • planeIndex: number

      The index of the cutting plane.

    • reverted: boolean

      Whether the gismo is reverted.

    Returns Promise<void>

  • Starts the transformation process.

    Parameters

    Returns Promise<void>

  • Stops the transformation process.

    Returns

    A promise that resolves to a boolean indicating success or failure.

    Parameters

    Returns Promise<boolean>

  • Returns Int64[]