Ok thanks - I've created a custom panel just like pqCutPanel but now my filter only updates when something earlier in the pipeline is updated.<div><br></div><div>e.g. for this pipeline: Source -> MyFilter</div><div>
Changing "MyFilter" properties will allow me to apply but nothing happens. But if I change a property in "Source" it will update to show the changes I have made to "MyFilter" properties too.</div>
<div><br></div><div>Can anyone think why this is happening? Or know a way I can debug this....</div><div><br></div><div>Thanks,</div><div>Paul<br><br><div class="gmail_quote">On 1 June 2011 14:30, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Paul,<br>
<br>
Both cut (pqCutPanel) and contour (pqContourPanel) panels are custom<br>
panels. We haven;t added support for the autogenerated panels to add<br>
the "values" widget (pqSampleScalarWidget) yet. You'll have to create<br>
a custom panel for it.<br>
<br>
Utkarsh<br>
<div><div></div><div class="h5"><br>
<br>
On Wed, Jun 1, 2011 at 9:07 AM, Paul Edwards <<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>> wrote:<br>
> Hi,<br>
> I have created a filter where I would like to let the user pick values in a<br>
> similar way to the contour and slice filter.<br>
> Here is an extract from my XML file:<br>
> <DoubleVectorProperty<br>
> name="MyValues"<br>
> command="SetMyValue"<br>
> label="My Values"<br>
> set_number_command="SetNumberOfMyValues"<br>
> number_of_elements="0"<br>
> repeat_command="1"<br>
> number_of_elements_per_command="1"<br>
> use_index="1"<br>
> animateable="1"><br>
> <DoubleRangeDomain name="scalar_range" min="0.0" max="1.0" /><br>
> </DoubleVectorProperty><br>
> How can I use the widget from the cut or slice value to let the user choose<br>
> the values in the Object Inspector? Is this possible through the XML?<br>
> Thanks in advance,<br>
> Paul<br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
><br>
</blockquote></div><br></div>