[Paraview] Reader Properties

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri Mar 4 10:12:55 EST 2011


Make the  "SizeProperty" and information_only property with the right
type of  "InformationHelper" sepecified in teh XML. Then in your
object panel you can call vtkSMProxy::UpdatePropertyInformation() and
the access the value for the property.

Utkarsh

On Fri, Mar 4, 2011 at 10:02 AM,  <owen.arnold at stfc.ac.uk> wrote:
> I have a plugin object panel which I associate with a plugin reader. From my
> object panel I can access vtkSMProperty objects:
>
>
>
> vtkSMProperty * sizeProperty =  this->proxy()->GetProperty("SizeProperty");
>
>
>
> The line above will give me the default value set for the property. What I
> really want to be able to do is take a value read in from the file and pass
> it on to my object panel. How can I set property information in such a way
> that it can be picked up from the object panel?
>
>
>
> Thanks in advance.
>
> --
> Scanned by iCritical.
>
> _______________________________________________
> 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