← Back to team overview

yade-dev team mailing list archive

Re: QT parameters

 

Thank you!

Anton Gladkyy


2009/8/28 Václav Šmilauer <eudoxos@xxxxxxxx>

> > v=qt.View()
> > v.eyePosition=(3,.8,.96); v.upVector=(-.4,-.4,.8);
> > v.viewDir=(-.9,-.25,-.3); v.axes=True; v.sceneRadius=1.9
> >
> > what parameters are also possible in this case?
> > v.dict() does not work
>
> .dict() is defined only for yade object (which the GL view is not).
>
> The properties are documented at
> http://beta.arcig.cz/~eudoxos/yade/epydoc/yade._qt.GLViewer-class.html<http://beta.arcig.cz/%7Eeudoxos/yade/epydoc/yade._qt.GLViewer-class.html>,
> you can also use dir(v) (which is a python built-in for class
> attributes), os use v.<tab> in ipython to show completions.
>
> HTH, v.
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help   : https://help.launchpad.net/ListHelp
>

References