[Paraview] Re-applying a plugin doesn't change the output?

David E DeMarle dave.demarle at kitware.com
Thu Dec 3 12:04:03 EST 2009


First, when you apply, does SetRadius() get called on the VTK object?

If not the property doesn't know that it has been changed for some
strange reason (unlikely).

If so, when SetRadius is called, does it invoke Modified() when its
argument changes?


David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Thu, Dec 3, 2009 at 11:48 AM, David Doria <daviddoria at gmail.com> wrote:
> If I have a property such as:
>
>         <DoubleVectorProperty
>                            name="Neighbor Radius"
>                              command="SetRadius"
>                              number_of_elements="1"
>                              default_values="1.0">
>         </DoubleVectorProperty>
>
> If I load the plugin and immediately set the value and Apply the
> filter, the output is correct. However, if I then go back and change
> the value and Apply again, the output does not change. Is there
> something that needs to be done to enable this functionality?
>
> Thanks,
>
> David
> _______________________________________________
> 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
>


More information about the ParaView mailing list