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...
Thanks, Paul On 1 June 2011 16:32, Utkarsh Ayachit <[email protected]> wrote: > Did you forget to call Modified() in the vtk-filter when the values > were modified? > > Utkarsh > > On Wed, Jun 1, 2011 at 11:16 AM, Paul Edwards <[email protected]> > wrote: > > 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. > > e.g. for this pipeline: Source -> MyFilter > > 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. > > Can anyone think why this is happening? Or know a way I can debug > this.... > > Thanks, > > Paul > > > > On 1 June 2011 14:30, Utkarsh Ayachit <[email protected]> > wrote: > >> > >> Paul, > >> > >> Both cut (pqCutPanel) and contour (pqContourPanel) panels are custom > >> panels. We haven;t added support for the autogenerated panels to add > >> the "values" widget (pqSampleScalarWidget) yet. You'll have to create > >> a custom panel for it. > >> > >> Utkarsh > >> > >> > >> On Wed, Jun 1, 2011 at 9:07 AM, Paul Edwards <[email protected]> > >> wrote: > >> > Hi, > >> > I have created a filter where I would like to let the user pick values > >> > in a > >> > similar way to the contour and slice filter. > >> > Here is an extract from my XML file: > >> > <DoubleVectorProperty > >> > name="MyValues" > >> > command="SetMyValue" > >> > label="My Values" > >> > set_number_command="SetNumberOfMyValues" > >> > number_of_elements="0" > >> > repeat_command="1" > >> > number_of_elements_per_command="1" > >> > use_index="1" > >> > animateable="1"> > >> > <DoubleRangeDomain name="scalar_range" min="0.0" max="1.0" > /> > >> > </DoubleVectorProperty> > >> > How can I use the widget from the cut or slice value to let the user > >> > choose > >> > the values in the Object Inspector? Is this possible through the XML? > >> > Thanks in advance, > >> > Paul > >> > _______________________________________________ > >> > Powered by www.kitware.com > >> > > >> > Visit other Kitware open-source projects at > >> > http://www.kitware.com/opensource/opensource.html > >> > > >> > Please keep messages on-topic and check the ParaView Wiki at: > >> > http://paraview.org/Wiki/ParaView > >> > > >> > Follow this link to subscribe/unsubscribe: > >> > http://www.paraview.org/mailman/listinfo/paraview > >> > > >> > > > > > >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
