#include <OSGGeoPropertyBase.h>
Inheritance diagram for osg::GeoProperty< GeoPropertyDesc >:

Public Types | |
| 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 |
| enum | { GeoPropDataFieldId = LocalInherited::NextFieldId, NextFieldId = GeoPropDataFieldId + 1 } |
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<> | |
| void | setValue (const Vec3f &val, const UInt32 index) |
| template<> | |
| void | addValue (const Vec3f &val) |
| template<> | |
| bool | insertValue (const Vec3f &val, const UInt32 index) |
| 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<> | |
| void | setValue (const Vec3f &val, const UInt32 index) |
| template<> | |
| void | addValue (const Vec3f &val) |
| template<> | |
| bool | insertValue (const Vec3f &val, const UInt32 index) |
| 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 Vec2f &val, const UInt32 index) |
| template<> | |
| void | addValue (const Vec2f &val) |
| template<> | |
| bool | insertValue (const Vec2f &val, const UInt32 index) |
| 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 Vec2f &val, const UInt32 index) |
| template<> | |
| void | addValue (const Vec2f &val) |
| template<> | |
| bool | insertValue (const Vec2f &val, const UInt32 index) |
| 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 Vec2f &val, const UInt32 index) |
| template<> | |
| void | addValue (const Vec2f &val) |
| template<> | |
| bool | insertValue (const Vec2f &val, const UInt32 index) |
| 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 Vec2f &val, const UInt32 index) |
| template<> | |
| void | addValue (const Vec2f &val) |
| template<> | |
| bool | insertValue (const Vec2f &val, const UInt32 index) |
| 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 Vec2f &val, const UInt32 index) |
| template<> | |
| void | addValue (const Vec2f &val) |
| template<> | |
| bool | insertValue (const Vec2f &val, const UInt32 index) |
| 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 Vec2f &val, const UInt32 index) |
| template<> | |
| void | addValue (const Vec2f &val) |
| template<> | |
| bool | insertValue (const Vec2f &val, const UInt32 index) |
| 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 Vec2f &val, const UInt32 index) |
| template<> | |
| void | addValue (const Vec2f &val) |
| template<> | |
| bool | insertValue (const Vec2f &val, const UInt32 index) |
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) |
Assigment | |
| *GeoProperty & | operator= (const GeoProperty &source) |
Output | |
| *virtual void | dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const |
Static Public Member Functions | |
| static osg::FieldContainerType & | getClassType (void) |
| static osg::UInt32 | getClassTypeId (void) |
| static PtrType | create (void) |
| static PtrType | createEmpty (void) |
Static Public Attributes | |
| static const BitVector | GeoPropDataFieldMask |
Protected Member Functions | |
Constructors | |
| * | GeoProperty (void) |
| GeoProperty (const GeoProperty &source) | |
Destructors | |
| *virtual | ~GeoProperty (void) |
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 |
Private Types | |
| typedef GeoPropertyDesc::Inherited | LocalInherited |
| typedef GeoPropertyDesc::InheritedDesc | LocalInheritedDesc |
| typedef GeoPropertyDesc::InheritedPtr | LocalInheritedPtr |
Static Private Attributes | |
| static const PtrType | NullPtr |
| static FieldContainerType | _type |
Friends | |
| class | FieldContainer |
Definition at line 180 of file OSGGeoPropertyBase.h.
|
|||||
|
Definition at line 188 of file OSGGeoPropertyBase.h. |
|
|||||
|
Definition at line 189 of file OSGGeoPropertyBase.h. |
|
|||||
|
Definition at line 190 of file OSGGeoPropertyBase.h. |
|
|||||
|
Definition at line 205 of file OSGGeoPropertyBase.h. |
|
|||||
|
Definition at line 206 of file OSGGeoPropertyBase.h. |
|
|||||
|
Definition at line 209 of file OSGGeoPropertyBase.h. |
|
|||||
|
Definition at line 212 of file OSGGeoPropertyBase.h. |
|
|||||
|
Definition at line 213 of file OSGGeoPropertyBase.h. |
|
|||||
|
Definition at line 214 of file OSGGeoPropertyBase.h. |
|
|||||
|
Definition at line 195 of file OSGGeoPropertyBase.h. 00196 { 00197 GeoPropDataFieldId = LocalInherited::NextFieldId, 00198 00199 NextFieldId = GeoPropDataFieldId + 1 00200 };
|
|
||||||||||
|
|
|
||||||||||
|
Definition at line 132 of file OSGGeoPropertyBase.inl. 00133 : 00134 00135 LocalInherited(source), 00136 _field (source._field) 00137 { 00138 }
|
|
||||||||||
|
Definition at line 141 of file OSGGeoPropertyBase.inl.
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
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 }
|
|
||||||||||
|
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 }
|
|
||||||||||
|
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 }
|
|
||||||||||
|
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 }
|
|
||||||||||
|
Returns the format of this property. Definition at line 334 of file OSGGeoPropertyBase.inl.
|
|
||||||||||
|
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.
|
|
||||||||||
|
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.
|
|
||||||||||
|
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.
|
|
||||||||||
|
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 }
|
|
||||||||||
|
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 }
|
|
||||||||||
|
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.
|
|
||||||||||
|
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 241 of file OSGGeoPropertyBase.h. 00241 { return _field; }
|
|
||||||||||
|
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 }
|
|
||||||||||
|
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 }
|
|
||||||||||||||||
|
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 }
|
|
||||||||||||||||
|
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 }
|
|
||||||||||||||||
|
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 }
|
|
||||||||||
|
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 }
|
|
||||||||||||||||
|
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 }
|
|
|||||||||
|
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 }
|
| |||||