[Paraview] Hidden Properties for Plugins

burlen burlen.loring at gmail.com
Wed Mar 17 08:37:28 EDT 2010


I think you could set the "show" hint in the server manager XML. for eg

<SourceProxy ... >
...
<IntVectorProperty
    name="Dimensionailty"
    command="SetDimensionality"
    number_of_elements="1"
    default_values="2">
</IntVectorProperty>
...
<Hints>
  <Property name="Dimensionality" show="0"/>
</Hints>

</SourceProxy>

Christian Werner wrote:
> Hi!
>
> I'd like to know if it is possible to set properties to some value 
> without letting the user change that. This would be nice, since e.g. 
> the vtkImageGaussianSmooth requires a call "SetDimensionality" to 
> setup whether to use a 1D, 2D or 3D Gaussian Smooth. Depending on that 
> the user has to provide one, two, or three values for the 
> StandardDeviations. So I chose to make a 2D version and a seperate 3D 
> Version where I provide 2, repectively 3 input fields for these 
> values. The SetDimensionality should then be called properly without 
> the user having to take care about that.
>
> Best regards,
> Christian
> _______________________________________________
> 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