ivmartel / dwv

DICOM Web Viewer: open source zero footprint medical image library.
https://ivmartel.github.io/dwv/
GNU General Public License v3.0
1.68k stars 593 forks source link

dwv to real time collaboration app #94

Closed susp3k1 closed 10 years ago

susp3k1 commented 10 years ago

Hi, i need to make a RTC viewer for dicom and i want to use this sources but i don't know how to get the image that user select and modifications to the image , to transmit to the other user,Can someone help me move toward the right path.Thanks

ivmartel commented 10 years ago

Sorry I have no experience with WebRTC but I am definitively very interested in what you will come up with!

susp3k1 commented 10 years ago

I use TogetherJs a mozilla library that will do most the difficult part, my question is how to get the image selected by user(array or image object deppends on what kind of parameter take the function which draw theimage ), and what function is called, or what event is activated when user press the "Choose File" button.If i know that, i only need to call the function which draw the selected image when second user connects

ivmartel commented 10 years ago

The method that handles files loading is the loadFiles of the application class.

But the method that does the final image generation and display is the generateAndDrawImage of the application class.

ivmartel commented 10 years ago

Hi susp3k1, did you manage to get anywhere with togetherjs? Ian Bicking made a post that says that development is stopped but should start again next year...

ivmartel commented 10 years ago

Here are quick steps for the static viewer. In its index.html:

Views are then synchronised, I'm now trying to synchronise mouse events on the image...

ivmartel commented 9 years ago

Still not fixed, please follow #119 for updates!