Documentation
    Preparing search index...

    Slice managing the state related to the creation flow of measurements.

    interface CreationSlice {
        _setCreationType: (type: AnnotationMeasurementType) => void;
        _setCreationTypePlanar: (type: CreationTypePlanar) => void;
        _setDraftMeasurement: (draft: AnnotationMeasurementPending) => void;
        _setEnoughDepthDataLoaded: (enough: boolean) => void;
        _startMeasurementCreation: () => void;
        creationType: AnnotationMeasurementType;
        creationTypePlanar: CreationTypePlanar;
        enoughDepthDataLoaded: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    _setCreationType: (type: AnnotationMeasurementType) => void
    _setCreationTypePlanar: (type: CreationTypePlanar) => void
    _setDraftMeasurement: (draft: AnnotationMeasurementPending) => void
    _setEnoughDepthDataLoaded: (enough: boolean) => void
    _startMeasurementCreation: () => void

    The type of measurement being created (orthogonal, planar, etc.).

    creationTypePlanar: CreationTypePlanar

    The planar creation type for when creationType is planar (projection or raycast).

    enoughDepthDataLoaded: boolean

    Whether enough depth data has been loaded to facilitate accurate measurement creation.