gecos-lab / PZero

GNU Affero General Public License v3.0
22 stars 2 forks source link

Digitizing on DEM (and surfaces in general) #39

Open andrea-bistacchi opened 1 year ago

andrea-bistacchi commented 1 year ago

I've found an interesting discussion:

https://discourse.vtk.org/t/how-to-draw-lines-on-surface/10905

gbene commented 1 year ago

Yes i think we should look at the code of the 3d slicer at the end of the thread to see what they are doing. While experimenting with the different widgets for the new 2D view I've stumbled upon this: https://vtk.org/doc/nightly/html/classvtkImageTracerWidget.html#details that can be actually used on any generic 3D prop. I've tried it and it seemed pretty quick and well functioning. The only downside to this widget is that it is not clear if the mapped keys are customizable or not (I think not)