You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Indeed the SliceRepresentation does not have the connectivity with the lookupTable. Since this needs to be optional, I never connected it. It would be easy to do but it would also require to add some custom code to automatically add/remove the lookup table from the mapper which I didn't do in the first pass due to lack of time.
Indeed the SliceRepresentation does not have the connectivity with the lookupTable. Since this needs to be optional, I never connected it. It would be easy to do but it would also require to add some custom code to automatically add/remove the lookup table from the mapper which I didn't do in the first pass due to lack of time.
Actually,I‘ve made a 3D render sence in vedo and now want to embed it into a dash-based webpage.
So, I chose dash-vtk to do it.
I will be very appreciated if you can finish this function when you are free of time.
Otherwise, do you have any other suggestion for this situation (some other tools to connect the dash without dash-vtk).
I want to realize it by myself, but I am familiar with R, python, C, not js...........
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?
The text was updated successfully, but these errors were encountered: