1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["180"],{47043:function(e,n,r){r.r(n),r.d(n,{metadata:()=>s,default:()=>d,frontMatter:()=>i,contentTitle:()=>t,toc:()=>h,assets:()=>a});var s=JSON.parse('{"id":"api/tools/namespaces/synchronizers/functions/createCameraPositionSynchronizer","title":"Function: createCameraPositionSynchronizer()","description":"createCameraPositionSynchronizer(synchronizerName): Synchronizer","source":"@site/docs/api/tools/namespaces/synchronizers/functions/createCameraPositionSynchronizer.md","sourceDirName":"api/tools/namespaces/synchronizers/functions","slug":"/api/tools/namespaces/synchronizers/functions/createCameraPositionSynchronizer","permalink":"/docs/api/tools/namespaces/synchronizers/functions/createCameraPositionSynchronizer","draft":false,"unlisted":false,"editUrl":"https://github.com/cornerstonejs/cornerstone3D/edit/main/packages/docs/docs/api/tools/namespaces/synchronizers/functions/createCameraPositionSynchronizer.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar22","previous":{"title":"synchronizers","permalink":"/docs/api/tools/namespaces/synchronizers/"},"next":{"title":"Function: createImageSliceSynchronizer()","permalink":"/docs/api/tools/namespaces/synchronizers/functions/createImageSliceSynchronizer"}}'),o=r(31085),c=r(92600);let i={},t="Function: createCameraPositionSynchronizer()",a={},h=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(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-createcamerapositionsynchronizer",children:"Function: createCameraPositionSynchronizer()"})}),"\n",(0,o.jsxs)(n.blockquote,{children:["\n",(0,o.jsxs)(n.p,{children:[(0,o.jsx)(n.strong,{children:"createCameraPositionSynchronizer"}),"(",(0,o.jsx)(n.code,{children:"synchronizerName"}),"): ",(0,o.jsx)(n.a,{href:"/docs/api/tools/classes/Synchronizer",children:(0,o.jsx)(n.code,{children:"Synchronizer"})})]}),"\n"]}),"\n",(0,o.jsxs)(n.p,{children:["A helper that creates a new ",(0,o.jsx)(n.code,{children:"Synchronizer"})," which listens to the ",(0,o.jsx)(n.code,{children:"CAMERA_MODIFIED"}),"\nrendering event and calls the ",(0,o.jsx)(n.code,{children:"cameraSyncCallback"}),"."]}),"\n",(0,o.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsxs)(n.p,{children:["\u2022 ",(0,o.jsx)(n.strong,{children:"synchronizerName"}),": ",(0,o.jsx)(n.code,{children:"string"})]}),"\n",(0,o.jsx)(n.p,{children:"The name of the synchronizer."}),"\n",(0,o.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.a,{href:"/docs/api/tools/classes/Synchronizer",children:(0,o.jsx)(n.code,{children:"Synchronizer"})})}),"\n",(0,o.jsxs)(n.p,{children:["A new ",(0,o.jsx)(n.code,{children:"Synchronizer"})," instance."]}),"\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/38fdfaa1d44940275c40f14c989044e306cc21f6/packages/tools/src/synchronizers/synchronizers/createCameraPositionSynchronizer.ts#L16",children:"tools/src/synchronizers/synchronizers/createCameraPositionSynchronizer.ts:16"})})]})}function d(e={}){let{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},92600:function(e,n,r){r.d(n,{R:()=>i,x:()=>t});var s=r(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 t(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.