I’m interested in adding this capability to an extension in Slicer, the goal being to determine the center of mass of a given segment.
I’ve done some reading of the source (I know C++ and a little python) but I am very much a newbie on the architecture of Slicer. I’m wondering if someone has done something similar (adding VTK method and accessing it through python for an Extension GUI) that I can borrow/steal.