OpenSceneGraph
3.5.1
|
Public Types | |
enum | WriteType { WRITE_UNKNOWN = 0, WRITE_SCENE, WRITE_IMAGE, WRITE_OBJECT } |
enum | WriteImageHint { WRITE_USE_IMAGE_HINT = 0, WRITE_USE_EXTERNAL, WRITE_INLINE_DATA, WRITE_INLINE_FILE, WRITE_EXTERNAL_FILE } |
typedef std::map< const osg::Array *, unsigned int > | ArrayMap |
typedef std::map< const osg::Object *, unsigned int > | ObjectMap |
Public Attributes | |
ObjectProperty | PROPERTY |
ObjectMark | BEGIN_BRACKET |
ObjectMark | END_BRACKET |
Protected Types | |
typedef std::map< std::string, int > | VersionMap |
typedef std::map< std::string, std::string > | SchemaMap |
Protected Member Functions | |
template<typename T > | |
void | writeArrayImplementation (const T *, int write_size, unsigned int numInRow=1) |
unsigned int | findOrCreateArrayID (const osg::Array *array, bool &newID) |
unsigned int | findOrCreateObjectID (const osg::Object *obj, bool &newID) |
Protected Attributes | |
ArrayMap | _arrayMap |
ObjectMap | _objectMap |
VersionMap | _domainVersionMap |
WriteImageHint | _writeImageHint |
bool | _useSchemaData |
bool | _useRobustBinaryFormat |
SchemaMap | _inbuiltSchemaMap |
std::vector< std::string > | _fields |
std::string | _schemaName |
std::string | _compressorName |
std::stringstream | _compressSource |
osg::ref_ptr< OutputIterator > | _out |
osg::ref_ptr< OutputException > | _exception |
osg::ref_ptr< const osgDB::Options > | _options |
typedef std::map<const osg::Array*, unsigned int> osgDB::OutputStream::ArrayMap |
typedef std::map<const osg::Object*, unsigned int> osgDB::OutputStream::ObjectMap |
|
protected |
|
protected |
osgDB::OutputStream::OutputStream | ( | const osgDB::Options * | options | ) |
|
virtual |
void osgDB::OutputStream::compress | ( | std::ostream * | ostream | ) |
|
protected |
|
protected |
|
inline |
int osgDB::OutputStream::getFileVersion | ( | const std::string & | d = std::string() | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec2b & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec3b & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec4b & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec2ub & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec3ub & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec4ub & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec2s & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec3s & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec4s & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec2us & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec3us & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec4us & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec2i & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec3i & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec4i & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec2ui & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec3ui & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec4ui & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec2f & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec3f & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec4f & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec2d & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec3d & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Vec4d & | v | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Quat & | q | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Plane & | p | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Matrixf & | mat | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::Matrixd & | mat | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::BoundingBoxf & | bb | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::BoundingBoxd & | bb | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::BoundingSpheref & | bb | ) |
OutputStream& osgDB::OutputStream::operator<< | ( | const osg::BoundingSphered & | bb | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
set an output iterator, used directly when not using OutputStream with a traditional file releated stream.
|
inline |
void osgDB::OutputStream::start | ( | OutputIterator * | outIterator, |
WriteType | type | ||
) |
start writing to OutputStream treating it as a traditional file releated stream, handles headers and versioning
|
inline |
void osgDB::OutputStream::writeArray | ( | const osg::Array * | a | ) |
|
protected |
|
inline |
void osgDB::OutputStream::writeImage | ( | const osg::Image * | img | ) |
void osgDB::OutputStream::writeObject | ( | const osg::Object * | obj | ) |
void osgDB::OutputStream::writeObjectFields | ( | const osg::Object * | obj | ) |
void osgDB::OutputStream::writeObjectFields | ( | const osg::Object * | obj, |
const std::string & | compoundName | ||
) |
void osgDB::OutputStream::writePrimitiveSet | ( | const osg::PrimitiveSet * | p | ) |
void osgDB::OutputStream::writeSchema | ( | std::ostream & | fout | ) |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
ObjectMark osgDB::OutputStream::BEGIN_BRACKET |
ObjectMark osgDB::OutputStream::END_BRACKET |
ObjectProperty osgDB::OutputStream::PROPERTY |
Generated at Wed Nov 11 2015 22:14:55 for the OpenSceneGraph by doxygen 1.8.10. |