Skip to content

colorMapPreset and colorDataRange do not worked in SliceRepresentation #51

@lascqy

Description

@lascqy

For VolumeRepresentation, I use some codes like:
dash_vtk.VolumeRepresentation(
id='vol',
colorMapPreset='jet',
colorDataRange=[0,255],
children=.....
),

it works fine~

but in SliceRepresentation, I use:
dash_vtk.SliceRepresentation(
id="slice-x",
xSlice=128,
colorMapPreset='jet',
colorDataRange=[120,255],
children=dash_vtk.ShareDataSet(),
),

nothing happened....it is still in grayscale on the slicer
why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions