Skip to content

getscalardata deprecation #639

Open
Open
@jjustinm4

Description

@jjustinm4

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions