OSG
3.4.0
|
#include <InputStream.h>
Public Types | |
enum | ReadType { READ_UNKNOWN = 0, READ_SCENE, READ_IMAGE, READ_OBJECT } |
typedef std::map< unsigned int, osg::ref_ptr< osg::Array > > | ArrayMap |
typedef std::map< unsigned int, osg::ref_ptr< osg::Object > > | IdentifierMap |
Public Attributes | |
ObjectProperty | PROPERTY |
ObjectMark | BEGIN_BRACKET |
ObjectMark | END_BRACKET |
Protected Types | |
typedef std::map< std::string, int > | VersionMap |
Protected Member Functions | |
void | checkStream () |
void | setWrapperSchema (const std::string &name, const std::string &properties) |
template<typename T > | |
void | readArrayImplementation (T *a, unsigned int numComponentsPerElements, unsigned int componentSizeInBytes) |
Protected Attributes | |
ArrayMap | _arrayMap |
IdentifierMap | _identifierMap |
VersionMap | _domainVersionMap |
int | _fileVersion |
bool | _useSchemaData |
bool | _forceReadingImage |
std::vector< std::string > | _fields |
osg::ref_ptr< InputIterator > | _in |
osg::ref_ptr< InputException > | _exception |
osg::ref_ptr< const osgDB::Options > | _options |
osg::ref_ptr< osg::Object > | _dummyReadObject |
std::stringstream * | _dataDecompress |
Definition at line 63 of file InputStream.h.
typedef std::map< unsigned int, osg::ref_ptr<osg::Array> > osgDB::InputStream::ArrayMap |
Definition at line 66 of file InputStream.h.
typedef std::map< unsigned int, osg::ref_ptr<osg::Object> > osgDB::InputStream::IdentifierMap |
Definition at line 67 of file InputStream.h.
|
protected |
Definition at line 212 of file InputStream.h.
Enumerator | |
---|---|
READ_UNKNOWN | |
READ_SCENE | |
READ_IMAGE | |
READ_OBJECT |
Definition at line 69 of file InputStream.h.
osgDB::InputStream::InputStream | ( | const osgDB::Options * | options | ) |
|
virtual |
|
inline |
Definition at line 154 of file InputStream.h.
|
inlineprotected |
void osgDB::InputStream::decompress | ( | ) |
|
inline |
Definition at line 195 of file InputStream.h.
int osgDB::InputStream::getFileVersion | ( | const std::string & | d = std::string() | ) | const |
|
inline |
Definition at line 84 of file InputStream.h.
|
inline |
|
inline |
|
inline |
Definition at line 87 of file InputStream.h.
|
inline |
Definition at line 88 of file InputStream.h.
|
inline |
Definition at line 89 of file InputStream.h.
|
inline |
Definition at line 90 of file InputStream.h.
|
inline |
Definition at line 91 of file InputStream.h.
|
inline |
Definition at line 92 of file InputStream.h.
|
inline |
Definition at line 93 of file InputStream.h.
|
inline |
Definition at line 94 of file InputStream.h.
|
inline |
Definition at line 95 of file InputStream.h.
|
inline |
Definition at line 96 of file InputStream.h.
|
inline |
Definition at line 97 of file InputStream.h.
|
inline |
Definition at line 98 of file InputStream.h.
|
inline |
Definition at line 99 of file InputStream.h.
|
inline |
Definition at line 100 of file InputStream.h.
|
inline |
Definition at line 101 of file InputStream.h.
|
inline |
Definition at line 103 of file InputStream.h.
|
inline |
Definition at line 104 of file InputStream.h.
|
inline |
Definition at line 105 of file InputStream.h.
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec2b & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec3b & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec4b & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec2ub & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec3ub & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec4ub & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec2s & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec3s & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec4s & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec2us & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec3us & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec4us & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec2i & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec3i & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec4i & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec2ui & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec3ui & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec4ui & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec2f & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec3f & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec4f & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec2d & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec3d & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Vec4d & | v | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Quat & | q | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Plane & | p | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Matrixf & | mat | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::Matrixd & | mat | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::BoundingBoxf & | bb | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::BoundingBoxd & | bb | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::BoundingSpheref & | bs | ) |
InputStream& osgDB::InputStream::operator>> | ( | osg::BoundingSphered & | bs | ) |
|
inline |
|
inline |
Definition at line 141 of file InputStream.h.
|
inline |
Definition at line 142 of file InputStream.h.
|
inline |
Definition at line 143 of file InputStream.h.
|
inline |
|
inline |
Definition at line 146 of file InputStream.h.
|
inline |
Definition at line 147 of file InputStream.h.
|
inline |
Definition at line 149 of file InputStream.h.
osg::Array* osgDB::InputStream::readArray | ( | ) |
|
protected |
|
inline |
Definition at line 156 of file InputStream.h.
|
inline |
Definition at line 157 of file InputStream.h.
osg::Image* osgDB::InputStream::readImage | ( | bool | readFromExternal = true | ) |
osg::Object* osgDB::InputStream::readObject | ( | osg::Object * | existingObj = 0 | ) |
osg::Object* osgDB::InputStream::readObjectFields | ( | const std::string & | className, |
unsigned int | id, | ||
osg::Object * | existingObj = 0 |
||
) |
|
inline |
osg::PrimitiveSet* osgDB::InputStream::readPrimitiveSet | ( | ) |
void osgDB::InputStream::readSchema | ( | std::istream & | fin | ) |
|
inline |
Definition at line 160 of file InputStream.h.
|
inline |
void osgDB::InputStream::resetSchema | ( | ) |
|
inline |
Definition at line 80 of file InputStream.h.
|
inline |
set an input iterator, used directly when not using InputStream with a traditional file releated stream.
Definition at line 182 of file InputStream.h.
|
protected |
ReadType osgDB::InputStream::start | ( | InputIterator * | ) |
start reading from InputStream treating it as a traditional file releated stream, handles headers and versioning
|
inline |
|
protected |
Definition at line 209 of file InputStream.h.
|
protected |
Definition at line 226 of file InputStream.h.
|
protected |
Definition at line 213 of file InputStream.h.
|
protected |
Definition at line 223 of file InputStream.h.
|
protected |
Definition at line 219 of file InputStream.h.
|
protected |
Definition at line 217 of file InputStream.h.
|
protected |
Definition at line 214 of file InputStream.h.
|
protected |
Definition at line 216 of file InputStream.h.
|
protected |
Definition at line 210 of file InputStream.h.
|
protected |
Definition at line 218 of file InputStream.h.
|
protected |
Definition at line 220 of file InputStream.h.
|
protected |
Definition at line 215 of file InputStream.h.
ObjectMark osgDB::InputStream::BEGIN_BRACKET |
Definition at line 199 of file InputStream.h.
ObjectMark osgDB::InputStream::END_BRACKET |
Definition at line 200 of file InputStream.h.
ObjectProperty osgDB::InputStream::PROPERTY |
Definition at line 198 of file InputStream.h.