PageSourceSearch

https://www.cornerstonejs.org/assets/js/e4e2d62c.6f053ad5.js

js cornerstonejs.org collected 2026-10-01 11:29:56 UTC 3,664 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["10855"],{78959:function(e,n,t){t.r(n),t.d(n,{metadata:()=>s,default:()=>g,frontMatter:()=>i,contentTitle:()=>a,toc:()=>r,assets:()=>d});var s=JSON.parse('{"id":"api/tools/namespaces/segmentation/namespaces/segmentLocking/functions/getLockedSegmentIndices","title":"Function: getLockedSegmentIndices()","description":"getLockedSegmentIndices(segmentationId): number[] \\\\| []","source":"@site/docs/api/tools/namespaces/segmentation/namespaces/segmentLocking/functions/getLockedSegmentIndices.md","sourceDirName":"api/tools/namespaces/segmentation/namespaces/segmentLocking/functions","slug":"/api/tools/namespaces/segmentation/namespaces/segmentLocking/functions/getLockedSegmentIndices","permalink":"/docs/api/tools/namespaces/segmentation/namespaces/segmentLocking/functions/getLockedSegmentIndices","draft":false,"unlisted":false,"editUrl":"https://github.com/cornerstonejs/cornerstone3D/edit/main/packages/docs/docs/api/tools/namespaces/segmentation/namespaces/segmentLocking/functions/getLockedSegmentIndices.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar22","previous":{"title":"segmentLocking","permalink":"/docs/api/tools/namespaces/segmentation/namespaces/segmentLocking/"},"next":{"title":"Function: isSegmentIndexLocked()","permalink":"/docs/api/tools/namespaces/segmentation/namespaces/segmentLocking/functions/isSegmentIndexLocked"}}'),o=t(31085),c=t(92600);let i={},a="Function: getLockedSegmentIndices()",d={},r=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function m(e){let n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"function-getlockedsegmentindices",children:"Function: getLockedSegmentIndices()"})}),"\n",(0,o.jsxs)(n.blockquote,{children:["\n",(0,o.jsxs)(n.p,{children:[(0,o.jsx)(n.strong,{children:"getLockedSegmentIndices"}),"(",(0,o.jsx)(n.code,{children:"segmentationId"}),"): ",(0,o.jsx)(n.code,{children:"number"}),"[] | []"]}),"\n"]}),"\n",(0,o.jsx)(n.p,{children:"Get the locked segments for a segmentation"}),"\n",(0,o.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsxs)(n.p,{children:["\u2022 ",(0,o.jsx)(n.strong,{children:"segmentationId"}),": ",(0,o.jsx)(n.code,{children:"string"})]}),"\n",(0,o.jsx)(n.p,{children:"The id of the segmentation to get locked\nsegments for."}),"\n",(0,o.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsxs)(n.p,{children:[(0,o.jsx)(n.code,{children:"number"}),"[] | []"]}),"\n",(0,o.jsx)(n.p,{children:"An array of locked segment indices."}),"\n",(0,o.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.a,{href:"https://github.com/cornerstonejs/cornerstone3D/blob/4d2556f1c5ddd965b164966b70c9292531653c90/packages/tools/src/stateManagement/segmentation/segmentLocking.ts#L96",children:"tools/src/stateManagement/segmentation/segmentLocking.ts:96"})})]})}function g(e={}){let{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(m,{...e})}):m(e)}},92600:function(e,n,t){t.d(n,{R:()=>i,x:()=>a});var s=t(14041);let o={},c=s.createContext(o);function i(e){let n=s.useContext(c);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),s.createElement(c.Provider,{value:n},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.