From Wang Rui, serializers for osgSim and osgVolume

This commit is contained in:
Robert Osfield
2010-05-18 11:00:06 +00:00
parent f5587bad3d
commit 4a0c21a5fc
58 changed files with 1298 additions and 55 deletions

View File

@@ -0,0 +1,12 @@
#include <osgVolume/Property>
#include <osgDB/ObjectWrapper>
#include <osgDB/InputStream>
#include <osgDB/OutputStream>
REGISTER_OBJECT_WRAPPER( osgVolume_TransferFunctionProperty,
new osgVolume::TransferFunctionProperty,
osgVolume::TransferFunctionProperty,
"osg::Object osgVolume::Property osgVolume::TransferFunctionProperty" )
{
ADD_OBJECT_SERIALIZER( TransferFunction, osg::TransferFunction, NULL ); // _tf
}