[Paraview-developers] question of IntVectorPropertyin xml

Sebastien Jourdain sebastien.jourdain at kitware.com
Fri Feb 12 10:35:55 EST 2016


If you are looking for doc at the Proxy level instead of Property:

http://www.paraview.org/ParaView/Doc/Nightly/www/cxx-doc/classvtkSMProxy.html

On Fri, Feb 12, 2016 at 8:32 AM, Sebastien Jourdain <
sebastien.jourdain at kitware.com> wrote:

> If you want to read more you can find some information here:
>
>
> https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/Core/vtkSMProperty.h
>
> Which get generated to a documentation here:
>
>
> http://www.paraview.org/ParaView/Doc/Nightly/www/cxx-doc/classvtkSMProperty.html
>
> On Fri, Feb 12, 2016 at 8:21 AM, Mathieu Westphal <
> mathieu.westphal at kitware.com> wrote:
>
>> Thanks for the link, I always miss this one.
>>
>> Mathieu Westphal
>>
>> On Fri, Feb 12, 2016 at 4:19 PM, Joachim Pouderoux <
>> joachim.pouderoux at kitware.com> wrote:
>>
>>> Yes, please write a fully detailed documentation of the ServerManager :D
>>>
>>> Mathieu: for hints there is a specific wiki page:
>>> http://www.paraview.org/Wiki/ServerManager_XML_Hints
>>>
>>>
>>> *Joachim Pouderoux*
>>>
>>> *PhD, Technical Expert*
>>> *Kitware SAS <http://www.kitware.fr>*
>>>
>>>
>>> 2016-02-12 16:12 GMT+01:00 Mathieu Westphal <
>>> mathieu.westphal at kitware.com>:
>>>
>>>> With all that kind of informations and hints, like different types of
>>>> domains, View type hints, Representation Hints ....
>>>>
>>>> Mathieu Westphal
>>>>
>>>> On Fri, Feb 12, 2016 at 4:10 PM, Cory Quammen <cory.quammen at kitware.com
>>>> > wrote:
>>>>
>>>>> Agreed :-)
>>>>>
>>>>> Cory
>>>>>
>>>>> On Fri, Feb 12, 2016 at 10:04 AM, Joachim Pouderoux
>>>>> <joachim.pouderoux at kitware.com> wrote:
>>>>> > Cory,
>>>>> >
>>>>> > It would be great to put this on
>>>>> > http://www.paraview.org/Wiki/ParaView/Plugin_HowTo don't you think?
>>>>> :)
>>>>> >
>>>>> > Joachim
>>>>> >
>>>>> > Joachim Pouderoux
>>>>> >
>>>>> > PhD, Technical Expert
>>>>> > Kitware SAS
>>>>> >
>>>>> >
>>>>> > 2016-02-12 15:40 GMT+01:00 Cory Quammen <cory.quammen at kitware.com>:
>>>>> >>
>>>>> >> number_of_elements = "0" - indicates that the property will be
>>>>> >> initialized with 0 elements
>>>>> >>
>>>>> >> repeat_command = "1" - indicates the command associated with this
>>>>> >> property can be called more than once, passing in values from the
>>>>> >> IntVectorProperty with each call
>>>>> >>
>>>>> >> use_index = "1" = set the first argument in the call to the command
>>>>> to
>>>>> >> the index of the element in the IntVectorProperty
>>>>> >>
>>>>> >> number_of_elements_per_command = "1" - each call to the command
>>>>> >> expects only 1 element from the IntVectorProperty as an argument.
>>>>> >>
>>>>> >> All these properties are appropriate if the signature of the
>>>>> command is
>>>>> >>
>>>>> >> SetDisplayStructure(int index, int value);
>>>>> >>
>>>>> >> If you need to set the number of display structures in advance, you
>>>>> >> would need to define
>>>>> >>
>>>>> >> set_number_command="SetNumberOfDisplayStructures"
>>>>> >>
>>>>> >> which takes an int argument that will be the number of elements in
>>>>> the
>>>>> >> IntVectorProperty when called (probably divided by the number of
>>>>> >> elements per command.
>>>>> >>
>>>>> >> If you have a function that clears out the display structure list,
>>>>> you
>>>>> >> can define
>>>>> >>
>>>>> >> clean_command="ResetDisplayStructures"
>>>>> >>
>>>>> >> where ResetDisplayStructures() takes no arguments.
>>>>> >>
>>>>> >> Hope that helps,
>>>>> >> Cory
>>>>> >>
>>>>> >> On Fri, Feb 12, 2016 at 8:46 AM, RIVERA ROLDAN, Jorge Orlando
>>>>> >> <Orlando.RIVERA at mtu.de> wrote:
>>>>> >> > Hello
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > When  writing the  Server Configuration    i have defined  an
>>>>> entry
>>>>> >> >
>>>>> >> > Like
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >        <IntVectorProperty name="DisplayStructure"
>>>>> >> >
>>>>> >> >           command="SetDisplayStructure"
>>>>> >> >
>>>>> >> >      number_of_elements="0"
>>>>> >> >
>>>>> >> >               repeat_command="1"
>>>>> >> >
>>>>> >> >               number_of_elements_per_command="1"
>>>>> >> >
>>>>> >> >           use_index="1"
>>>>> >> >
>>>>> >> >           default_values="0"
>>>>> >> >
>>>>> >> >               >
>>>>> >> >
>>>>> >> >       </IntVectorProperty>
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > Some values are   easy to understand  but   can someone please
>>>>> explain
>>>>> >> > to me
>>>>> >> > what is the meaning of    number_of_elements=0  (I assume is a
>>>>> dynamic
>>>>> >> > type
>>>>> >> > with any number of elements)
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > What about  ?
>>>>> >> >
>>>>> >> > repeat_command="1"
>>>>> >> >
>>>>> >> > number_of_elements_per_command="1"
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > many thanks in advance !!!!!!
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > Von: RIVERA ROLDAN, Jorge Orlando
>>>>> >> > Gesendet: Friday, 12. February 2016 14:46
>>>>> >> > An: paraview-developers at paraview.org
>>>>> >> > Betreff: question of IntVectorPropertyin xml
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > Hello
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > When  writting the  Server Configuration    i have defined  an
>>>>> entry
>>>>> >> >
>>>>> >> > Like
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >        <IntVectorProperty name="DisplayStructure"
>>>>> >> >
>>>>> >> >           command="SetDisplayStructure"
>>>>> >> >
>>>>> >> >      number_of_elements="0"
>>>>> >> >
>>>>> >> >               repeat_command="1"
>>>>> >> >
>>>>> >> >               number_of_elements_per_command="1"
>>>>> >> >
>>>>> >> >           use_index="1"
>>>>> >> >
>>>>> >> >           default_values="0"
>>>>> >> >
>>>>> >> >               >
>>>>> >> >
>>>>> >> >       </IntVectorProperty>
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > Some values are   easy to understand  but   can someone please
>>>>> explain
>>>>> >> > to me
>>>>> >> > what is the meaning of    number_of_elements=0  (I assume is a
>>>>> dynamic
>>>>> >> > type
>>>>> >> > with any number of elements)
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > --
>>>>> >> > MTU Aero Engines AG
>>>>> >> > Vorstand/Board of Management: Reiner Winkler, Vorsitzender/CEO;
>>>>> Dr.
>>>>> >> > Rainer
>>>>> >> > Martens, Michael Schreyoegg
>>>>> >> > Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board:
>>>>> Klaus
>>>>> >> > Eberhardt
>>>>> >> > Sitz der Gesellschaft/Registered Office: Muenchen
>>>>> >> > Handelsregister/Commercial Register: Muenchen HRB 157206
>>>>> >> >
>>>>> >> > Diese E-Mail sowie ihre Anhaenge enthalten MTU-eigene
>>>>> vertrauliche oder
>>>>> >> > rechtlich geschuetzte Informationen.
>>>>> >> > Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie
>>>>> bitte
>>>>> >> > den
>>>>> >> > Absender und loeschen Sie diese
>>>>> >> > E-Mail sowie die Anhaenge. Das unbefugte Speichern, Kopieren oder
>>>>> >> > Weiterleiten ist nicht gestattet.
>>>>> >> >
>>>>> >> > This e-mail and any attached documents are proprietary to MTU,
>>>>> >> > confidential
>>>>> >> > or protected by law.
>>>>> >> > If you are not the intended recipient, please advise the sender
>>>>> and
>>>>> >> > delete
>>>>> >> > this message and its attachments.
>>>>> >> > Any unauthorised storing, copying or distribution is prohibited.
>>>>> >> >
>>>>> >> > _______________________________________________
>>>>> >> > Powered by www.kitware.com
>>>>> >> >
>>>>> >> > Visit other Kitware open-source projects at
>>>>> >> > http://www.kitware.com/opensource/opensource.html
>>>>> >> >
>>>>> >> > Search the list archives at:
>>>>> >> > http://markmail.org/search/?q=Paraview-developers
>>>>> >> >
>>>>> >> > Follow this link to subscribe/unsubscribe:
>>>>> >> > http://public.kitware.com/mailman/listinfo/paraview-developers
>>>>> >> >
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> --
>>>>> >> Cory Quammen
>>>>> >> R&D Engineer
>>>>> >> Kitware, Inc.
>>>>> >> _______________________________________________
>>>>> >> Powered by www.kitware.com
>>>>> >>
>>>>> >> Visit other Kitware open-source projects at
>>>>> >> http://www.kitware.com/opensource/opensource.html
>>>>> >>
>>>>> >> Search the list archives at:
>>>>> >> http://markmail.org/search/?q=Paraview-developers
>>>>> >>
>>>>> >> Follow this link to subscribe/unsubscribe:
>>>>> >> http://public.kitware.com/mailman/listinfo/paraview-developers
>>>>> >
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Cory Quammen
>>>>> R&D Engineer
>>>>> Kitware, Inc.
>>>>> _______________________________________________
>>>>> Powered by www.kitware.com
>>>>>
>>>>> Visit other Kitware open-source projects at
>>>>> http://www.kitware.com/opensource/opensource.html
>>>>>
>>>>> Search the list archives at:
>>>>> http://markmail.org/search/?q=Paraview-developers
>>>>>
>>>>> Follow this link to subscribe/unsubscribe:
>>>>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>>>>
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Search the list archives at:
>> http://markmail.org/search/?q=Paraview-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20160212/aaab0763/attachment.html>


More information about the Paraview-developers mailing list