Create a volumetric mesh

Operating system: Windows 10
Slicer version: Slicer 4.8.1

I have clipped a ScalarVolumeNode to define the region of interest. I would now like to create a volumetric mesh from this scalar volume. I am aware of tools and methods to create a surface model (ie. grayMaker, modelMaker). However, are there any tools for volumetric meshes? I have tried Cleaver Tet Mesher but with no success.

Thanks.

Hi Hikmat,

I have previously used cleaver to generate a volumetric mesh. There is previous discussion on discourse about this, here is the relevant text:

“I tried using cleaver with limited success. I had a lot of trouble with the extension initially. After I spoke with Andras Lasso I was able to get the meshing working. The main thing I did to get cleaver to work with my data was to create a label map with a value of 75 on the inside and -75 on the outside. I used simple filters to do the shifting and scaling.”

Here is a link to the discussion: https://discourse.slicer.org/t/usage-of-volumetric-meshes/620/3

Best,

Michael

1 Like

Segment mesher extension greatly simplifies volumetric mesh generation. It can create volumetric meshes directly from segmentation nodes. It takes care of creating image data in the format that Cleaver2 expects.

If your input is a surface mesh in a model node then you can convert it to segmentation node using Segmentations module.

1 Like

Thanks Andras, this works great.

I now have an overlay of my surface model and the corresponding volumetric mesh.
image

I would like to “fuse” their properties: the surface mesh defines only the exterior whereas the volumetric mesh discretizes the interior structure.

Is there a way to manipulate the volumetric mesh (or the surface mesh) in Slicer so that I have a model whose exterior is well-visualized (as in the surface mesh) but whose interior structure is also defined (as in the volumetric mesh)?

For visualization, I would only use surface meshes. Why do you need volumetric meshes for visualization?

I am writing a simulator for decompression surgery - in which a lamina needs to be removed (laminectomy).
I have created a tool that “grinds” away at the bone surface - kind of like an “Erasing” tool.

Although I agree that a surface mesh is adequate for visualization, the spine would be a hollow structure and thus not a useful representation for laminectomy. Thus, it would be nice if I had a “solid” model so that there would be underlying layers of bone as the surface is grinded away at.

For all these you don’t need a volumetric mesh. Segment Editor can do volumetric visualization already. Enable “Show 3D”, maybe disable smoothing to make updates faster (you can later set up volume rendering to make 3D updates even faster). You can use the Erase effect with a sphere option to grind bone.

1 Like

This is exactly what I needed and the Erase tool is a huge plus.
Wish I had known this beforehand so that I didn’t have to develop my own Erase tool.
Thanks Andras; it is much appreciated.

1 Like

A post was merged into an existing topic: Convert a surface mesh to a volumetric mesh in 3DSLICER