Interactively change the nodes of mesh

Hello all,
Consider a mesh that is created with the segmentmesher module. For some reason, I want to change the locations of a few nodes in the created volumetric mesh to make my mesh more smooth. How can I do it? Is it possible to do it interactively?
So my question is this: are there any ways to change the location of specific nodes of a model (that is created with segmentmesher) in the slicer?

You would need to add a short Python code snippet to be able to do this. First you need to find the point that you want to modify (as shown in this example) and then make the point move to the position where you move a control point of markups fiducial node (similarly to how a VTK filter input is updated from a markups node in this example).

Thanks for your response @lassoan. I think this process takes some time for all nodes. Instead, is it possible to smooth a model that is created with segmentmesher?
I have tried playing with cleaver elements for this; however, it did not help as increasing the quality of mesh will make the mesh finer and I do not want it.
Therefore I think it is very helpful if I can find a way to smooth my mesh in the slicer.

There are many ways to smooth the input segmentation (for example, using Smoothing effect). You can also make segment mesher output smoother by adjusting meshing parameters. These should be sufficient to make the mesh smooth enough, but if you want further adjustments then you can try if there are smoothing filters in VTK that can be applied to unstructured grids (volumetric meshes).

Thanks for your response @lassoan. When I use the smoothing module and apply it to a model that is created with the segmentmesher, the output model is empty. Is it because the effects in the smoothing module cannot be applied to the unstructured grids?

Which smoothing module do you mean?

I attach a screenshot of the module that I use here:
image
Thanks

This module only supports polygonal mesh (vtkPolyData), not volumetric mesh (vtkUnstructuredGrid). If you don’t get recommendations here about what methods you can use for smoothing unstructured grids then I would recommend to ask it on the VTK forum (include the link to your post here and also come back and report if you hear any useful advice there).

OK, @lassoan. I will post it there. Thanks.