1 #ifndef __ThreeDOutOpenSceneGraph_hh__
2 #define __ThreeDOutOpenSceneGraph_hh__
4 #include <bias_config.h>
5 #include <Base/Common/FileHandling.hh>
6 #include <Utils/ThreeDOut.hh>
14 template <
class T>
class ref_ptr;
36 return VRMLOut(filename);
38 return OpenSceneGraphOut(filename);
50 int OpenSceneGraphOut(
const std::string &filename)
const;
65 { TexImgExtension_ = ext; }
72 const std::string &filename )
const;
85 osg::Node * AddOSGIndexedFaceSets_(
bool exporttextures,
86 std::string graphfilename)
const;
92 std::string graphfilename)
const;
96 bool camEllipsoids=
false)
const;
100 GenerateFilename_(std::string graphfilename,
102 unsigned int texnumber)
const;
112 #endif // __ThreeDOutOpenSceneGraph_hh__
void SetImageFileExtension(std::string ext)
Set the file extension and type of the saved textures.
Unified output of 3D entities via OpenGL or VRML.
configuration struct for drawing styles of various 3d objects
std::string TexImgExtension_
virtual int WriteToFile(const std::string &filename)
Generic write method (wrapper for OpenSceneGraphOut).
a class for exporting ThreeDOut objects to OSG scene graphs
static std::string Extension(const std::string &fullname)
Get file extension (without dot!) from given path and filename.