Hi Robert,
On Wed, Oct 03, 2007 at 09:11:21AM +0100, Robert Osfield wrote:
On 10/3/07, Michael Wittman [EMAIL PROTECTED] wrote:
It's possible to add support to osgDotNet for upcasts along non-leftmost
inheritance branches. But downcasting in the same situation is a much
harder problem,
Hi Christophe,
That gives error message
Cannot convert type 'OsgGA.GUIActionAdapter' to 'OsgViewer.Viewer'
via a built-in conversion.
Doing a direct cast, viewer = (OsgViewer.Viewer)aa, also gives a
error message when compiling in Visual Studio 2005.
Christoffer
Christophe Medard
: Tuesday, October 02, 2007 1:24 PM
Subject: Re: [osg-users] dynamic_cast equivalent in osgDotNet
Hi Christophe,
That gives error message
Cannot convert type 'OsgGA.GUIActionAdapter' to 'OsgViewer.Viewer'
via a built-in conversion.
Doing a direct cast, viewer = (OsgViewer.Viewer)aa
3 matches
Mail list logo