Setting voxel color and transparency in Mayavi Mlab

956 Views Asked by At

How can I set the color and transparency of a specific voxel in Mayavi Mlab?

1

There are 1 best solutions below

0
On

What is a "specific voxel?" Does that refer to a point on a surface? A point on a 2D picture? A cell? The ease of doing this differs considerably depending on the source type and on what you are doing.

See How to directly set RGB/RGBA colors in mayavi and https://github.com/enthought/mayavi/issues/92#issuecomment-29133606