Hi guys,

I am having some trouble inheriting from osgParticle::Interpolator. I don't 
inherit from abstract classes often, so forgive me if i've missed something.

My class:

http://pastebin.com/4vy4Vqin

As far as I can tell, the only pure virtual function in Interpolator is the 
interpolator() function (going by this 
(http://aap.papnet.eu/osgALL/a01813_source.html) web page). As you can see, my 
class overrides this function and yet I still get the error about instantiating 
an abstract class when I try to make an object of it.

After a bit of googling, I found that the problem might have been that I wasn't 
making the overridden function const, but that didn't solve anything either.

Does anyone have any experience with this?

Thanks, Simon.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=42759#42759





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to