
Public Types | |
| enum | { GeoPropDataFieldId = LocalInherited::NextFieldId, NextFieldId = GeoPropDataFieldId + 1 } |
| typedef GeoProperty < GeoPropertyDesc > | PropertyType |
| typedef GeoProperty < GeoPropertyDesc > | Self |
| typedef FCPtr < LocalInheritedPtr, PropertyType > | PtrType |
| typedef GeoPropertyDesc::StoredFieldType | StoredFieldType |
| typedef GeoPropertyDesc::GenericType | StoredGenericType |
| typedef StoredFieldType::StoredType | StoredType |
| typedef AbstractGeoProperty < GeoPropertyDesc > | PropertyType |
| typedef FCPtr< typename GeoPropertyDesc::InheritedPtr, PropertyType > | PtrType |
| typedef GeoPropertyInterface < GeoPropertyDesc > | InterfaceType |
| typedef GeoPropertyDesc::GenericType | GenericType |
| typedef GeoPropertyArrayInterface | Inherited |
Typedefs | |
| typedef UInt32 | GenericType |
| typedef Attachment | Inherited |
| typedef AttachmentPtr | InheritedPtr |
| typedef AttachmentPropertyDesc | InheritedDesc |
| typedef GeoPropertyInterface < GeoIndicesPropertyDesc > | Interface |
Typedefs | |
| typedef GeoIndices | Inherited |
| typedef GeoIndices::PtrType | InheritedPtr |
| typedef GeoIndicesPropertyDesc | InheritedDesc |
| typedef MFUInt32 | StoredFieldType |
| typedef InheritedDesc::GenericType | GenericType |
| typedef GeoPropertyInterface < GeoIndicesPropertyDesc > | Interface |
Public Member Functions | |
| virtual osg::FieldContainerType & | getType (void) |
| virtual const osg::FieldContainerType & | getType (void) const |
| virtual osg::FieldContainerPtr | shallowCopy (void) const |
| virtual osg::UInt32 | getContainerSize (void) const |
| template<> | |
| Vec3f | getValue (const UInt32 index) |
| template<> | |
| Vec3f | getValue (const UInt32 index) const |
| template<> | |
| void | getValue (Vec3f &res, const UInt32 index) |
| template<> | |
| void | getValue (Vec3f &res, const UInt32 index) const |
| template<> | |
| Vec3f | getValue (const UInt32 index) |
| template<> | |
| Vec3f | getValue (const UInt32 index) const |
| template<> | |
| void | getValue (Vec3f &res, const UInt32 index) |
| template<> | |
| void | getValue (Vec3f &res, const UInt32 index) const |
| template<> | |
| Vec2f | getValue (const UInt32 index) |
| template<> | |
| Vec2f | getValue (const UInt32 index) const |
| template<> | |
| void | getValue (Vec2f &res, const UInt32 index) |
| template<> | |
| void | getValue (Vec2f &res, const UInt32 index) const |
| template<> | |
| Vec2f | getValue (const UInt32 index) |
| template<> | |
| Vec2f | getValue (const UInt32 index) const |
| template<> | |
| void | getValue (Vec2f &res, const UInt32 index) |
| template<> | |
| void | getValue (Vec2f &res, const UInt32 index) const |
| template<> | |
| Vec2f | getValue (const UInt32 index) |
| template<> | |
| Vec2f | getValue (const UInt32 index) const |
| template<> | |
| void | getValue (Vec2f &res, const UInt32 index) |
| template<> | |
| void | getValue (Vec2f &res, const UInt32 index) const |
| template<> | |
| Vec2f | getValue (const UInt32 index) |
| template<> | |
| Vec2f | getValue (const UInt32 index) const |
| template<> | |
| void | getValue (Vec2f &res, const UInt32 index) |
| template<> | |
| void | getValue (Vec2f &res, const UInt32 index) const |
| template<> | |
| Vec2f | getValue (const UInt32 index) |
| template<> | |
| Vec2f | getValue (const UInt32 index) const |
| template<> | |
| void | getValue (Vec2f &res, const UInt32 index) |
| template<> | |
| void | getValue (Vec2f &res, const UInt32 index) const |
| template<> | |
| Vec2f | getValue (const UInt32 index) |
| template<> | |
| Vec2f | getValue (const UInt32 index) const |
| template<> | |
| void | getValue (Vec2f &res, const UInt32 index) |
| template<> | |
| void | getValue (Vec2f &res, const UInt32 index) const |
| template<> | |
| Vec2f | getValue (const UInt32 index) |
| template<> | |
| Vec2f | getValue (const UInt32 index) const |
| template<> | |
| void | getValue (Vec2f &res, const UInt32 index) |
| template<> | |
| void | getValue (Vec2f &res, const UInt32 index) const |
| template<> | |
| void | setValue (const Vec3f &val, const UInt32 index) |
| template<> | |
| void | setValue (const Vec3f &val, const UInt32 index) |
| template<> | |
| void | setValue (const Vec2f &val, const UInt32 index) |
| template<> | |
| void | setValue (const Vec2f &val, const UInt32 index) |
| template<> | |
| void | setValue (const Vec2f &val, const UInt32 index) |
| template<> | |
| void | setValue (const Vec2f &val, const UInt32 index) |
| template<> | |
| void | setValue (const Vec2f &val, const UInt32 index) |
| template<> | |
| void | setValue (const Vec2f &val, const UInt32 index) |
| template<> | |
| void | setValue (const Vec2f &val, const UInt32 index) |
| template<> | |
| void | addValue (const Vec3f &val) |
| template<> | |
| void | addValue (const Vec3f &val) |
| template<> | |
| void | addValue (const Vec2f &val) |
| template<> | |
| void | addValue (const Vec2f &val) |
| template<> | |
| void | addValue (const Vec2f &val) |
| template<> | |
| void | addValue (const Vec2f &val) |
| template<> | |
| void | addValue (const Vec2f &val) |
| template<> | |
| void | addValue (const Vec2f &val) |
| template<> | |
| void | addValue (const Vec2f &val) |
| template<> | |
| bool | insertValue (const Vec3f &val, const UInt32 index) |
| template<> | |
| bool | insertValue (const Vec3f &val, const UInt32 index) |
| template<> | |
| bool | insertValue (const Vec2f &val, const UInt32 index) |
| template<> | |
| bool | insertValue (const Vec2f &val, const UInt32 index) |
| template<> | |
| bool | insertValue (const Vec2f &val, const UInt32 index) |
| template<> | |
| bool | insertValue (const Vec2f &val, const UInt32 index) |
| template<> | |
| bool | insertValue (const Vec2f &val, const UInt32 index) |
| template<> | |
| bool | insertValue (const Vec2f &val, const UInt32 index) |
| template<> | |
| bool | insertValue (const Vec2f &val, const UInt32 index) |
| virtual osg::FieldContainerType & | getType (void) |
| virtual const osg::FieldContainerType & | getType (void) const |
| virtual osg::UInt32 | getContainerSize (void) const |
Access | |
| StoredFieldType * | getFieldPtr (void) |
| StoredFieldType & | getField (void) |
| const StoredFieldType & | getField (void) const |
| virtual LocalInheritedPtr | clone (void) |
| virtual UInt32 | getFormat (void) const |
| virtual UInt32 | getFormatSize (void) const |
| virtual UInt32 | getStride (void) const |
| virtual UInt32 | getDimension (void) const |
| virtual UInt32 | getSize (void) const |
| virtual UInt32 | size (void) const |
| virtual UInt8 * | getData (void) const |
| StoredFieldType & | operator-> () |
| virtual StoredGenericType | getValue (const UInt32 index) |
| virtual StoredGenericType | getValue (const UInt32 index) const |
| virtual void | getValue (StoredGenericType &val, const UInt32 index) |
| virtual void | getValue (StoredGenericType &val, const UInt32 index) const |
| virtual void | setValue (const StoredGenericType &val, const UInt32 index) |
| virtual void | addValue (const StoredGenericType &val) |
| virtual bool | insertValue (const StoredGenericType &val, const UInt32 index) |
| virtual void | clear () |
| virtual void | resize (size_t newsize) |
| virtual void | push_back (const StoredGenericType &val) |
| virtual void | shrink (void) |
Output | |
| virtual void | dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const |
Access | |
| virtual PtrType | clone (void)=0 |
Dump | |
| virtual void | dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const |
Generic Access | |
| virtual GenericType | getValue (const UInt32 index)=0 |
| virtual GenericType | getValue (const UInt32 index) const =0 |
| virtual void | getValue (GenericType &val, const UInt32 index)=0 |
| virtual void | getValue (GenericType &val, const UInt32 index) const =0 |
| virtual void | setValue (const GenericType &val, const UInt32 index)=0 |
| virtual void | addValue (const GenericType &val)=0 |
| virtual void | push_back (const GenericType &val)=0 |
Get | |
| virtual UInt32 | getFormat (void) const =0 |
| virtual UInt32 | getFormatSize (void) const =0 |
| virtual UInt32 | getStride (void) const =0 |
| virtual UInt32 | getDimension (void) const =0 |
| virtual UInt32 | getSize (void) const =0 |
| virtual UInt32 | size (void) const =0 |
| virtual UInt8 * | getData (void) const =0 |
Generic Access | |
| virtual void | clear (void)=0 |
| virtual void | resize (size_t newsize)=0 |
| virtual void | shrink (void)=0 |
Static Public Member Functions | |
| static osg::FieldContainerType & | getClassType (void) |
| static osg::UInt32 | getClassTypeId (void) |
| static PtrType | create (void) |
| static PtrType | createEmpty (void) |
| static osg::FieldContainerType & | getClassType (void) |
| static osg::UInt32 | getClassTypeId (void) |
Get | |
| static const Char8 * | getTypeName (void) |
| static const Char8 * | getGroupName (void) |
| static const Char8 * | getClassName (void) |
| static InitContainerF | getInitMethod (void) |
Get | |
| static const Char8 * | getTypeName (void) |
| static const Char8 * | getClassName (void) |
| static const Char8 * | getFieldName (void) |
| static const Char8 * | getGroupName (void) |
| static InitContainerF | getInitMethod (void) |
| static UInt32 | getFormat (void) |
| static UInt32 | getFormatSize (void) |
| static UInt32 | getDimension (void) |
| static UInt32 | getStride (void) |
| static FieldDescription ** | getDesc (void) |
Static Public Attributes | |
| static const BitVector | GeoPropDataFieldMask |
| static FieldDescription * | _desc [] |
Protected Member Functions | |
Sync | |
| virtual void | executeSync (FieldContainer &other, const BitVector &whichField) |
| void | executeSyncImpl (GeoProperty *pOther, const BitVector &whichField) |
Changed | |
| virtual void | changed (BitVector whichField, UInt32 origin) |
Binary Operations | |
| virtual UInt32 | getBinSize (const BitVector &whichField) |
| virtual void | copyToBin (BinaryDataHandler &pMem, const BitVector &whichField) |
| virtual void | copyFromBin (BinaryDataHandler &pMem, const BitVector &whichField) |
Protected Attributes | |
| StoredFieldType | _field |
Friends | |
| class | FieldContainer |
| class | FieldContainer |
This is just to give you an idea of the conceptual relations and to help you understand the available methods of this class.
The primarily interesting parts of this are: the GenericType in the first Typedefs section, which describes the generic type for this kind of property, the StoredFieldType, which describes the FieldType of the data actually stored in this Property, and the Public Methods, which describe the interface of this Property. Please disregard duplicate types and methods, they are artifacts of the hoops we had to jump through to make doxygen generate something useful for the GeoProperties.
Definition at line 5618 of file dummyClasses.dox.
typedef GeoProperty<GeoPropertyDesc> osg::GeoProperty< GeoPropertyDesc >::PropertyType [inherited] |
Definition at line 207 of file OSGGeoPropertyBase.h.
typedef GeoProperty<GeoPropertyDesc> osg::GeoProperty< GeoPropertyDesc >::Self [inherited] |
Definition at line 208 of file OSGGeoPropertyBase.h.
typedef FCPtr<LocalInheritedPtr, PropertyType > osg::GeoProperty< GeoPropertyDesc >::PtrType [inherited] |
Definition at line 211 of file OSGGeoPropertyBase.h.
typedef GeoPropertyDesc::StoredFieldType osg::GeoProperty< GeoPropertyDesc >::StoredFieldType [inherited] |
Definition at line 214 of file OSGGeoPropertyBase.h.
typedef GeoPropertyDesc::GenericType osg::GeoProperty< GeoPropertyDesc >::StoredGenericType [inherited] |
Definition at line 215 of file OSGGeoPropertyBase.h.
typedef StoredFieldType::StoredType osg::GeoProperty< GeoPropertyDesc >::StoredType [inherited] |
Definition at line 216 of file OSGGeoPropertyBase.h.
typedef AbstractGeoProperty<GeoPropertyDesc> osg::AbstractGeoProperty< GeoPropertyDesc >::PropertyType [inherited] |
Definition at line 75 of file OSGGeoPropertyBase.h.
typedef FCPtr<typename GeoPropertyDesc::InheritedPtr, PropertyType > osg::AbstractGeoProperty< GeoPropertyDesc >::PtrType [inherited] |
Definition at line 78 of file OSGGeoPropertyBase.h.
typedef GeoPropertyInterface<GeoPropertyDesc> osg::GeoPropertyInterface< GeoPropertyDesc >::InterfaceType [inherited] |
Definition at line 131 of file OSGGeoPropertyInterface.h.
typedef GeoPropertyDesc::GenericType osg::GeoPropertyInterface< GeoPropertyDesc >::GenericType [inherited] |
Definition at line 133 of file OSGGeoPropertyInterface.h.
typedef UInt32 osg::GeoIndicesPropertyDesc::GenericType [inherited] |
Reimplemented in osg::GeoIndicesUI32PropertyDesc, and osg::GeoIndicesUI16PropertyDesc.
Definition at line 392 of file OSGGeoPropertyInterface.h.
typedef GeoPropertyArrayInterface osg::GeoPropertyInterface< GeoPropertyDesc >::Inherited [inherited] |
Definition at line 135 of file OSGGeoPropertyInterface.h.
typedef Attachment osg::GeoIndicesPropertyDesc::Inherited [inherited] |
Reimplemented in osg::GeoIndicesUI32PropertyDesc, and osg::GeoIndicesUI16PropertyDesc.
Definition at line 387 of file OSGGeoPropertyInterface.h.
typedef AttachmentPtr osg::GeoIndicesPropertyDesc::InheritedPtr [inherited] |
Reimplemented in osg::GeoIndicesUI32PropertyDesc, and osg::GeoIndicesUI16PropertyDesc.
Definition at line 388 of file OSGGeoPropertyInterface.h.
typedef AttachmentPropertyDesc osg::GeoIndicesPropertyDesc::InheritedDesc [inherited] |
Reimplemented in osg::GeoIndicesUI32PropertyDesc, and osg::GeoIndicesUI16PropertyDesc.
Definition at line 390 of file OSGGeoPropertyInterface.h.
typedef GeoPropertyInterface<GeoIndicesPropertyDesc> osg::GeoIndicesPropertyDesc::Interface [inherited] |
Reimplemented in osg::GeoIndicesUI32PropertyDesc, and osg::GeoIndicesUI16PropertyDesc.
Definition at line 395 of file OSGGeoPropertyInterface.h.
typedef GeoIndices osg::GeoIndicesUI32PropertyDesc::Inherited [inherited] |
typedef GeoIndices::PtrType osg::GeoIndicesUI32PropertyDesc::InheritedPtr [inherited] |
typedef GeoIndicesPropertyDesc osg::GeoIndicesUI32PropertyDesc::InheritedDesc [inherited] |
typedef MFUInt32 osg::GeoIndicesUI32PropertyDesc::StoredFieldType [inherited] |
Definition at line 86 of file OSGGeoPropIndices.h.
typedef InheritedDesc::GenericType osg::GeoIndicesUI32PropertyDesc::GenericType [inherited] |
typedef GeoPropertyInterface<GeoIndicesPropertyDesc> osg::GeoIndicesUI32PropertyDesc::Interface [inherited] |
anonymous enum [inherited] |
Definition at line 197 of file OSGGeoPropertyBase.h.
00198 { 00199 GeoPropDataFieldId = LocalInherited::NextFieldId, 00200 00201 NextFieldId = GeoPropDataFieldId + 1 00202 };
| virtual osg ::FieldContainerType& osg::GeoProperty< GeoPropertyDesc >::getType | ( | void | ) | [virtual, inherited] |
| virtual const osg ::FieldContainerType& osg::GeoProperty< GeoPropertyDesc >::getType | ( | void | ) | const [virtual, inherited] |
| static osg ::FieldContainerType& osg::GeoProperty< GeoPropertyDesc >::getClassType | ( | void | ) | [static, inherited] |
| static osg ::UInt32 osg::GeoProperty< GeoPropertyDesc >::getClassTypeId | ( | void | ) | [static, inherited] |
| static PtrType osg::GeoProperty< GeoPropertyDesc >::create | ( | void | ) | [static, inherited] |
Referenced by osg::TextTXFFace::addToGeom(), osg::Surface::buildSurface(), osg::calcFaceNormals(), osg::calcFaceNormalsGeo(), osg::calcVertexNormals(), osg::calcVertexNormalsGeo(), osg::calcVertexTangents(), osg::calcVertexTexCoords(), osg::DisplayCalibration::createCMViewports(), osg::createConvexPrimitives(), osg::ExtrusionSurface::createGeometry(), osg::DisplayFilterForeground::DisplayFilterGroup::createGrid(), osg::createSharedIndex(), osg::VRMLGeometryPointSetDesc::endNode(), osg::TextVectorFace::fillGeo(), osg::SimpleSceneManager::highlightChanged(), osg::makeBoxGeo(), osg::makeConicalFrustumGeo(), osg::makeLatLongSphereGeo(), osg::makePlaneGeo(), osg::makeSphereGeo(), osg::makeTorusGeo(), osg::Geometry::merge(), osg::Geometry::merge2(), osg::Geometry::merge4(), osg::RAWSceneFileType::read(), osg::OFFSceneFileType::read(), osg::OBJSceneFileType::read(), osg::Surface::readfromtso(), and osg::GeoTypeGraphOp::travNodeEnter().
| static PtrType osg::GeoProperty< GeoPropertyDesc >::createEmpty | ( | void | ) | [static, inherited] |
| virtual osg ::FieldContainerPtr osg::GeoProperty< GeoPropertyDesc >::shallowCopy | ( | void | ) | const [virtual, inherited] |
| virtual osg ::UInt32 osg::GeoProperty< GeoPropertyDesc >::getContainerSize | ( | void | ) | const [virtual, inherited] |
| GeoProperty< GeoPropertyDesc >::StoredFieldType * osg::GeoProperty< GeoPropertyDesc >::getFieldPtr | ( | void | ) | [inline, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 286 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00287 { 00288 return &_field; 00289 }
| GeoProperty< GeoPropertyDesc >::StoredFieldType & osg::GeoProperty< GeoPropertyDesc >::getField | ( | void | ) | [inline, inherited] |
Returns a reference to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 299 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00300 { 00301 return _field; 00302 }
| const GeoProperty< GeoPropertyDesc >::StoredFieldType & osg::GeoProperty< GeoPropertyDesc >::getField | ( | void | ) | const [inline, inherited] |
Returns a const reference to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 312 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00313 { 00314 return _field; 00315 }
| GeoProperty< GeoPropertyDesc >::LocalInheritedPtr osg::GeoProperty< GeoPropertyDesc >::clone | ( | void | ) | [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 319 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00320 { 00321 PtrType obj = GeoProperty<GeoPropertyDesc>::create(); 00322 00323 obj->_field.setValues( _field ); 00324 return obj; 00325 }
| UInt32 osg::GeoProperty< GeoPropertyDesc >::getFormat | ( | void | ) | const [inline, virtual, inherited] |
| UInt32 osg::GeoProperty< GeoPropertyDesc >::getFormatSize | ( | void | ) | const [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 341 of file OSGGeoPropertyBase.inl.
| UInt32 osg::GeoProperty< GeoPropertyDesc >::getStride | ( | void | ) | const [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 348 of file OSGGeoPropertyBase.inl.
| UInt32 osg::GeoProperty< GeoPropertyDesc >::getDimension | ( | void | ) | const [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 355 of file OSGGeoPropertyBase.inl.
| UInt32 osg::GeoProperty< GeoPropertyDesc >::getSize | ( | void | ) | const [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 362 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00363 { 00364 return _field.size(); 00365 }
| UInt32 osg::GeoProperty< GeoPropertyDesc >::size | ( | void | ) | const [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 369 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00370 { 00371 return _field.size(); 00372 }
| UInt8 * osg::GeoProperty< GeoPropertyDesc >::getData | ( | void | ) | const [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 376 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| StoredFieldType& osg::GeoProperty< GeoPropertyDesc >::operator-> | ( | void | ) | [inline, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 243 of file OSGGeoPropertyBase.h.
00243 { return _field; }
| GeoProperty< GeoPropertyDesc >::StoredGenericType osg::GeoProperty< GeoPropertyDesc >::getValue | ( | const UInt32 | index | ) | [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 384 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00385 { 00386 //CHECKCHECK do conversion constructor iff necessary 00387 return StoredGenericType(_field[index]); 00388 }
| GeoProperty< GeoPropertyDesc >::StoredGenericType osg::GeoProperty< GeoPropertyDesc >::getValue | ( | const UInt32 | index | ) | const [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 392 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00393 { 00394 //CHECKCHECK do conversion constructor iff necessary 00395 return StoredGenericType(_field[index]); 00396 }
| void osg::GeoProperty< GeoPropertyDesc >::getValue | ( | StoredGenericType & | val, | |
| const UInt32 | index | |||
| ) | [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 399 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00401 { 00402 new (&val) StoredGenericType(_field[index]); 00403 }
| void osg::GeoProperty< GeoPropertyDesc >::getValue | ( | StoredGenericType & | val, | |
| const UInt32 | index | |||
| ) | const [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 407 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00410 { 00411 new (&val) StoredGenericType(_field[index]); 00412 }
| Vec3f osg::GeoProperty< GeoNormals3sPropertyDesc >::getValue | ( | const UInt32 | index | ) | [inline, inherited] |
Definition at line 77 of file OSGGeoPropNormals.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::glShortVecToFloatVec().
00078 { 00079 return glShortVecToFloatVec(_field[index]); 00080 }
| Vec3f osg::GeoProperty< GeoNormals3sPropertyDesc >::getValue | ( | const UInt32 | index | ) | const [inline, inherited] |
Definition at line 83 of file OSGGeoPropNormals.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::glShortVecToFloatVec().
00085 { 00086 return glShortVecToFloatVec(_field[index]); 00087 }
| void osg::GeoProperty< GeoNormals3sPropertyDesc >::getValue | ( | Vec3f & | res, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 90 of file OSGGeoPropNormals.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::glShortToFloat().
00093 { 00094 res.setValues(glShortToFloat(_field[index][0]), 00095 glShortToFloat(_field[index][1]), 00096 glShortToFloat(_field[index][2])); 00097 }
| void osg::GeoProperty< GeoNormals3sPropertyDesc >::getValue | ( | Vec3f & | res, | |
| const UInt32 | index | |||
| ) | const [inline, inherited] |
Definition at line 100 of file OSGGeoPropNormals.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::glShortToFloat().
00103 { 00104 res.setValues(glShortToFloat(_field[index][0]), 00105 glShortToFloat(_field[index][1]), 00106 glShortToFloat(_field[index][2])); 00107 }
| Vec3f osg::GeoProperty< GeoNormals3bPropertyDesc >::getValue | ( | const UInt32 | index | ) | [inline, inherited] |
Definition at line 177 of file OSGGeoPropNormals.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::glByteVecToFloatVec().
00178 { 00179 return glByteVecToFloatVec(_field[index]); 00180 }
| Vec3f osg::GeoProperty< GeoNormals3bPropertyDesc >::getValue | ( | const UInt32 | index | ) | const [inline, inherited] |
Definition at line 183 of file OSGGeoPropNormals.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::glByteVecToFloatVec().
00185 { 00186 return glByteVecToFloatVec(_field[index]); 00187 }
| void osg::GeoProperty< GeoNormals3bPropertyDesc >::getValue | ( | Vec3f & | res, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 190 of file OSGGeoPropNormals.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::glByteToFloat().
00193 { 00194 res.setValues(glByteToFloat(_field[index][0]), 00195 glByteToFloat(_field[index][1]), 00196 glByteToFloat(_field[index][2])); 00197 }
| void osg::GeoProperty< GeoNormals3bPropertyDesc >::getValue | ( | Vec3f & | res, | |
| const UInt32 | index | |||
| ) | const [inline, inherited] |
Definition at line 200 of file OSGGeoPropNormals.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::glByteToFloat().
00203 { 00204 res.setValues(glByteToFloat(_field[index][0]), 00205 glByteToFloat(_field[index][1]), 00206 glByteToFloat(_field[index][2])); 00207 }
| Vec2f osg::GeoProperty< GeoTexCoords1fPropertyDesc >::getValue | ( | const UInt32 | index | ) | [inline, inherited] |
Definition at line 50 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| Vec2f osg::GeoProperty< GeoTexCoords1fPropertyDesc >::getValue | ( | const UInt32 | index | ) | const [inline, inherited] |
Definition at line 56 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoTexCoords1fPropertyDesc >::getValue | ( | Vec2f & | res, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 63 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00066 { 00067 res.setValues(_field[index], 0.f); 00068 }
| void osg::GeoProperty< GeoTexCoords1fPropertyDesc >::getValue | ( | Vec2f & | res, | |
| const UInt32 | index | |||
| ) | const [inline, inherited] |
Definition at line 71 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00074 { 00075 res.setValues(_field[index], 0.f); 00076 }
| Vec2f osg::GeoProperty< GeoTexCoords3fPropertyDesc >::getValue | ( | const UInt32 | index | ) | [inline, inherited] |
Definition at line 117 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| Vec2f osg::GeoProperty< GeoTexCoords3fPropertyDesc >::getValue | ( | const UInt32 | index | ) | const [inline, inherited] |
Definition at line 123 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoTexCoords3fPropertyDesc >::getValue | ( | Vec2f & | res, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 130 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoTexCoords3fPropertyDesc >::getValue | ( | Vec2f & | res, | |
| const UInt32 | index | |||
| ) | const [inline, inherited] |
Definition at line 138 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| Vec2f osg::GeoProperty< GeoTexCoords4fPropertyDesc >::getValue | ( | const UInt32 | index | ) | [inline, inherited] |
Definition at line 185 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| Vec2f osg::GeoProperty< GeoTexCoords4fPropertyDesc >::getValue | ( | const UInt32 | index | ) | const [inline, inherited] |
Definition at line 191 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoTexCoords4fPropertyDesc >::getValue | ( | Vec2f & | res, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 198 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoTexCoords4fPropertyDesc >::getValue | ( | Vec2f & | res, | |
| const UInt32 | index | |||
| ) | const [inline, inherited] |
Definition at line 206 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| Vec2f osg::GeoProperty< GeoTexCoords1dPropertyDesc >::getValue | ( | const UInt32 | index | ) | [inline, inherited] |
Definition at line 252 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| Vec2f osg::GeoProperty< GeoTexCoords1dPropertyDesc >::getValue | ( | const UInt32 | index | ) | const [inline, inherited] |
Definition at line 258 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoTexCoords1dPropertyDesc >::getValue | ( | Vec2f & | res, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 265 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoTexCoords1dPropertyDesc >::getValue | ( | Vec2f & | res, | |
| const UInt32 | index | |||
| ) | const [inline, inherited] |
Definition at line 273 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| Vec2f osg::GeoProperty< GeoTexCoords2dPropertyDesc >::getValue | ( | const UInt32 | index | ) | [inline, inherited] |
Definition at line 318 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| Vec2f osg::GeoProperty< GeoTexCoords2dPropertyDesc >::getValue | ( | const UInt32 | index | ) | const [inline, inherited] |
Definition at line 325 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoTexCoords2dPropertyDesc >::getValue | ( | Vec2f & | res, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 333 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoTexCoords2dPropertyDesc >::getValue | ( | Vec2f & | res, | |
| const UInt32 | index | |||
| ) | const [inline, inherited] |
Definition at line 342 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| Vec2f osg::GeoProperty< GeoTexCoords3dPropertyDesc >::getValue | ( | const UInt32 | index | ) | [inline, inherited] |
Definition at line 388 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| Vec2f osg::GeoProperty< GeoTexCoords3dPropertyDesc >::getValue | ( | const UInt32 | index | ) | const [inline, inherited] |
Definition at line 395 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoTexCoords3dPropertyDesc >::getValue | ( | Vec2f & | res, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 403 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoTexCoords3dPropertyDesc >::getValue | ( | Vec2f & | res, | |
| const UInt32 | index | |||
| ) | const [inline, inherited] |
Definition at line 412 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| Vec2f osg::GeoProperty< GeoTexCoords4dPropertyDesc >::getValue | ( | const UInt32 | index | ) | [inline, inherited] |
Definition at line 458 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| Vec2f osg::GeoProperty< GeoTexCoords4dPropertyDesc >::getValue | ( | const UInt32 | index | ) | const [inline, inherited] |
Definition at line 465 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoTexCoords4dPropertyDesc >::getValue | ( | Vec2f & | res, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 473 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoTexCoords4dPropertyDesc >::getValue | ( | Vec2f & | res, | |
| const UInt32 | index | |||
| ) | const [inline, inherited] |
Definition at line 482 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoPropertyDesc >::setValue | ( | const StoredGenericType & | val, | |
| const UInt32 | index | |||
| ) | [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 415 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00417 { 00418 //CHECKCHECK do conversion constructor iff necessary 00419 _field[index] = StoredType(value); 00420 }
| void osg::GeoProperty< GeoNormals3sPropertyDesc >::setValue | ( | const Vec3f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 111 of file OSGGeoPropNormals.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::glFloatToShort().
00113 { 00114 _field[index].setValues(glFloatToShort(val[0]), 00115 glFloatToShort(val[1]), 00116 glFloatToShort(val[2])); 00117 }
| void osg::GeoProperty< GeoNormals3bPropertyDesc >::setValue | ( | const Vec3f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 211 of file OSGGeoPropNormals.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::glFloatToByte().
00213 { 00214 _field[index].setValues(glFloatToByte(val[0]), 00215 glFloatToByte(val[1]), 00216 glFloatToByte(val[2])); 00217 }
| void osg::GeoProperty< GeoTexCoords1fPropertyDesc >::setValue | ( | const Vec2f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 80 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00082 { 00083 _field[index] = val[0]; 00084 }
| void osg::GeoProperty< GeoTexCoords3fPropertyDesc >::setValue | ( | const Vec2f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 148 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00150 { 00151 _field[index].setValues(val[0], val[1], 0.f); 00152 }
| void osg::GeoProperty< GeoTexCoords4fPropertyDesc >::setValue | ( | const Vec2f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 215 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00217 { 00218 _field[index].setValues(val[0], val[1], 0.f, 0.f); 00219 }
| void osg::GeoProperty< GeoTexCoords1dPropertyDesc >::setValue | ( | const Vec2f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 282 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00284 { 00285 _field[index] = val[0]; 00286 }
| void osg::GeoProperty< GeoTexCoords2dPropertyDesc >::setValue | ( | const Vec2f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 352 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00354 { 00355 _field[index].setValues(val[0], val[1]); 00356 }
| void osg::GeoProperty< GeoTexCoords3dPropertyDesc >::setValue | ( | const Vec2f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 422 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00424 { 00425 _field[index].setValues(val[0], val[1], 0.f); 00426 }
| void osg::GeoProperty< GeoTexCoords4dPropertyDesc >::setValue | ( | const Vec2f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 492 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00494 { 00495 _field[index].setValues(val[0], val[1], 0.f, 0.f); 00496 }
| void osg::GeoProperty< GeoPropertyDesc >::addValue | ( | const StoredGenericType & | val | ) | [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 423 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
Referenced by osg::GeoProperty< GeoPropertyDesc >::insertValue(), and osg::GeoProperty< GeoPropertyDesc >::push_back().
00424 { 00425 //CHECKCHECK do conversion constructor iff necessary 00426 _field.push_back( StoredType(value) ); 00427 }
| void osg::GeoProperty< GeoNormals3sPropertyDesc >::addValue | ( | const Vec3f & | val | ) | [inline, inherited] |
Definition at line 121 of file OSGGeoPropNormals.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::glFloatVecToShortVec().
00122 { 00123 _field.push_back(glFloatVecToShortVec(val)); 00124 }
| void osg::GeoProperty< GeoNormals3bPropertyDesc >::addValue | ( | const Vec3f & | val | ) | [inline, inherited] |
Definition at line 221 of file OSGGeoPropNormals.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::glFloatVecToByteVec().
00222 { 00223 _field.push_back(glFloatVecToByteVec(val)); 00224 }
| void osg::GeoProperty< GeoTexCoords1fPropertyDesc >::addValue | ( | const Vec2f & | val | ) | [inline, inherited] |
Definition at line 88 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00089 { 00090 _field.push_back(val[0]); 00091 }
| void osg::GeoProperty< GeoTexCoords3fPropertyDesc >::addValue | ( | const Vec2f & | val | ) | [inline, inherited] |
Definition at line 156 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoTexCoords4fPropertyDesc >::addValue | ( | const Vec2f & | val | ) | [inline, inherited] |
Definition at line 223 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoTexCoords1dPropertyDesc >::addValue | ( | const Vec2f & | val | ) | [inline, inherited] |
Definition at line 290 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00291 { 00292 _field.push_back(val[0]); 00293 }
| void osg::GeoProperty< GeoTexCoords2dPropertyDesc >::addValue | ( | const Vec2f & | val | ) | [inline, inherited] |
Definition at line 360 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoTexCoords3dPropertyDesc >::addValue | ( | const Vec2f & | val | ) | [inline, inherited] |
Definition at line 430 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| void osg::GeoProperty< GeoTexCoords4dPropertyDesc >::addValue | ( | const Vec2f & | val | ) | [inline, inherited] |
Definition at line 500 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
| bool osg::GeoProperty< GeoPropertyDesc >::insertValue | ( | const StoredGenericType & | val, | |
| const UInt32 | index | |||
| ) | [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 430 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::GeoProperty< GeoPropertyDesc >::addValue().
00432 { 00433 if(_field.size() < index) 00434 { 00435 return false; 00436 } 00437 else if(_field.size() == index) 00438 { 00439 addValue(val); 00440 return true; 00441 } 00442 else 00443 { 00444 _field.insert(_field.begin() + index, StoredType(val)); 00445 return true; 00446 } 00447 }
| bool osg::GeoProperty< GeoNormals3sPropertyDesc >::insertValue | ( | const Vec3f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 127 of file OSGGeoPropNormals.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, osg::GeoProperty< GeoPropertyDesc >::addValue(), and osg::glFloatVecToShortVec().
00129 { 00130 if(_field.size() < index) 00131 { 00132 return false; 00133 } 00134 else if(_field.size() == index) 00135 { 00136 addValue(val); 00137 return true; 00138 } 00139 else 00140 { 00141 _field.insert(_field.begin() + index, glFloatVecToShortVec(val)); 00142 return true; 00143 } 00144 }
| bool osg::GeoProperty< GeoNormals3bPropertyDesc >::insertValue | ( | const Vec3f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 227 of file OSGGeoPropNormals.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, osg::GeoProperty< GeoPropertyDesc >::addValue(), and osg::glFloatVecToByteVec().
00229 { 00230 if(_field.size() < index) 00231 { 00232 return false; 00233 } 00234 else if(_field.size() == index) 00235 { 00236 addValue(val); 00237 return true; 00238 } 00239 else 00240 { 00241 _field.insert(_field.begin() + index, glFloatVecToByteVec(val)); 00242 return true; 00243 } 00244 }
| bool osg::GeoProperty< GeoTexCoords1fPropertyDesc >::insertValue | ( | const Vec2f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 94 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::GeoProperty< GeoPropertyDesc >::addValue().
00096 { 00097 if(_field.size() < index) 00098 { 00099 return false; 00100 } 00101 else if(_field.size() == index) 00102 { 00103 addValue(val); 00104 return true; 00105 } 00106 else 00107 { 00108 _field.insert(_field.begin() + index, val[0]); 00109 return true; 00110 } 00111 }
| bool osg::GeoProperty< GeoTexCoords3fPropertyDesc >::insertValue | ( | const Vec2f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 162 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::GeoProperty< GeoPropertyDesc >::addValue().
00164 { 00165 if(_field.size() < index) 00166 { 00167 return false; 00168 } 00169 else if(_field.size() == index) 00170 { 00171 addValue(val); 00172 return true; 00173 } 00174 else 00175 { 00176 _field.insert(_field.begin() + index, Vec3f(val[0], val[1], 0)); 00177 return true; 00178 } 00179 }
| bool osg::GeoProperty< GeoTexCoords4fPropertyDesc >::insertValue | ( | const Vec2f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 229 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::GeoProperty< GeoPropertyDesc >::addValue().
00231 { 00232 if(_field.size() < index) 00233 { 00234 return false; 00235 } 00236 else if(_field.size() == index) 00237 { 00238 addValue(val); 00239 return true; 00240 } 00241 else 00242 { 00243 _field.insert(_field.begin() + index, Vec4f(val[0], val[1], 0.f, 0.f)); 00244 return true; 00245 } 00246 }
| bool osg::GeoProperty< GeoTexCoords1dPropertyDesc >::insertValue | ( | const Vec2f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 296 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::GeoProperty< GeoPropertyDesc >::addValue().
00298 { 00299 if(_field.size() < index) 00300 { 00301 return false; 00302 } 00303 else if(_field.size() == index) 00304 { 00305 addValue(val); 00306 return true; 00307 } 00308 else 00309 { 00310 _field.insert(_field.begin() + index, val[0]); 00311 return true; 00312 } 00313 }
| bool osg::GeoProperty< GeoTexCoords2dPropertyDesc >::insertValue | ( | const Vec2f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 366 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::GeoProperty< GeoPropertyDesc >::addValue().
00368 { 00369 if(_field.size() < index) 00370 { 00371 return false; 00372 } 00373 else if(_field.size() == index) 00374 { 00375 addValue(val); 00376 return true; 00377 } 00378 else 00379 { 00380 _field.insert(_field.begin() + index, Vec2d(val[0], val[1])); 00381 return true; 00382 } 00383 }
| bool osg::GeoProperty< GeoTexCoords3dPropertyDesc >::insertValue | ( | const Vec2f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 436 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::GeoProperty< GeoPropertyDesc >::addValue().
00438 { 00439 if(_field.size() < index) 00440 { 00441 return false; 00442 } 00443 else if(_field.size() == index) 00444 { 00445 addValue(val); 00446 return true; 00447 } 00448 else 00449 { 00450 _field.insert(_field.begin() + index, Vec3d(val[0], val[1], 0)); 00451 return true; 00452 } 00453 }
| bool osg::GeoProperty< GeoTexCoords4dPropertyDesc >::insertValue | ( | const Vec2f & | val, | |
| const UInt32 | index | |||
| ) | [inline, inherited] |
Definition at line 506 of file OSGGeoPropTexCoords.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::GeoProperty< GeoPropertyDesc >::addValue().
00508 { 00509 if(_field.size() < index) 00510 { 00511 return false; 00512 } 00513 else if(_field.size() == index) 00514 { 00515 addValue(val); 00516 return true; 00517 } 00518 else 00519 { 00520 _field.insert(_field.begin() + index, Vec4d(val[0], val[1], 0.f, 0.f)); 00521 return true; 00522 } 00523 }
| void osg::GeoProperty< GeoPropertyDesc >::clear | ( | void | ) | [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 450 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00451 { 00452 _field.clear(); 00453 }
| void osg::GeoProperty< GeoPropertyDesc >::resize | ( | size_t | newsize | ) | [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 463 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00464 { 00465 _field.resize(newsize); 00466 }
| void osg::GeoProperty< GeoPropertyDesc >::push_back | ( | const StoredGenericType & | val | ) | [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 456 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::addValue().
| void osg::GeoProperty< GeoPropertyDesc >::shrink | ( | void | ) | [inline, virtual, inherited] |
Returns a pointer to the Stored field.
This allows direct access to the data, which is faster than the access via the generic Interface that the AbstractGeoProperty provides, but it necessitates compile-time knowledge about the involved concrete types.
Definition at line 469 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field.
00470 { 00471 StoredFieldType(_field).swap(_field); 00472 }
| void osg::GeoProperty< GeoPropertyDesc >::dump | ( | UInt32 | uiIndent = 0, |
|
| const BitVector | bvFlags = 0 | |||
| ) | const [inline, virtual, inherited] |
| void osg::GeoProperty< GeoPropertyDesc >::executeSync | ( | FieldContainer & | other, | |
| const BitVector & | whichField | |||
| ) | [inline, protected, virtual, inherited] |
Definition at line 147 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::executeSyncImpl().
00150 { 00151 this->executeSyncImpl((GeoProperty *) &other, whichField); 00152 }
| void osg::GeoProperty< GeoPropertyDesc >::executeSyncImpl | ( | GeoProperty< GeoPropertyDesc > * | pOther, | |
| const BitVector & | whichField | |||
| ) | [inline, protected, inherited] |
Definition at line 155 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, osg::GeoProperty< GeoPropertyDesc >::GeoPropDataFieldMask, and osg::FieldBits::NoField.
Referenced by osg::GeoProperty< GeoPropertyDesc >::executeSync().
00158 { 00159 LocalInherited::executeSyncImpl(pOther, whichField); 00160 00161 if(FieldBits::NoField != (GeoPropDataFieldMask & whichField)) 00162 { 00163 _field.syncWith(pOther->_field); 00164 } 00165 }
| void osg::GeoProperty< GeoPropertyDesc >::changed | ( | BitVector | whichField, | |
| UInt32 | origin | |||
| ) | [inline, protected, virtual, inherited] |
Definition at line 222 of file OSGGeoPropertyBase.inl.
References osg::ChangedOrigin::Child.
00224 { 00225 MFFieldContainerPtr::iterator parentsIt = Self::_parents.begin(); 00226 MFFieldContainerPtr::iterator parentsEnd = Self::_parents.end(); 00227 00228 while(parentsIt != parentsEnd) 00229 { 00230 (*parentsIt)->changed( 00231 TypeTraits<BitVector>::One << parentsIt->getParentFieldPos(), 00232 ChangedOrigin::Child); 00233 ++parentsIt; 00234 } 00235 00236 LocalInherited::changed(whichField, origin); 00237 }
| UInt32 osg::GeoProperty< GeoPropertyDesc >::getBinSize | ( | const BitVector & | whichField | ) | [inline, protected, virtual, inherited] |
Definition at line 240 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, osg::GeoProperty< GeoPropertyDesc >::GeoPropDataFieldMask, and osg::FieldBits::NoField.
00241 { 00242 UInt32 returnValue = LocalInherited::getBinSize(whichField); 00243 00244 if(FieldBits::NoField != (GeoPropDataFieldMask & whichField)) 00245 { 00246 returnValue += _field.getBinSize(); 00247 } 00248 00249 return returnValue; 00250 }
| void osg::GeoProperty< GeoPropertyDesc >::copyToBin | ( | BinaryDataHandler & | pMem, | |
| const BitVector & | whichField | |||
| ) | [inline, protected, virtual, inherited] |
Definition at line 253 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, osg::GeoProperty< GeoPropertyDesc >::GeoPropDataFieldMask, and osg::FieldBits::NoField.
00256 { 00257 LocalInherited::copyToBin(pMem, whichField); 00258 00259 if(FieldBits::NoField != (GeoPropDataFieldMask & whichField)) 00260 { 00261 _field.copyToBin(pMem); 00262 } 00263 }
| void osg::GeoProperty< GeoPropertyDesc >::copyFromBin | ( | BinaryDataHandler & | pMem, | |
| const BitVector & | whichField | |||
| ) | [inline, protected, virtual, inherited] |
Definition at line 266 of file OSGGeoPropertyBase.inl.
References osg::GeoProperty< GeoPropertyDesc >::_field, osg::GeoProperty< GeoPropertyDesc >::GeoPropDataFieldMask, and osg::FieldBits::NoField.
00269 { 00270 LocalInherited::copyFromBin(pMem, whichField); 00271 00272 if(FieldBits::NoField != (GeoPropDataFieldMask & whichField)) 00273 { 00274 _field.copyFromBin(pMem); 00275 } 00276 }
| virtual osg ::FieldContainerType& osg::AbstractGeoProperty< GeoPropertyDesc >::getType | ( | void | ) | [virtual, inherited] |
| virtual const osg ::FieldContainerType& osg::AbstractGeoProperty< GeoPropertyDesc >::getType | ( | void | ) | const [virtual, inherited] |
| static osg ::FieldContainerType& osg::AbstractGeoProperty< GeoPropertyDesc >::getClassType | ( | void | ) | [static, inherited] |
| static osg ::UInt32 osg::AbstractGeoProperty< GeoPropertyDesc >::getClassTypeId | ( | void | ) | [static, inherited] |
| virtual osg ::UInt32 osg::AbstractGeoProperty< GeoPropertyDesc >::getContainerSize | ( | void | ) | const [virtual, inherited] |
| virtual PtrType osg::AbstractGeoProperty< GeoPropertyDesc >::clone | ( | void | ) | [pure virtual, inherited] |
| void osg::AbstractGeoProperty< GeoPropertyDesc >::dump | ( | UInt32 | uiIndent = 0, |
|
| const BitVector | bvFlags = 0 | |||
| ) | const [inline, virtual, inherited] |
| virtual GenericType osg::GeoPropertyInterface< GeoPropertyDesc >::getValue | ( | const UInt32 | index | ) | [pure virtual, inherited] |
| virtual GenericType osg::GeoPropertyInterface< GeoPropertyDesc >::getValue | ( | const UInt32 | index | ) | const [pure virtual, inherited] |
| virtual void osg::GeoPropertyInterface< GeoPropertyDesc >::getValue | ( | GenericType & | val, | |
| const UInt32 | index | |||
| ) | [pure virtual, inherited] |
| virtual void osg::GeoPropertyInterface< GeoPropertyDesc >::getValue | ( | GenericType & | val, | |
| const UInt32 | index | |||
| ) | const [pure virtual, inherited] |
| virtual void osg::GeoPropertyInterface< GeoPropertyDesc >::setValue | ( | const GenericType & | val, | |
| const UInt32 | index | |||
| ) | [pure virtual, inherited] |
| virtual void osg::GeoPropertyInterface< GeoPropertyDesc >::addValue | ( | const GenericType & | val | ) | [pure virtual, inherited] |
| virtual void osg::GeoPropertyInterface< GeoPropertyDesc >::push_back | ( | const GenericType & | val | ) | [pure virtual, inherited] |
| virtual UInt32 osg::GeoPropertyArrayInterface::getFormat | ( | void | ) | const [pure virtual, inherited] |
| virtual UInt32 osg::GeoPropertyArrayInterface::getFormatSize | ( | void | ) | const [pure virtual, inherited] |
Referenced by osg::createSharedIndex(), and osg::createSingleIndex().
| virtual UInt32 osg::GeoPropertyArrayInterface::getStride | ( | void | ) | const [pure virtual, inherited] |
Referenced by osg::createSharedIndex(), and osg::createSingleIndex().
| virtual UInt32 osg::GeoPropertyArrayInterface::getDimension | ( | void | ) | const [pure virtual, inherited] |
Referenced by osg::createSharedIndex(), and osg::createSingleIndex().
| virtual UInt32 osg::GeoPropertyArrayInterface::getSize | ( | void | ) | const [pure virtual, inherited] |
| virtual UInt32 osg::GeoPropertyArrayInterface::size | ( | void | ) | const [pure virtual, inherited] |
Referenced by osg::createSharedIndex(), and osg::createSingleIndex().
| virtual UInt8* osg::GeoPropertyArrayInterface::getData | ( | void | ) | const [pure virtual, inherited] |
Referenced by osg::createSharedIndex(), and osg::createSingleIndex().
| virtual void osg::GeoPropertyArrayInterface::clear | ( | void | ) | [pure virtual, inherited] |
| virtual void osg::GeoPropertyArrayInterface::resize | ( | size_t | newsize | ) | [pure virtual, inherited] |
Referenced by osg::createSingleIndex().
| virtual void osg::GeoPropertyArrayInterface::shrink | ( | void | ) | [pure virtual, inherited] |
| static const Char8* osg::GeoIndicesPropertyDesc::getTypeName | ( | void | ) | [inline, static, inherited] |
Reimplemented in osg::GeoIndicesUI32PropertyDesc, and osg::GeoIndicesUI16PropertyDesc.
Definition at line 376 of file OSGGeoPropertyInterface.h.
| static const Char8* osg::GeoIndicesPropertyDesc::getGroupName | ( | void | ) | [inline, static, inherited] |
Reimplemented in osg::GeoIndicesUI32PropertyDesc, and osg::GeoIndicesUI16PropertyDesc.
Definition at line 377 of file OSGGeoPropertyInterface.h.
| static const Char8* osg::GeoIndicesPropertyDesc::getClassName | ( | void | ) | [inline, static, inherited] |
Reimplemented in osg::GeoIndicesUI32PropertyDesc, and osg::GeoIndicesUI16PropertyDesc.
Definition at line 378 of file OSGGeoPropertyInterface.h.
| static InitContainerF osg::GeoIndicesPropertyDesc::getInitMethod | ( | void | ) | [inline, static, inherited] |
Reimplemented in osg::GeoIndicesUI32PropertyDesc, and osg::GeoIndicesUI16PropertyDesc.
Definition at line 380 of file OSGGeoPropertyInterface.h.
| static const Char8* osg::GeoIndicesUI32PropertyDesc::getTypeName | ( | void | ) | [inline, static, inherited] |
| static const Char8* osg::GeoIndicesUI32PropertyDesc::getClassName | ( | void | ) | [inline, static, inherited] |
| static const Char8* osg::GeoIndicesUI32PropertyDesc::getFieldName | ( | void | ) | [inline, static, inherited] |
| static const Char8* osg::GeoIndicesUI32PropertyDesc::getGroupName | ( | void | ) | [inline, static, inherited] |
| static InitContainerF osg::GeoIndicesUI32PropertyDesc::getInitMethod | ( | void | ) | [inline, static, inherited] |
| static UInt32 osg::GeoIndicesUI32PropertyDesc::getFormat | ( | void | ) | [inline, static, inherited] |
| static UInt32 osg::GeoIndicesUI32PropertyDesc::getFormatSize | ( | void | ) | [inline, static, inherited] |
Definition at line 70 of file OSGGeoPropIndices.h.
References GLuint().
00070 { return sizeof(GLuint); }
| static UInt32 osg::GeoIndicesUI32PropertyDesc::getDimension | ( | void | ) | [inline, static, inherited] |
| static UInt32 osg::GeoIndicesUI32PropertyDesc::getStride | ( | void | ) | [inline, static, inherited] |
| static FieldDescription** osg::GeoIndicesUI32PropertyDesc::getDesc | ( | void | ) | [inline, static, inherited] |
friend class FieldContainer [friend, inherited] |
Definition at line 289 of file OSGGeoPropertyBase.h.
friend class FieldContainer [friend, inherited] |
Definition at line 142 of file OSGGeoPropertyBase.h.
const BitVector osg::GeoProperty< GeoPropertyDesc >::GeoPropDataFieldMask [static, inherited] |
Initial value:
1 << static_cast<Int32>(GeoPropDataFieldId)
Definition at line 204 of file OSGGeoPropertyBase.h.
Referenced by osg::TextTXFFace::addToGeom(), osg::Surface::buildSurface(), osg::GeoProperty< GeoPropertyDesc >::copyFromBin(), osg::GeoProperty< GeoPropertyDesc >::copyToBin(), osg::ExtrusionSurface::createGeometry(), osg::GeoProperty< GeoPropertyDesc >::executeSyncImpl(), osg::TextVectorFace::fillGeo(), osg::GeoProperty< GeoPropertyDesc >::getBinSize(), osg::Geometry::merge2(), osg::Geometry::merge4(), osg::Surface::readfromtso(), and osg::ExtrusionSurface::storeMaps().
StoredFieldType osg::GeoProperty< GeoPropertyDesc >::_field [protected, inherited] |
Definition at line 291 of file OSGGeoPropertyBase.h.
Referenced by osg::GeoProperty< GeoPropertyDesc >::addValue(), osg::GeoProperty< GeoPropertyDesc >::clear(), osg::GeoProperty< GeoPropertyDesc >::clone(), osg::GeoProperty< GeoPropertyDesc >::copyFromBin(), osg::GeoProperty< GeoPropertyDesc >::copyToBin(), osg::GeoProperty< GeoPropertyDesc >::executeSyncImpl(), osg::GeoProperty< GeoPropertyDesc >::getBinSize(), osg::GeoProperty< GeoPropertyDesc >::getData(), osg::GeoProperty< GeoPropertyDesc >::getField(), osg::GeoProperty< GeoPropertyDesc >::getFieldPtr(), osg::GeoProperty< GeoPropertyDesc >::getSize(), osg::GeoProperty< GeoPropertyDesc >::getValue(), osg::GeoProperty< GeoPropertyDesc >::insertValue(), osg::GeoProperty< GeoPropertyDesc >::resize(), osg::GeoProperty< GeoPropertyDesc >::setValue(), osg::GeoProperty< GeoPropertyDesc >::shrink(), and osg::GeoProperty< GeoPropertyDesc >::size().
FieldDescription * GeoIndicesUI32PropertyDesc::_desc [static, inherited] |
Initial value:
{
new FieldDescription(
StoredFieldType::getClassType(),
getFieldName(),
OSG_FC_FIELD_IDM_DESC(GeoProperty<
GeoIndicesUI32PropertyDesc>::GeoPropDataField),
false,
(FieldAccessMethod) &GeoProperty<
GeoIndicesUI32PropertyDesc>::getFieldPtr)
}
Definition at line 56 of file OSGGeoPropIndices.h.
1.5.5