Hi Rogerz,

osgViewer::Viewer is a subclassed from View, and while there isn't a
direct assignment operator from a view to a viewer, you can take the
settings from one View to a Viewer using the
viewer.take(*viewPointer);

Robert.

On Tue, Apr 13, 2010 at 7:51 AM, myth0904 <[email protected]> wrote:
> Hi,
> How to construct an instance of  osgviewer::viewer from osgviewer::view?
>
> I know osgviewer::compositeViewer has an interface
> compositeviewer::addView(), which can be used to assign view instance to
> compositeViewer.
>
> However, i don't find any similar interface in osgviewer::viewer.
>
>
> ________________________________
> Rogerz
> 2010-04-13
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to