OpenSceneGraph
3.0.1
|
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 |
Protected Member Functions | |
void | checkStream () |
void | setWrapperSchema (const std::string &name, const std::string &properties) |
template<typename T > | |
void | readArrayImplementation (T *a, int read_size, bool useByteSwap=false) |
Protected Attributes | |
ArrayMap | _arrayMap |
IdentifierMap | _identifierMap |
int | _fileVersion |
int | _byteSwap |
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 |
std::stringstream * | _dataDecompress |
typedef std::map< unsigned int, osg::ref_ptr<osg::Array> > osgDB::InputStream::ArrayMap |
typedef std::map< unsigned int, osg::ref_ptr<osg::Object> > osgDB::InputStream::IdentifierMap |
osgDB::InputStream::InputStream | ( | const osgDB::Options * | options | ) |
|
virtual |
|
inline |
|
inlineprotected |
References _in, and throwException().
void osgDB::InputStream::decompress | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by osgDB::UserSerializer< C >::read(), osgDB::PropByValSerializer< C, P >::read(), osgDB::PropByRefSerializer< C, P >::read(), osgDB::MatrixSerializer< C >::read(), osgDB::GLenumSerializer< C, P >::read(), osgDB::StringSerializer< C >::read(), osgDB::ObjectSerializer< C, P >::read(), osgDB::ImageSerializer< C, P >::read(), osgDB::EnumSerializer< C, P, B >::read(), and osgDB::ListSerializer< C, P >::read().
|
inline |
Referenced by osgDB::UserSerializer< C >::read(), osgDB::PropByValSerializer< C, P >::read(), osgDB::PropByRefSerializer< C, P >::read(), osgDB::MatrixSerializer< C >::read(), osgDB::GLenumSerializer< C, P >::read(), osgDB::StringSerializer< C >::read(), osgDB::ObjectSerializer< C, P >::read(), osgDB::ImageSerializer< C, P >::read(), osgDB::EnumSerializer< C, P, B >::read(), and osgDB::ListSerializer< C, P >::read().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
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::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::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 | ) |
|
inline |
|
inline |
References osg::readImage().
|
inline |
|
inline |
|
inline |
|
inline |
References osg::readImage().
|
inline |
|
inline |
osg::Array* osgDB::InputStream::readArray | ( | ) |
|
protected |
|
inline |
osg::Image* osgDB::InputStream::readImage | ( | bool | readFromExternal = true | ) |
Referenced by osgDB::ImageSerializer< C, P >::read().
osg::Object* osgDB::InputStream::readObject | ( | osg::Object * | existingObj = 0 | ) |
Referenced by osgDB::ObjectSerializer< C, P >::read().
osg::Object* osgDB::InputStream::readObjectFields | ( | const std::string & | className, |
osg::Object * | existingObj = 0 |
||
) |
osg::PrimitiveSet* osgDB::InputStream::readPrimitiveSet | ( | ) |
void osgDB::InputStream::readSchema | ( | std::istream & | fin | ) |
|
inline |
|
inline |
Referenced by osgDB::StringSerializer< C >::read().
void osgDB::InputStream::resetSchema | ( | ) |
|
inline |
set an input iterator, used directly when not using InputStream with a traditional file releated stream.
|
protected |
ReadType osgDB::InputStream::start | ( | InputIterator * | ) |
start reading from InputStream treating it as a traditional file releated stream, handles headers and versioning
|
inline |
References _exception, and _fields.
Referenced by checkStream().
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by throwException().
|
protected |
Referenced by throwException().
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by checkStream().
|
protected |
|
protected |
![]() | Generated at Fri Sep 7 2012 02:20:31 for the OpenSceneGraph by doxygen 1.8.1.2. |