[Paraview-developers] Python access to saved camera configs?
David Thompson
david.thompson at kitware.com
Mon May 6 15:21:19 EDT 2013
Hi all,
For future reference, the only way I see to obtain the camera configurations is to use QSettings to read the CustomViewButtons/Configurations vector and parse each entry. Each entry is an XML snippet that contains camera parameters.
David
> I'm interested in getting the saved camera configurations (i.e., the ones in the "Adjust Camera" dialog), not the current camera parameters.
>
> Thanks,
> David
>
> On May 2, 2013, at 6:09 PM, Sebastien Jourdain <sebastien.jourdain at kitware.com> wrote:
>
>> view = GetActiveView()
>> view.CameraPosition
>> view.CameraXXX
>>
>> Use tab for the completion...
>>
>>
>> On Thu, May 2, 2013 at 5:52 PM, David Thompson <david.thompson at kitware.com> wrote:
>> Hi all,
>>
>> Does the ParaView Python shell provide programmatic access to the camera positions stored in the 3-D view settings (pqCameraDialog)? If not, what is the recommended way from C++?
>>
>> Thanks,
>> David
>> _______________________________________________
>> Paraview-developers mailing list
>> Paraview-developers at paraview.org
>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>
>
More information about the Paraview-developers
mailing list