Hi Alan, The osgTerrain::DataSet classes are not designed to be overridden by end users, rather just used as a black box.
Over the coming 6 months I will be writing a new version of the osgTerrain::DataSet's database generation facilities. I'll discuss this work when it commences. Its not in the current spec to make it friendlier to extending like what you are trying, but its something to think about when the time comes. A few details about this project can be found on the wiki - do a search for osgTerrain. As part of this work on database generation I'll be separating osgTerrain, with pure extensions to the scene graph staying in osgTerrain and the database generation codes moving out into a separate project that will be focused on the issues of building terrain databases. osgTerrain will then become a true NodeKit as per osgParticle, osgText etc. As yet we don't have a name for the database generation project once its split out from osgTerrain. Suggests welcome ;-) Robert. On 1/3/07, Alan Harris <[EMAIL PROTECTED]> wrote:
In DataSet::SourceData the function readHeightField() is virtual. I do not understand (know) how to code and override this structure function when it is embedded and used within another class (DataSet). The class SourceData is used directly within the DataSet class and cannot see how overide would be used. Anu help with this would be appreciated. -- Regards Alan Harris ReSoft Ltd Cornwallis, Burycroft Road Hook Norton Banbury, OX15 5PR, UK Tel: +44 (0) 1608 730707 Email: [EMAIL PROTECTED] Web: www.resoft.co.uk _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
