- I am using OHIF v3-stable and I’m facing difficulty in understanding the implementation of the viewport, it would be really helpful if someone could explain the flow of data in the component tree…
Did you find any explanation of the data flow in the component free? I’m also trying to implement the viewport.
Hi @ShubhJoshi-557 and welcome to the community.
There are several docs that I hope might help you…
There are several viewport implementations in OHIF, that perhaps stepping through the code might help you.
- extensions/cornerstone/src/Viewport/OHIFCornerstoneViewport.tsx
- extensions/dicom-pdf/src/viewports/OHIFCornerstonePdfViewport.tsx
- extensions/dicom-microscopy/src/DicomMicroscopyViewport.tsx
- and plenty more…
Is there a particular problem you are trying to address?