[Paraview] State files pv 3.4 VS pv 3.x

Nehmé Bilal nehmebilal at gmail.com
Mon Mar 9 17:19:30 EDT 2009


Thanks Utkrash.

Is there a way to check if the StateLoader has a proxy with a given id ?

Currently am doing:
vtkSMProxy *proxy = myStateLoader->NewProxy(id);
if( ! proxy )
{
  continue;
}

The problem is that vtkSMStateLoader::NewProxy(int id) will pop up an
error message if the proxy with the given id is not found.
That's why I want to check if the proxy exist in the state before
using NewProxy(id)

Thank you,
Nehme


2009/3/9 Utkarsh Ayachit <utkarsh.ayachit at kitware.com>:
> Camera manipulators are no longer in state files since it was decided
> that that's a user-setting and hence the user's setting for
> interaction will be used and not those specified from state files.
> Look at vtkSMStateVersionController. It has code that convert state
> files from old versions to new versions. However may not remove all
> redundant changes such as the manipulators.
>
> Utkarsh
>
> On Mon, Mar 9, 2009 at 3:29 PM, Nehmé Bilal <nehmebilal at gmail.com> wrote:
>> Hi,
>>
>> If am right, the new Paraview state files contains less information
>> then the old ones. For example, I used to see "CameraManipulators"
>> proxy in the old paraview state files but I can't find it in paraview
>> 3.4 state files.
>>
>> Is there a reason for this ?
>> How can I find out witch information has been removed from the
>> Paraview 3.4 state files ?
>>
>> Thanks,
>> Nehme
>> _______________________________________________
>> 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