I&#39;m creating a 3D tracing application in which the user selects points and then draws lines between points. I&#39;m able to create points by clicking and the program creates a new point/cell/polydata/actor for each point. (updating a single vtkPolyData doesn&#39;t work; no new points are displayed).<br>
Now I&#39;m wondering how I can pick the points and connect them with a line. I&#39;d like to be able to connect two consecutive points (points A &amp; B) with a line after point B is clicked. Then create a line between subsequent clicks. What is the best way to do this? I&#39;ve looked at the vtkImageTracerWidget, but that&#39;s not really what I&#39;m looking for.<br>
<br>-Greg<br>