[Paraview-developers] Problem using vtkSetStringMacro with StringListDomain
David Lawrie
dlawrie at ara.co.uk
Tue Oct 25 06:15:28 EDT 2016
Dear list,
I am trying to set up a filter and having some difficulty with the XML for the ServerManager.
I have set up a filter which, at construction, generates a list of strings. This list should populate a
combobox in the GUI. This part appears to work. However when I select an option from the list
the SetChosenOne method does not appear to be called. I have SetDebug(1) in the constructor
but no vtkDebug statements are being generated by the method.
The current approach I am trying is below:
<StringVectorProperty name="ChosenOne" command="SetChosenOne">
<StringListDomain name="List">
<RequiredProperties>
<Property function="StringList" name="AvailableOptionsInfo"/>
</RequiredProperties>
</StringListDomain>
</StringVectorProperty>
<StringVectorProperty name="AvailableOptionsInfo" command="GetAvailableOptions" information_only="1" si_class="vtkSIDataArrayProperty" />
The SetChosenOne method is generated using vtkSetStringMacro(ChosenOne).
Any ideas as to what I am doing wrong?
Thanks,
David.
**********************************************************************
Please consider the environment. Only print this email if absolutely necessary.
This email contains information that is private and confidential and is intended only for the addressee.
If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245
**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20161025/84112abe/attachment.html>
More information about the Paraview-developers
mailing list