Hi,

On Wednesday 08 October 2008 11:42, Robert Osfield wrote:
> The changes to osgShadow I don't feel ideal - and lead to a even more
> confusion about what class/methods are doing. Could you post the
> compile errors you are getting and I'll ponder on what refactoring of
> the code would be required, it might well be more code changes than
> you've done, but I'd prefer to make the more changes and make the code
> more readable/maintainable than go for a quick and easy fix.
:)
Good luck.

Basically: you cannot access the protected nested 
ShadowTechnique::CameraCullCallback class from any derived class nested class 
like MinimalDrawBoundsShadowMap::ViewData.

The exact message:
Error 
182: 
"/home/froehl/PowerVIZ/osg/OpenSceneGraph/src/osgShadow/MinimalDrawBoundsShadowMap.cpp",
 
line 332 # "void
    
osgShadow::MinimalDrawBoundsShadowMap::ViewData::init(osgShadow::MinimalDrawBoundsShadowMap
 
*,osgUtil::CullVisitor *)" cannot
    access protected member class CameraCullCallback.
        _boundAnalysisCamera->setCullCallback( new 
BaseClass::CameraCullCallback(st) );


Mathias


-- 
Dr. Mathias Fröhlich, science + computing ag, Software Solutions
Hagellocher Weg 71-75, D-72070 Tuebingen, Germany
Phone: +49 7071 9457-268, Fax: +49 7071 9457-511
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 


_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to