Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

OpenSGConvert.h

Go to the documentation of this file.
00001 #ifndef GMTL_OPENSG_CONVERT_H_
00002 #define GMTL_OPENSG_CONVERT_H_
00003 
00009 #include <gmtl/Matrix.h>
00010 #include <gmtl/Generate.h>
00011 #include <OpenSG/OSGMatrix.h>
00012 
00013 namespace gmtl
00014 {
00015 
00021 inline
00022 Matrix44f& set( Matrix44f& mat, const osg::Matrix& osg_mat )
00023 {
00024    mat.set(osg_mat.getValues());
00025    return mat;
00026 }
00027 
00033 inline
00034 osg::Matrix& set(osg::Matrix& osg_mat, const Matrix44f& mat)
00035 {
00036    osg_mat.setValue( mat.getData() );
00037    return osg_mat;
00038 }
00039 
00040 }
00041 
00042 #endif
00043 

Generated on Mon Apr 7 15:28:55 2003 for GenericMathTemplateLibrary by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002