<div dir="ltr"><div>Hi -</div><div><br></div><div>When using vtkDistanceWidget with a 3d Distance Representation:</div><div><span class="" style="white-space:pre">  </span>vtkSmartPointer<vtkDistanceRepresentation3D> dRep3d= vtkSmartPointer<vtkDistanceRepresentation3D>::New();</div><div><span class="" style="white-space:pre">      </span>vtkSmartPointer<vtkDistanceWidget> dWidget = vtkSmartPointer<vtkDistanceWidget>::New();</div><div><span class="" style="white-space:pre">        </span>dWidget ->SetInteractor(mRenderWindowInteractor);</div><div><span class="" style="white-space:pre">      </span>dWidget ->CreateDefaultRepresentation();</div><div><span class="" style="white-space:pre">       </span>dWidget ->SetRepresentation(dRep3d);</div><div><span class="" style="white-space:pre">   </span>dWidget ->SetDebug(1);</div><div><span class="" style="white-space:pre"> </span>dWidget ->On();</div><div><br></div><div>I get the following debug ouput:</div><div><div>Debug: In ..\..\VTK5.10.1\Common\vtkObject.cxx, line 871</div><div>vtkDistanceWidget (06EA2260): UnRegistered by NULL, ReferenceCount = 0</div><div><br></div><div>Debug: In ..\..\VTK5.10.1\Widgets\vtkAbstractWidget.cxx, line 166</div><div>vtkAbstractWidget (06EA2260): Disabling widget</div><div><br></div><div>Debug: In ..\..\VTK5.10.1\Rendering\vtkInteractorObserver.cxx, line 25</div><div>vtkInteractorObserver (06EA2260): vtkInteractorObserver (06EA2260): setting DefaultRenderer to 00000000</div><div><br></div><div>Debug: In ..\..\VTK5.10.1\Common\vtkObject.cxx, line 154</div><div>vtkObject (06EA2260): Destructing!</div></div><div><br></div><div>Is there something obvious I'm missing to make this widget work? I have several other widgets working fine.</div><div><br></div><div>thanks,</div><div>Sid</div><div><br></div><div><br></div></div>