Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getscalardata deprecation #639

Open
jjustinm4 opened this issue Nov 16, 2024 · 2 comments
Open

getscalardata deprecation #639

jjustinm4 opened this issue Nov 16, 2024 · 2 comments

Comments

@jjustinm4
Copy link

jjustinm4 commented Nov 16, 2024

Dear mentors , is the volume.scalarData() deprecated or unavailable in latest version ? For specific volume operations this used to be extremely helpful but seems unavailable now. I tried the following ( voume is 3D )

// I have a volume created , cached and loaded which is visible via "Setvolumeforviewport"
console.log( volume.voxelManager.getScalarData() ) // Undefined or erroneous
console.log( volume.voxelManager._getScalarData() ) // Undefined or erroneous
console.log( volume.getScalarData() ) // Scalar data not available

From documentation I understood that voxelManager needs to be involved in getting scalar data ? Does the voxelMnager needs any initiation for this to work ? . In versions 1x it was available as a float array how can we get the same in 2x variants .

Also does the scalarData stores rotation related info I mean does it stores rotation related info anywhere

Thank you

@No-Dream-No-Life
Copy link

No-Dream-No-Life commented Nov 16, 2024 via email

@sedghi
Copy link
Member

sedghi commented Dec 10, 2024

This repository/library is deprecated and no longer maintained. Please use Cornerstone3D and refer to the migration guides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants