1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["11639"],{78299:function(e,n,i){i.r(n),i.d(n,{metadata:()=>t,default:()=>p,frontMatter:()=>a,contentTitle:()=>c,toc:()=>l,assets:()=>r});var t=JSON.parse('{"id":"api/tools/namespaces/segmentation/namespaces/config/namespaces/visibility/functions/getSegmentationRepresentationVisibility","title":"Function: getSegmentationRepresentationVisibility()","description":"getSegmentationRepresentationVisibility(viewportId, specifier): boolean \\\\| undefined","source":"@site/docs/api/tools/namespaces/segmentation/namespaces/config/namespaces/visibility/functions/getSegmentationRepresentationVisibility.md","sourceDirName":"api/tools/namespaces/segmentation/namespaces/config/namespaces/visibility/functions","slug":"/api/tools/namespaces/segmentation/namespaces/config/namespaces/visibility/functions/getSegmentationRepresentationVisibility","permalink":"/docs/api/tools/namespaces/segmentation/namespaces/config/namespaces/visibility/functions/getSegmentationRepresentationVisibility","draft":false,"unlisted":false,"editUrl":"https://github.com/cornerstonejs/cornerstone3D/edit/main/packages/docs/docs/api/tools/namespaces/segmentation/namespaces/config/namespaces/visibility/functions/getSegmentationRepresentationVisibility.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar22","previous":{"title":"Function: getSegmentIndexVisibility()","permalink":"/docs/api/tools/namespaces/segmentation/namespaces/config/namespaces/visibility/functions/getSegmentIndexVisibility"},"next":{"title":"Function: setSegmentIndexVisibility()","permalink":"/docs/api/tools/namespaces/segmentation/namespaces/config/namespaces/visibility/functions/setSegmentIndexVisibility"}}'),s=i(31085),o=i(92600);let a={},c="Function: getSegmentationRepresentationVisibility()",r={},l=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function d(e){let n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"function-getsegmentationrepresentationvisibility",children:"Function: getSegmentationRepresentationVisibility()"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"getSegmentationRepresentationVisibility"}),"(",(0,s.jsx)(n.code,{children:"viewportId"}),", ",(0,s.jsx)(n.code,{children:"specifier"}),"): ",(0,s.jsx)(n.code,{children:"boolean"})," | ",(0,s.jsx)(n.code,{children:"undefined"})]}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:"Gets the visibility of a segmentation representation for a given viewport."}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"viewportId"}),": ",(0,s.jsx)(n.code,{children:"string"})]}),"\n",(0,s.jsx)(n.p,{children:"The ID of the viewport that the segmentation representation belongs to."}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"specifier"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"specifier.segmentationId"}),": ",(0,s.jsx)(n.code,{children:"string"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"specifier.type"}),": ",(0,s.jsx)(n.a,{href:"/docs/api/tools/namespaces/Enums/enumerations/SegmentationRepresentations",children:(0,s.jsx)(n.code,{children:"SegmentationRepresentations"})})]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"boolean"})," | ",(0,s.jsx)(n.code,{children:"undefined"})]}),"\n",(0,s.jsx)(n.p,{children:"The visibility state of the segmentation representation, or undefined if not found."}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/cornerstonejs/cornerstone3D/blob/38fdfaa1d44940275c40f14c989044e306cc21f6/packages/tools/src/stateManagement/segmentation/config/segmentationVisibility.ts#L60",children:"tools/src/stateManagement/segmentation/config/segmentationVisibility.ts:60"})})]})}function p(e={}){let{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},92600:function(e,n,i){i.d(n,{R:()=>a,x:()=>c});var t=i(14041);let s={},o=t.createContext(s);function a(e){let n=t.useContext(o);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),t.createElement(o.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.