- Timestamp:
- 02/24/10 11:25:50 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/fbx/ReaderWriterFBX.h
r10780 r11109 2 2 #define READERWRITERFBX_H 3 3 4 #include <OpenThreads/ReentrantMutex>5 4 #include <osgDB/ReaderWriter> 6 5 … … 15 14 { 16 15 supportsExtension("fbx", "FBX format"); 16 supportsOption("Embedded", "Embed textures in FBX file when writing"); 17 supportsOption("UseFbxRoot", "(Read/write option) If the source OSG root node is a simple group with no stateset, the writer will put its children directly under the FBX root, and vice-versa for reading"); 17 18 } 18 19 19 20 const char* className() const { return "FBX reader/writer"; } 20 21 21 /// The FBX SDK interprets the filename as UTF-8 22 ReadResult readNode(const std::string& utf8filename, const Options*) const; 23 24 private: 25 mutable OpenThreads::ReentrantMutex _serializerMutex; 22 virtual ReadResult readNode(const std::string& filename, const Options*) const; 23 virtual WriteResult writeNode(const osg::Node&, const std::string& filename, const Options*) const; 26 24 }; 27 25
