<div dir="ltr">Hi all,<br><br>I have generated a set of contours with vtkContourFilter ( let say, 10).Now I want to get the colors of these contours to create an annotation for each value with its own color.<br><br>If the contour no. 5 is green color with scalar value 50. Then I want to create a text with 50 in green color (<b><span style="color: rgb(51, 204, 0);">50</span></b>).<br>
<br> Is it possible to get the color from the mapper like Mapper-&gt;GetLookupTable()-&gt;GetColor/GetTableValue()? <br><br>I know some time ago Bill has made some method in c++ to do this, but that is not possible in python (because some of the methods used are not available in python version like getlines().<br>
<br><br>Thank you,<br><br>Jothy<br><br></div>