Skip to content

colorMapPreset and colorDataRange do not worked in SliceRepresentation #51

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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