Kitware / itk-vtk-viewer

2D / 3D web image, mesh, and point set viewer using itk-wasm and vtk.js
https://kitware.github.io/itk-vtk-viewer/
BSD 3-Clause "New" or "Revised" License
210 stars 64 forks source link

fix(Geometries): Support direct unsigned char scalar colors #300

Closed thewtex closed 4 years ago

thewtex commented 4 years ago

The vtk.js AbstractRepresentationProxy sets the Mapper ColorMode to MAP_SCALARS if scalars and a lookup table proxy are present, but we always have a lookup table proxy. Set ColorModeToDefault on the Mapper and high lookup table GUI elements with 3-component unsigned char scalars.

thewtex commented 4 years ago

Closes #299

thewtex commented 4 years ago

:tada: This PR is included in version 10.2.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: