LinkunGao / copper3d_visualisation

A 3d visualisation package base on threejs. Provides: Dicom loader, Nrrd Segmentation Tools, GltfExport, Create vtk animation functions.
https://linkungao.github.io/copper3d_visualisation/
Apache License 2.0
31 stars 1 forks source link

Fix bugs and update get calculate sphere position function #303

Closed LinkunGao closed 1 month ago

LinkunGao commented 1 month ago

Description:

Fixed bugs: Zoom position cannot be controlled in the sphere function add new function setCalculateDistanceSphere(x:number, y:number, sliceIndex:number, cal_position:"tumour"|"skin"|"nipple"|"ribcage") and getCalculateSpherePositions:(tumourSphereOrigin:ICommXYZ|null, skinSphereOrigin:ICommXYZ|null,ribSphereOrigin:ICommXYZ|null, nippleSphereOrigin:ICommXYZ|null, aixs:"x"|"y"|"z")

Related issue(s):

301 #302

Test Environment:

Specify the testing enviroment. e.g. OS, Python version