1 #ifndef __OPNESCENEGRAPHHELPER_HH__
2 #define __OPNESCENEGRAPHHELPER_HH__
3 #include <bias_config.h>
5 #include <Base/Image/Image.hh>
6 #include <Utils/TriangleMesh.hh>
50 osg::Image* out,
bool copydata);
52 static bool OSGimageToBIASimage(
const osg::Image* in,
59 ,
const std::string& name);
62 static bool OSG2BIASMatrix(
const osg::Matrixd& OsgMat,
66 osg::Matrixd& OsgMat);
76 const std::string &key, std::string &value);
82 const std::string &key);
88 const std::string &key,
89 const std::string &value);
93 std::map<std::string, std::string> &key_val);
101 const std::string &key,
102 const std::string &value);
111 static std::vector<osg::ref_ptr<osg::Node> >
113 const std::string &key);
119 const std::string &key,
Create and represent a 3D triangle mesh.
std::ostream & operator<<(std::ostream &os, const Array2D< T > &arg)
Utility class for using OpenSceneGraph.