0

I am using Visual Studio C# and i want to get angle with using vtkAngleWidget.

VTK Angle Widget Sample - Image

public void addAngleWidget() { 
        angleWidget = new vtkAngleWidget(); 
        angleWidget.SetInteractor(this.iren); 
        angleWidget.CreateDefaultRepresentation(); 
        angleWidget.On(); 
    } 

With this code, vtkAngleWidget is working perfectly. But i want to write to angle, inside a textbox. Like this;

Like this... - Image

How do i ? Thx for advices..

1 Answer 1

0

Done.

render3DWindow.angleWidget.GetAngleRepresentation().GetAngle();

render3DWindow - My VTK Render Class

angleWidget - vtkAngleWidget

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.