OpenSceneGraph
3.0.1
|
Public Types | |
typedef TemplateSerializer < osg::Matrix > | ParentType |
typedef const osg::Matrix &(C::* | Getter )() const |
typedef void(C::* | Setter )(const osg::Matrix &) |
Public Member Functions | |
MatrixSerializer (const char *name, const osg::Matrix &def, Getter gf, Setter sf) | |
virtual bool | read (InputStream &is, osg::Object &obj) |
virtual bool | write (OutputStream &os, const osg::Object &obj) |
Public Attributes | |
Getter | _getter |
Setter | _setter |
Protected Member Functions | |
void | readMatrixImplementation (InputStream &is, osg::Matrix &matrix) |
typedef const osg::Matrix&(C::* osgDB::MatrixSerializer< C >::Getter)() const |
typedef TemplateSerializer<osg::Matrix> osgDB::MatrixSerializer< C >::ParentType |
typedef void(C::* osgDB::MatrixSerializer< C >::Setter)(const osg::Matrix &) |
osgDB::MatrixSerializer< C >::MatrixSerializer | ( | const char * | name, |
const osg::Matrix & | def, | ||
Getter | gf, | ||
Setter | sf | ||
) | [inline] |
virtual bool osgDB::MatrixSerializer< C >::read | ( | InputStream & | is, |
osg::Object & | obj | ||
) | [inline, virtual] |
Implements osgDB::TemplateSerializer< osg::Matrix >.
References osgDB::TemplateSerializer< osg::Matrix >::_defaultValue, osgDB::TemplateSerializer< osg::Matrix >::_name, osgDB::MatrixSerializer< C >::_setter, osgDB::InputStream::isBinary(), osgDB::InputStream::matchString(), and osgDB::MatrixSerializer< C >::readMatrixImplementation().
void osgDB::MatrixSerializer< C >::readMatrixImplementation | ( | InputStream & | is, |
osg::Matrix & | matrix | ||
) | [inline, protected] |
Referenced by osgDB::MatrixSerializer< C >::read().
virtual bool osgDB::MatrixSerializer< C >::write | ( | OutputStream & | os, |
const osg::Object & | obj | ||
) | [inline, virtual] |
Getter osgDB::MatrixSerializer< C >::_getter |
Referenced by osgDB::MatrixSerializer< C >::write().
Setter osgDB::MatrixSerializer< C >::_setter |
Referenced by osgDB::MatrixSerializer< C >::read().
![]() | Generated at Fri Apr 27 2012 20:41:28 for the OpenSceneGraph by doxygen 1.8.0. |