<div>Hi,<br><br>I use vtkAngleWidget to measure angle. I want to tune the line width of the angle leaders and arc. Below is my C# code:<br><br> m_angleWidget = vtkAngleWidget.New();<br> m_angleWidget.SetInteractor(m_renderWin.GetInteractor());<br> m_angleWidget.PlacePointEvt += new vtkObject.vtkObjectEventHandler(AngleWidget_PlacePointEvt);<br> m_angleRep = vtkAngleRepresentation2D.New();<br> m_angleRep.GetRay1().GetProperty().SetColor(0.0, 1.0, 0.0);<br> m_angleRep.GetRay1().GetProperty().SetLineWidth(8.0f);<br> m_angleRep.GetRay2().GetProperty().SetColor(0.0, 1.0, 0.0);<br> m_angleRep.GetRay2().GetProperty().SetLineWidth(8.0f);<br> m_angleRep.GetArc().GetProperty().SetColor(0.0, 1.0, 0.0);<br> m_angleRep.GetArc().GetProperty().SetLineWidth(8.0f);<br> m_angleRep.GetArc().GetLabelTextProperty().SetColor(0.0, 0.0, 1.0);<br> m_angleWidget.SetRepresentation(m_angleRep);<br><br>If
I call SetLineWidth with 5.0f, 6.0f, 7.0f and 7.5f, I get the same effect as
1.jpg; if I call SetLineWidth with 8.0f, the effect is as 2.jpg. For me,
the line in 1.jpg is too slim, the line in 2.jpg is too wide, how to
tune it?<br><br>Thanks<br>Liu Peng<br><br></div><br><br><span title="neteasefooter"><p> </p></span>