<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi,<br><br>I develop a plugin that and in its corresponding xml file, I have a doubleVectorProperty in which I would like to write the result of my filter and I don't want to make it editable.<br>So, I am looking for some examples of doing this beacause I really don't know how to do this and that make a while I want to make it. I have found nothing about this in the Paraview Guide book.<br><br>Here's what I have written in the plugin xml file:<br><br><DoubleVectorProperty<br> name="GetResult"<br> command="GetResult"<br> information_only="1"><br> <SimpleDoubleInformationHelper/><br>
</DoubleVectorProperty><br> <br> <DoubleVectorProperty<br> name="Result"<br> command="SetResult<br> number_of_elements="1"<br> default_values="0.0"<br> information_property="GetResult"><br> </DoubleVectorProperty><br><br>and the code in the source is:<br>double GetResult()<br>
{<br>
return m_result;<br>
}<br>
<br>void SetResult(double value)<br>{<br> m_result = value;<br>}<br><br>Then, in my code, when I would like to update this lineedit in the plugin GUI I call SetResult(myResult). But nothing happen and the lineedit in the plugin GUI is editable (which I don't want).<br><br>Thank you for your advise.<br><br><br></div>
</div><br>
</body></html>