[Paraview-developers] object numbering in pipeline browser

Joachim Pouderoux joachim.pouderoux at kitware.com
Tue Oct 3 17:49:17 EDT 2017


Chiranjib,

Well as you can see in vtkSMSessionProxyManager::GetUniqueProxyName(),
there is a suffix loop (master / line 600) from 1 to VTK_INT_MAX that
is incremented until no other proxy as the same name.
As you can see, if you create a Cone, it is named Cone1. Rename it manually
to Cone2, then create a new Cone, this new cone get the name Cone1 because
this name is no more used.

Regards,

*Joachim Pouderoux*, PhD

*Technical Expert - Scientific Computing Team*
*Kitware SAS <http://www.kitware.fr>*


2017-10-03 14:38 GMT-04:00 Chiranjib Sur <sur.chiranjib at gmail.com>:

> Thanks. How about the number sequencing? I figure out the proxy part when
> you scan through the pipe line. But when creating source how the numbers
> appeared?
>
> Thanks and regards,
> Chiranjib
>
> Using handheld device, sorry for the typos, if any.
>
>
> On Oct 4, 2017 12:06 AM, "Joachim Pouderoux" <
> joachim.pouderoux at kitware.com> wrote:
>
> Chiranjib,
>
> Take a look at vtkSMSessionProxyManager::GetUniqueProxyName().
> This is the function called in vtkSMSessionProxyManager::RegisterProxy() that
> setup the default proxy names.
>
> Regards,
>
> *Joachim Pouderoux*, PhD
>
> *Technical Expert - Scientific Computing Team*
> *Kitware SAS <http://www.kitware.fr>*
>
>
> 2017-10-03 14:16 GMT-04:00 Chiranjib Sur <sur.chiranjib at gmail.com>:
>
>> Hi,
>> Can any one explain how the numbering sequencing happen when we create
>> objects  (e.g. Source > Cone) and the objects appears as "Cone1", "Cone2"
>> etc.?
>>
>> I am interested which part of the code is responsible for numerical
>> increment 1,2 etc following the Object name.
>>
>> Thanks in advance.
>>
>> Chiranjib
>>
>> _______________________________________________
>> 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/20171003/12f6f635/attachment-0001.html>


More information about the Paraview-developers mailing list