15#ifndef OSGDB_INPUTSTREAM
16#define OSGDB_INPUTSTREAM
48 for (
unsigned int i=0; i<fields.size(); ++i )
66 typedef std::map< unsigned int, osg::ref_ptr<osg::Array> >
ArrayMap;
67 typedef std::map< unsigned int, osg::ref_ptr<osg::Object> >
IdentifierMap;
152 void readComponentArray(
char* s,
unsigned int numElements,
unsigned int numComponentsPerElements,
unsigned int componentSizeInBytes) {
_in->readComponentArray( s, numElements, numComponentsPerElements, componentSizeInBytes); }
155 unsigned int readSize() {
unsigned int size; *
this>>size;
return size; }
166 T* ptr =
dynamic_cast<T*
>(obj.
get());
167 if (ptr) {
return ptr; }
179 T* ptr =
dynamic_cast<T*
>(obj.
get());
180 if (ptr) {
return ptr; }
240 if (
_in->isFailed() )
A plane class. It can be used to represent an infinite plane.
Definition Plane:34
T * get() const
Definition ref_ptr:117
BoundingBoxImpl< Vec3d > BoundingBoxd
Definition BoundingBox:252
BoundingBoxImpl< Vec3f > BoundingBoxf
Definition BoundingBox:251
BoundingSphereImpl< Vec3f > BoundingSpheref
Definition BoundingSphere:308
BoundingSphereImpl< Vec3d > BoundingSphered
Definition BoundingSphere:309
#define OSGDB_EXPORT
Definition osgDB/Export:39