Yes that was it. I was using the vtkContourValues in a similar way to the vtkCutter and vtkContourFilter and hadn't noticed the overridden GetMTime method...<div><br></div><div>Thanks,</div><div>Paul<br><br><div class="gmail_quote">
On 1 June 2011 16:32, 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;">
Did you forget to call Modified() in the vtk-filter when the values<br>
were modified?<br>
<font color="#888888"><br>
Utkarsh<br>
</font><div><div></div><div class="h5"><br>
On Wed, Jun 1, 2011 at 11:16 AM, Paul Edwards <<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>> wrote:<br>
> Ok thanks - I've created a custom panel just like pqCutPanel but now my<br>
> filter only updates when something earlier in the pipeline is updated.<br>
> e.g. for this pipeline: Source -> MyFilter<br>
> Changing "MyFilter" properties will allow me to apply but nothing happens.<br>
> But if I change a property in "Source" it will update to show the changes I<br>
> have made to "MyFilter" properties too.<br>
> Can anyone think why this is happening? Or know a way I can debug this....<br>
> Thanks,<br>
> Paul<br>
><br>
> On 1 June 2011 14:30, Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>><br>
>> 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>
>><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>><br>
>> wrote:<br>
>> > Hi,<br>
>> > I have created a filter where I would like to let the user pick values<br>
>> > 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<br>
>> > choose<br>
>> > the values in the Object Inspector? Is this possible through the XML?<br>
>> > Thanks in advance,<br>
>> > Paul<br>
>> > _______________________________________________<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>
><br>
><br>
</div></div></blockquote></div><br></div>