1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["10124"],{77316:function(e,n,t){t.r(n),t.d(n,{metadata:()=>s,default:()=>l,frontMatter:()=>r,contentTitle:()=>a,toc:()=>d,assets:()=>c});var s=JSON.parse('{"id":"api/tools/namespaces/segmentation/functions/removeSegmentationListener","title":"Function: removeSegmentationListener()","description":"removeSegmentationListener(segmentationId, representationType): void","source":"@site/docs/api/tools/namespaces/segmentation/functions/removeSegmentationListener.md","sourceDirName":"api/tools/namespaces/segmentation/functions","slug":"/api/tools/namespaces/segmentation/functions/removeSegmentationListener","permalink":"/docs/api/tools/namespaces/segmentation/functions/removeSegmentationListener","draft":false,"unlisted":false,"editUrl":"https://github.com/cornerstonejs/cornerstone3D/edit/main/packages/docs/docs/api/tools/namespaces/segmentation/functions/removeSegmentationListener.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar22","previous":{"title":"Function: removeSegmentation()","permalink":"/docs/api/tools/namespaces/segmentation/functions/removeSegmentation"},"next":{"title":"Function: removeSegmentationRepresentation()","permalink":"/docs/api/tools/namespaces/segmentation/functions/removeSegmentationRepresentation"}}'),o=t(31085),i=t(92600);let r={},a="Function: removeSegmentationListener()",c={},d=[{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,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"function-removesegmentationlistener",children:"Function: removeSegmentationListener()"})}),"\n",(0,o.jsxs)(n.blockquote,{children:["\n",(0,o.jsxs)(n.p,{children:[(0,o.jsx)(n.strong,{children:"removeSegmentationListener"}),"(",(0,o.jsx)(n.code,{children:"segmentationId"}),", ",(0,o.jsx)(n.code,{children:"representationType"}),"): ",(0,o.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,o.jsx)(n.p,{children:"Unsubscribes from segmentation update events for a given segmentation and representation type."}),"\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:"ID of the segmentation."}),"\n",(0,o.jsxs)(n.p,{children:["\u2022 ",(0,o.jsx)(n.strong,{children:"representationType"}),": ",(0,o.jsx)(n.code,{children:"string"})]}),"\n",(0,o.jsx)(n.p,{children:"Representation type to unsubscribe from."}),"\n",(0,o.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.code,{children:"void"})}),"\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/a9a354c376f52ae44e08d37110f85ad29d2fead2/packages/tools/src/stateManagement/segmentation/segmentationEventManager.ts#L78",children:"tools/src/stateManagement/segmentation/segmentationEventManager.ts:78"})})]})}function l(e={}){let{wrapper:n}={...(0,i.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:()=>r,x:()=>a});var s=t(14041);let o={},i=s.createContext(o);function r(e){let n=s.useContext(i);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:r(e.components),s.createElement(i.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.