BimCT SDK / WebGL2 Viewer
    Preparing search index...

    Class TransformationGizmo

    Represents a transformation gismo for manipulating elements.

    Index

    Constructors

    Accessors

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

      Returns IEvent<BaseRenderer, TransformationMadeEvent>

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

      Returns IEvent<BaseRenderer, GismoEvent>

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

      Returns IEvent<BaseRenderer, GismoEvent>

    • get boundingBoxVisible(): boolean

      Returns boolean

    • set boundingBoxVisible(bBoxVisible: boolean): void

      Parameters

      • bBoxVisible: boolean

      Returns void

    • get showing(): boolean

      Returns boolean

    • get transforming(): boolean

      Returns boolean

    Methods

    • Returns Int64[]

    • Checks if the gismo is currently transforming.

      Returns boolean

      Whether the gismo is transforming.

    • Checks if the gismo is currently translating.

      Returns boolean

      Whether the gismo is translating.

    • Checks if the gismo is currently rotating.

      Returns boolean

      Whether the gismo is rotating.

    • Checks if the gismo is currently scaling.

      Returns boolean

      Whether the gismo is scaling.

    • Parameters

      • value: string

      Returns Promise<boolean>

    • Sets a fixed transformation value.

      Parameters

      • value: number

        The transformation value.

      Returns Promise<boolean>

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

    • Starts the transformation process.

      Parameters

      Returns Promise<void>

    • Cancels the current transformation.

      Returns Promise<boolean>

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

    • Stops the transformation process.

      Parameters

      Returns Promise<boolean>

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

    • Resets the transformation.

      Returns Promise<boolean>

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

    • 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>

    • Shows the gismo for the specified internal IDs.

      Parameters

      • internalIds: Int64[]

        The internal IDs of the elements.

      Returns Promise<void>

    • Sets the pivot point for the gismo.

      Parameters

      Returns Promise<boolean>

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

    • Hides the gismo.

      Returns Promise<void>