Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add a new rotation interactor because the default trackball rota…
…tion is not appropriate for MPR (#24) * add MPR Rotate support as an interactor - based on Madison Dickson vue example -https://github.com/mix3d/vue-vtkjs-viewport * fix segmetnation pipline * add gl-matrix dependency * clear unneeded comments * WIP - update example to use a range control for manual rotation with a DICOM CT stack * WIP - update DCM4CHEE server URL * setSliceNormal with an array (that can be spread by methods signature) * from vtk-viewport * feat(rotate on scroll): support rotation on mouse wheel * WIP: fix rotation direction and add orientation cube widget * Fix the mouse wheel rotation and rotation direction to match the rotation cubes * Fix: initial display of the view and orientation cube. Clean all unneeded code in the rotation interactor * Fix invalid slider rotation values and render rotation only when needed * use existing camera view parameters -if exist- when setting slice normal * Implement a sensetivity factor for the rotation to slow it down * Refactored the rotation code into a viewportData object and created a manipulator for handling the mouse wheel rotation * Fix initial display of slices and setting the corsshair scroll manipulator * support setSliceNormal to be called externally and reverting mouse wheel to scroll
- Loading branch information