
On 29.06.2012 11:31, William Chu wrote:
Hi Jan,
Thank you for your help!
I am trying to get a hand on these integrated viewers and I have a question now: If I want my plugin to use and to setup an integrated viewer (called an "examiner_widget" if I'm not wrong), how can I get a handler on the 2nd examiner_widget, for example? I searched the PluginFunctions and couldn't find a public function allowing me to do this.
Hi, You should not get direcect access to the widget itself. Use the Pluginfunctions (Especially in ViewControl) to setup the required orthogonal view. Best, Jan Möbius
With regards, William Chu
2012/6/25 Jan Möbius <moebius@cs.rwth-aachen.de <mailto:moebius@cs.rwth-aachen.de>>
On 20.06.2012 09:50, William Chu wrote: > Hello, > > One month ago I discovered OpenFlipper and I started working on a plugin. > I am currently striving for adding a new scene viewer and I wish you > could help me since I am having some difficulties. > > Here are the features I want to implement that give me troubles: > My plugin can open a new popup window which shows a 2D-planar-view of > the 3D-mesh currently loaded in the main OpenFlipper's viewport. > In this popup, the user is provided with some features already available > in the main Openflipper's viewport such as zoom/pan and pick. > > Actually, I digged into OpenMesh's Core and CoreWidget source code to > check the main viewport's display and try to adapt it to my plugin. > At this point, I am trying to copy the main scenegraph's structure and > to create another scenegraph, handled by my plugin so that my plugin > doesn't mess with OpenFlipper's own scenegraph. > > I am wondering if I am currently heading in the good direction or if > it's possible to achieve my goals by the mean of adding nodes in > Openflipper's main scenegraph, or any other way you could indicate me. > > Thanks for your help! > William Chu > > > _______________________________________________ > Openflipper mailing list > Openflipper@lists.rwth-aachen.de <mailto:Openflipper@lists.rwth-aachen.de> > http://mailman.rwth-aachen.de/mailman/listinfo/openflipper
Hi,
maybe you can just use one of the integrated viewers (Hit space to activate them). You can set one of them to orthogonal projection and setup the modelview and projection. Then you can use all integrated features of the standard viewer.
Best, Jan
-- Dipl.Inform. Jan Möbius Department of Computer Science VIII Aachen University of Technology (RWTH) Ahornstrasse 55, 52074 Aachen, Germany
Phone ++49 (0)241 80-21817 Fax ++49 (0)241 80-22899 mailto:moebius@cs.rwth-aachen.de <mailto:moebius@cs.rwth-aachen.de> http://www.rwth-graphics.de _______________________________________________ Openflipper mailing list Openflipper@lists.rwth-aachen.de <mailto:Openflipper@lists.rwth-aachen.de> http://mailman.rwth-aachen.de/mailman/listinfo/openflipper
_______________________________________________ Openflipper mailing list Openflipper@lists.rwth-aachen.de http://mailman.rwth-aachen.de/mailman/listinfo/openflipper
-- Dipl.Inform. Jan Möbius Department of Computer Science VIII Aachen University of Technology (RWTH) Ahornstrasse 55, 52074 Aachen, Germany Phone ++49 (0)241 80-21817 Fax ++49 (0)241 80-22899 mailto:moebius@cs.rwth-aachen.de http://www.rwth-graphics.de