osg::GeoPositions3s Class Reference
[Geometry Properties]

A concrete GeometryProperty, see Properties for a description. More...

Inheritance diagram for osg::GeoPositions3s:
osg::GeoProperty< GeoPropertyDesc > osg::GeoPositions osg::GeoPositions3sPropertyDesc osg::AbstractGeoProperty< GeoPropertyDesc > osg::GeoPropertyInterface< GeoPropertyDesc > osg::GeoPositionsPropertyDesc osg::GeoPositionsPropertyDesc osg::GeoPropertyArrayInterface osg::GeoPropertyDesc osg::GeoPropertyDesc

List of all members.

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 Pnt3f GenericType
typedef Attachment Inherited
typedef AttachmentPtr InheritedPtr
typedef AttachmentPropertyDesc InheritedDesc
typedef GeoPropertyInterface
< GeoPositionsPropertyDesc
Interface
Typedefs



typedef GeoPositions Inherited
typedef GeoPositions::PtrType InheritedPtr
typedef GeoPositionsPropertyDesc InheritedDesc
typedef MFPnt3s StoredFieldType
typedef InheritedDesc::GenericType GenericType
typedef GeoPropertyInterface
< GeoPositionsPropertyDesc
Interface

Public Member Functions

virtual osg::FieldContainerTypegetType (void)
 Property field description.
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::FieldContainerTypegetType (void)
virtual const
osg::FieldContainerType
getType (void) const
virtual osg::UInt32 getContainerSize (void) const
Access



StoredFieldTypeeditFieldPtr (void)
StoredFieldTypegetFieldPtr (void)
const StoredFieldTypegetFieldPtr (void) const
StoredFieldTypeeditField (void)
StoredFieldTypegetField (void)
const StoredFieldTypegetField (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 UInt8getData (void) const
virtual UInt8editData (void) const
StoredFieldTypeoperator-> ()
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 UInt8getData (void) const =0
virtual UInt8editData (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::FieldContainerTypegetClassType (void)
static osg::UInt32 getClassTypeId (void)
static PtrType create (void)
static PtrType createEmpty (void)
static osg::FieldContainerTypegetClassType (void)
static osg::UInt32 getClassTypeId (void)
Get



static const Char8getTypeName (void)
static const Char8getGroupName (void)
static const Char8getClassName (void)
static InitContainerF getInitMethod (void)
Get



static const Char8getTypeName (void)
static const Char8getClassName (void)
static const Char8getFieldName (void)
static const Char8getGroupName (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

Detailed Description

This is a documentation wrapper. Its only purpose is to fool doxygen into thinking of a typedef as a class and to allow you to find all the needed info from this page.

Warning:
The real inheritance is not what you see here.
This is just to give you an idea of the conceptual relations and to help you understand the available methods of this class.

The actual inheritance is nowhere near as complicated as it looks here, see Properties for a description.

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 6008 of file dummyClasses.dox.


Member Typedef Documentation

template<class GeoPropertyDesc>
typedef GeoProperty<GeoPropertyDesc> osg::GeoProperty< GeoPropertyDesc >::PropertyType [inherited]

Definition at line 210 of file OSGGeoPropertyBase.h.

template<class GeoPropertyDesc>
typedef GeoProperty<GeoPropertyDesc> osg::GeoProperty< GeoPropertyDesc >::Self [inherited]

Definition at line 211 of file OSGGeoPropertyBase.h.

template<class GeoPropertyDesc>
typedef FCPtr<LocalInheritedPtr, PropertyType > osg::GeoProperty< GeoPropertyDesc >::PtrType [inherited]

Definition at line 214 of file OSGGeoPropertyBase.h.

template<class GeoPropertyDesc>
typedef GeoPropertyDesc::StoredFieldType osg::GeoProperty< GeoPropertyDesc >::StoredFieldType [inherited]

Definition at line 217 of file OSGGeoPropertyBase.h.

template<class GeoPropertyDesc>
typedef GeoPropertyDesc::GenericType osg::GeoProperty< GeoPropertyDesc >::StoredGenericType [inherited]

Definition at line 218 of file OSGGeoPropertyBase.h.

template<class GeoPropertyDesc>
typedef StoredFieldType::StoredType osg::GeoProperty< GeoPropertyDesc >::StoredType [inherited]

Definition at line 219 of file OSGGeoPropertyBase.h.

template<class GeoPropertyDesc >
typedef AbstractGeoProperty<GeoPropertyDesc> osg::AbstractGeoProperty< GeoPropertyDesc >::PropertyType [inherited]

Definition at line 75 of file OSGGeoPropertyBase.h.

template<class GeoPropertyDesc >
typedef FCPtr<typename GeoPropertyDesc::InheritedPtr, PropertyType > osg::AbstractGeoProperty< GeoPropertyDesc >::PtrType [inherited]

Definition at line 78 of file OSGGeoPropertyBase.h.

template<class GeoPropertyDesc >
typedef GeoPropertyInterface<GeoPropertyDesc> osg::GeoPropertyInterface< GeoPropertyDesc >::InterfaceType [inherited]

Definition at line 134 of file OSGGeoPropertyInterface.h.

template<class GeoPropertyDesc >
typedef GeoPropertyDesc::GenericType osg::GeoPropertyInterface< GeoPropertyDesc >::GenericType [inherited]

Definition at line 136 of file OSGGeoPropertyInterface.h.

template<class GeoPropertyDesc >
typedef GeoPropertyArrayInterface osg::GeoPropertyInterface< GeoPropertyDesc >::Inherited [inherited]

Definition at line 138 of file OSGGeoPropertyInterface.h.

Reimplemented from osg::GeoPositionsPropertyDesc.

Definition at line 481 of file OSGGeoPropPositions.h.

Reimplemented from osg::GeoPositionsPropertyDesc.

Definition at line 482 of file OSGGeoPropPositions.h.

Reimplemented from osg::GeoPositionsPropertyDesc.

Definition at line 484 of file OSGGeoPropPositions.h.

Definition at line 486 of file OSGGeoPropPositions.h.

typedef InheritedDesc::GenericType osg::GeoPositions3sPropertyDesc::GenericType [inherited]

Reimplemented from osg::GeoPositionsPropertyDesc.

Definition at line 487 of file OSGGeoPropPositions.h.

Reimplemented from osg::GeoPositionsPropertyDesc.

Definition at line 490 of file OSGGeoPropPositions.h.


Member Enumeration Documentation

template<class GeoPropertyDesc>
anonymous enum [inherited]
Enumerator:
GeoPropDataFieldId 
NextFieldId 

Definition at line 200 of file OSGGeoPropertyBase.h.

00201     {
00202         GeoPropDataFieldId = LocalInherited::NextFieldId,
00203 
00204         NextFieldId        = GeoPropDataFieldId + 1
00205     };


Member Function Documentation

template<class GeoPropertyDesc >
osg::FieldContainerType & osg::GeoProperty< GeoPropertyDesc >::getType ( void   )  [inline, virtual, inherited]

Attachment type

Definition at line 97 of file OSGGeoPropertyBase.inl.

template<class GeoPropertyDesc >
const osg::FieldContainerType & osg::GeoProperty< GeoPropertyDesc >::getType ( void   )  const [inline, virtual, inherited]

Definition at line 97 of file OSGGeoPropertyBase.inl.

template<class GeoPropertyDesc >
osg::FieldContainerType & osg::GeoProperty< GeoPropertyDesc >::getClassType ( void   )  [inline, static, inherited]

Definition at line 97 of file OSGGeoPropertyBase.inl.

template<class GeoPropertyDesc >
osg::UInt32 osg::GeoProperty< GeoPropertyDesc >::getClassTypeId ( void   )  [inline, static, inherited]

Definition at line 97 of file OSGGeoPropertyBase.inl.

template<class GeoPropertyDesc >
GeoProperty< GeoPropertyDesc >::PtrType osg::GeoProperty< GeoPropertyDesc >::create ( void   )  [inline, static, inherited]
template<class GeoPropertyDesc >
GeoProperty< GeoPropertyDesc >::PtrType osg::GeoProperty< GeoPropertyDesc >::createEmpty ( void   )  [inline, static, inherited]

Definition at line 97 of file OSGGeoPropertyBase.inl.

template<class GeoPropertyDesc >
osg::FieldContainerPtr osg::GeoProperty< GeoPropertyDesc >::shallowCopy ( void   )  const [inline, virtual, inherited]

Definition at line 97 of file OSGGeoPropertyBase.inl.

template<class GeoPropertyDesc >
osg::UInt32 osg::GeoProperty< GeoPropertyDesc >::getContainerSize ( void   )  const [inline, virtual, inherited]

Definition at line 97 of file OSGGeoPropertyBase.inl.

template<class GeoPropertyDesc >
GeoProperty< GeoPropertyDesc >::StoredFieldType * osg::GeoProperty< GeoPropertyDesc >::editFieldPtr ( 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 }

template<class GeoPropertyDesc >
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 294 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00295 {
00296     return &_field;
00297 }

template<class GeoPropertyDesc >
const GeoProperty< GeoPropertyDesc >::StoredFieldType * osg::GeoProperty< GeoPropertyDesc >::getFieldPtr ( void   )  const [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 308 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00309 {
00310     return &_field;
00311 }

template<class GeoPropertyDesc >
GeoProperty< GeoPropertyDesc >::StoredFieldType & osg::GeoProperty< GeoPropertyDesc >::editField ( 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 321 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00322 {
00323     return _field;
00324 }

template<class GeoPropertyDesc >
GeoProperty< GeoPropertyDesc >::StoredFieldType & osg::GeoProperty< GeoPropertyDesc >::getField ( 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 329 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00330 {
00331     return _field;
00332 }

template<class GeoPropertyDesc >
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 343 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00344 {
00345     return _field;
00346 }

template<class GeoPropertyDesc >
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 350 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::GeoProperty< GeoPropertyDesc >::create().

00351 {
00352     PtrType obj = GeoProperty<GeoPropertyDesc>::create();
00353     
00354     obj->_field.setValues( _field );
00355     return obj;
00356 }

template<class GeoPropertyDesc >
UInt32 osg::GeoProperty< GeoPropertyDesc >::getFormat ( void   )  const [inline, virtual, inherited]

Returns the format of this property.

Definition at line 365 of file OSGGeoPropertyBase.inl.

00366 {
00367     return GeoPropertyDesc::getFormat();
00368 }

template<class GeoPropertyDesc >
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 372 of file OSGGeoPropertyBase.inl.

00373 {
00374     return GeoPropertyDesc::getFormatSize();
00375 }

template<class GeoPropertyDesc >
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 379 of file OSGGeoPropertyBase.inl.

00380 {
00381     return GeoPropertyDesc::getStride();
00382 }

template<class GeoPropertyDesc >
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 386 of file OSGGeoPropertyBase.inl.

00387 {
00388     return GeoPropertyDesc::getDimension();
00389 }

template<class GeoPropertyDesc >
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 393 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00394 {
00395     return _field.size();
00396 }

template<class GeoPropertyDesc >
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 400 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00401 {
00402     return _field.size();
00403 }

template<class GeoPropertyDesc >
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 408 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00409 {
00410     return _field.empty() ? NULL : 
00411         const_cast<UInt8 *>(reinterpret_cast<const UInt8 *>(&(_field[0])));
00412 }

template<class GeoPropertyDesc >
UInt8 * osg::GeoProperty< GeoPropertyDesc >::editData ( 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 416 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00417 {
00418     return _field.empty() ? NULL : 
00419         const_cast<UInt8 *>(reinterpret_cast<const UInt8 *>(&(_field[0])));
00420 }

template<class GeoPropertyDesc>
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 256 of file OSGGeoPropertyBase.h.

00256 { return _field; }

template<class GeoPropertyDesc >
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 424 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00425 {
00426 //CHECKCHECK do conversion constructor iff necessary
00427     return StoredGenericType(_field[index]);
00428 }

template<class GeoPropertyDesc >
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 432 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00433 {
00434 //CHECKCHECK do conversion constructor iff necessary
00435     return StoredGenericType(_field[index]);
00436 }

template<class GeoPropertyDesc >
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 439 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00441 {
00442     new (&val) StoredGenericType(_field[index]);
00443 }

template<class GeoPropertyDesc >
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 447 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00450 {
00451     new (&val) StoredGenericType(_field[index]);
00452 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
Vec2f osg::GeoProperty< GeoTexCoords1fPropertyDesc >::getValue ( const UInt32  index  )  [inline, inherited]

Definition at line 50 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00051 {
00052     return Vec2f(_field[index], 0.f);
00053 }

template<>
Vec2f osg::GeoProperty< GeoTexCoords1fPropertyDesc >::getValue ( const UInt32  index  )  const [inline, inherited]

Definition at line 56 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00058 {
00059     return Vec2f(_field[index], 0.f);
00060 }

template<>
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 }

template<>
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 }

template<>
Vec2f osg::GeoProperty< GeoTexCoords3fPropertyDesc >::getValue ( const UInt32  index  )  [inline, inherited]

Definition at line 117 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00118 {
00119     return Vec2f(_field[index][0], _field[index][1]);
00120 }

template<>
Vec2f osg::GeoProperty< GeoTexCoords3fPropertyDesc >::getValue ( const UInt32  index  )  const [inline, inherited]

Definition at line 123 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00125 {
00126     return Vec2f(_field[index][0], _field[index][1]);
00127 }

template<>
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.

00133 {
00134     res.setValues(_field[index][0], _field[index][1]);
00135 }

template<>
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.

00141 {
00142     res.setValues(_field[index][0], 
00143                   _field[index][1]);
00144 }

template<>
Vec2f osg::GeoProperty< GeoTexCoords4fPropertyDesc >::getValue ( const UInt32  index  )  [inline, inherited]

Definition at line 185 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00186 {
00187     return Vec2f(_field[index][0], _field[index][1]);
00188 }

template<>
Vec2f osg::GeoProperty< GeoTexCoords4fPropertyDesc >::getValue ( const UInt32  index  )  const [inline, inherited]

Definition at line 191 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00193 {
00194     return Vec2f(_field[index][0], _field[index][1]);
00195 }

template<>
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.

00201 {
00202     res.setValues(_field[index][0], _field[index][1]);
00203 }

template<>
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.

00209 {
00210     res.setValues(_field[index][0], _field[index][1]);
00211 }

template<>
Vec2f osg::GeoProperty< GeoTexCoords1dPropertyDesc >::getValue ( const UInt32  index  )  [inline, inherited]

Definition at line 252 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00253 {
00254     return Vec2f(Real32(_field[index]), 0.f);
00255 }

template<>
Vec2f osg::GeoProperty< GeoTexCoords1dPropertyDesc >::getValue ( const UInt32  index  )  const [inline, inherited]

Definition at line 258 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00260 {
00261     return Vec2f(Real32(_field[index]), 0.f);
00262 }

template<>
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.

00268 {
00269     res.setValues(Real32(_field[index]), 0.f);
00270 }

template<>
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.

00276 {
00277     res.setValues(Real32(_field[index]), 0.f);
00278 }

template<>
Vec2f osg::GeoProperty< GeoTexCoords2dPropertyDesc >::getValue ( const UInt32  index  )  [inline, inherited]

Definition at line 318 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00319 {
00320     return Vec2f(Real32(_field[index][0]), 
00321                  Real32(_field[index][1]));
00322 }

template<>
Vec2f osg::GeoProperty< GeoTexCoords2dPropertyDesc >::getValue ( const UInt32  index  )  const [inline, inherited]

Definition at line 325 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00327 {
00328     return Vec2f(Real32(_field[index][0]), 
00329                  Real32(_field[index][1]));
00330 }

template<>
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.

00336 {
00337     res.setValues(Real32(_field[index][0]), 
00338                   Real32(_field[index][1]));
00339 }

template<>
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.

00345 {
00346     res.setValues(Real32(_field[index][0]), 
00347                   Real32(_field[index][1]));
00348 }

template<>
Vec2f osg::GeoProperty< GeoTexCoords3dPropertyDesc >::getValue ( const UInt32  index  )  [inline, inherited]

Definition at line 388 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00389 {
00390     return Vec2f(Real32(_field[index][0]), 
00391                  Real32(_field[index][1]));
00392 }

template<>
Vec2f osg::GeoProperty< GeoTexCoords3dPropertyDesc >::getValue ( const UInt32  index  )  const [inline, inherited]

Definition at line 395 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00397 {
00398     return Vec2f(Real32(_field[index][0]), 
00399                  Real32(_field[index][1]));
00400 }

template<>
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.

00406 {
00407     res.setValues(Real32(_field[index][0]), 
00408                   Real32(_field[index][1]));
00409 }

template<>
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.

00415 {
00416     res.setValues(Real32(_field[index][0]), 
00417                   Real32(_field[index][1]));
00418 }

template<>
Vec2f osg::GeoProperty< GeoTexCoords4dPropertyDesc >::getValue ( const UInt32  index  )  [inline, inherited]

Definition at line 458 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00459 {
00460     return Vec2f(Real32(_field[index][0]),
00461                  Real32(_field[index][1]));
00462 }

template<>
Vec2f osg::GeoProperty< GeoTexCoords4dPropertyDesc >::getValue ( const UInt32  index  )  const [inline, inherited]

Definition at line 465 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00467 {
00468     return Vec2f(Real32(_field[index][0]), 
00469                  Real32(_field[index][1]));
00470 }

template<>
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.

00476 {
00477     res.setValues(Real32(_field[index][0]),
00478                   Real32(_field[index][1]));
00479 }

template<>
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.

00485 {
00486     res.setValues(Real32(_field[index][0]), 
00487                   Real32(_field[index][1]));
00488 }

template<class GeoPropertyDesc >
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 455 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00457 {
00458 //CHECKCHECK do conversion constructor iff necessary
00459     _field[index] = StoredType(value);
00460 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
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 }

template<class GeoPropertyDesc >
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 463 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

Referenced by osg::GeoProperty< GeoPropertyDesc >::insertValue(), and osg::GeoProperty< GeoPropertyDesc >::push_back().

00464 {
00465 //CHECKCHECK do conversion constructor iff necessary
00466     _field.push_back( StoredType(value) );
00467 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
void osg::GeoProperty< GeoTexCoords3fPropertyDesc >::addValue ( const Vec2f val  )  [inline, inherited]

Definition at line 156 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00157 {
00158     _field.push_back(Vec3f( val[0], val[1], 0));
00159 }

template<>
void osg::GeoProperty< GeoTexCoords4fPropertyDesc >::addValue ( const Vec2f val  )  [inline, inherited]

Definition at line 223 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00224 {
00225     _field.push_back(Vec4f( val[0], val[1], 0.f, 0.f));
00226 }

template<>
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 }

template<>
void osg::GeoProperty< GeoTexCoords2dPropertyDesc >::addValue ( const Vec2f val  )  [inline, inherited]

Definition at line 360 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00361 {
00362     _field.push_back(Vec2d( val[0], val[1]));
00363 }

template<>
void osg::GeoProperty< GeoTexCoords3dPropertyDesc >::addValue ( const Vec2f val  )  [inline, inherited]

Definition at line 430 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00431 {
00432     _field.push_back(Vec3d( val[0], val[1], 0));
00433 }

template<>
void osg::GeoProperty< GeoTexCoords4dPropertyDesc >::addValue ( const Vec2f val  )  [inline, inherited]

Definition at line 500 of file OSGGeoPropTexCoords.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00501 {
00502     _field.push_back(Vec4d( val[0], val[1], 0.f, 0.f));
00503 }

template<class GeoPropertyDesc >
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 470 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field, and osg::GeoProperty< GeoPropertyDesc >::addValue().

00472 {
00473     if(_field.size() < index)
00474     {
00475         return false;
00476     }
00477     else if(_field.size() == index)
00478     {
00479         addValue(val);
00480         return true;
00481     }
00482     else
00483     {
00484         _field.insert(_field.begin() + index, StoredType(val));
00485         return true;
00486     }
00487 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
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 }

template<>
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 }

template<class GeoPropertyDesc >
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 490 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00491 {
00492     _field.clear();
00493 }

template<class GeoPropertyDesc >
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 503 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00504 {
00505     _field.resize(newsize);
00506 }

template<class GeoPropertyDesc >
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 496 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::addValue().

00498 {
00499     addValue(value);
00500 }

template<class GeoPropertyDesc >
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 509 of file OSGGeoPropertyBase.inl.

References osg::GeoProperty< GeoPropertyDesc >::_field.

00510 {
00511     StoredFieldType(_field).swap(_field);
00512 }

template<class GeoPropertyDesc >
void osg::GeoProperty< GeoPropertyDesc >::dump ( UInt32  uiIndent = 0,
const BitVector  bvFlags = 0 
) const [inline, virtual, inherited]

Definition at line 515 of file OSGGeoPropertyBase.inl.

00517 {
00518     LocalInherited::dump(uiIndent, bvFlags);
00519 }

template<class GeoPropertyDesc >
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(static_cast<GeoProperty *>(&other), whichField);
00152 }

template<class GeoPropertyDesc >
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 }

template<class GeoPropertyDesc >
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 }

template<class GeoPropertyDesc >
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 }

template<class GeoPropertyDesc >
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 }

template<class GeoPropertyDesc >
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 }

template<class GeoPropertyDesc >
osg::FieldContainerType & osg::AbstractGeoProperty< GeoPropertyDesc >::getType ( void   )  [inline, virtual, inherited]

Definition at line 47 of file OSGGeoPropertyBase.inl.

template<class GeoPropertyDesc >
const osg::FieldContainerType & osg::AbstractGeoProperty< GeoPropertyDesc >::getType ( void   )  const [inline, virtual, inherited]

Definition at line 47 of file OSGGeoPropertyBase.inl.

template<class GeoPropertyDesc >
osg::FieldContainerType & osg::AbstractGeoProperty< GeoPropertyDesc >::getClassType ( void   )  [inline, static, inherited]

Definition at line 47 of file OSGGeoPropertyBase.inl.

template<class GeoPropertyDesc >
osg::UInt32 osg::AbstractGeoProperty< GeoPropertyDesc >::getClassTypeId ( void   )  [inline, static, inherited]

Definition at line 47 of file OSGGeoPropertyBase.inl.

template<class GeoPropertyDesc >
osg::UInt32 osg::AbstractGeoProperty< GeoPropertyDesc >::getContainerSize ( void   )  const [inline, virtual, inherited]

Definition at line 47 of file OSGGeoPropertyBase.inl.

template<class GeoPropertyDesc >
virtual PtrType osg::AbstractGeoProperty< GeoPropertyDesc >::clone ( void   )  [pure virtual, inherited]
template<class GeoPropertyDesc >
void osg::AbstractGeoProperty< GeoPropertyDesc >::dump ( UInt32  uiIndent = 0,
const BitVector  bvFlags = 0 
) const [inline, virtual, inherited]

Definition at line 82 of file OSGGeoPropertyBase.inl.

00084 {
00085     LocalInherited::dump(uiIndent, bvFlags);
00086 }

template<class GeoPropertyDesc >
virtual GenericType osg::GeoPropertyInterface< GeoPropertyDesc >::getValue ( const UInt32  index  )  [pure virtual, inherited]
template<class GeoPropertyDesc >
virtual GenericType osg::GeoPropertyInterface< GeoPropertyDesc >::getValue ( const UInt32  index  )  const [pure virtual, inherited]
template<class GeoPropertyDesc >
virtual void osg::GeoPropertyInterface< GeoPropertyDesc >::getValue ( GenericType val,
const UInt32  index 
) [pure virtual, inherited]
template<class GeoPropertyDesc >
virtual void osg::GeoPropertyInterface< GeoPropertyDesc >::getValue ( GenericType val,
const UInt32  index 
) const [pure virtual, inherited]
template<class GeoPropertyDesc >
virtual void osg::GeoPropertyInterface< GeoPropertyDesc >::setValue ( const GenericType val,
const UInt32  index 
) [pure virtual, inherited]
template<class GeoPropertyDesc >
virtual void osg::GeoPropertyInterface< GeoPropertyDesc >::addValue ( const GenericType val  )  [pure virtual, inherited]
template<class GeoPropertyDesc >
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]
virtual UInt32 osg::GeoPropertyArrayInterface::getStride ( void   )  const [pure virtual, inherited]
virtual UInt32 osg::GeoPropertyArrayInterface::getDimension ( void   )  const [pure virtual, inherited]
virtual UInt32 osg::GeoPropertyArrayInterface::getSize ( void   )  const [pure virtual, inherited]
virtual UInt32 osg::GeoPropertyArrayInterface::size ( void   )  const [pure virtual, inherited]
virtual UInt8* osg::GeoPropertyArrayInterface::getData ( void   )  const [pure virtual, inherited]
virtual UInt8* osg::GeoPropertyArrayInterface::editData ( void   )  const [pure virtual, inherited]
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::GeoPositionsPropertyDesc::getTypeName ( void   )  [inline, static, inherited]
static const Char8* osg::GeoPositionsPropertyDesc::getGroupName ( void   )  [inline, static, inherited]
static const Char8* osg::GeoPositionsPropertyDesc::getClassName ( void   )  [inline, static, inherited]
static InitContainerF osg::GeoPositionsPropertyDesc::getInitMethod ( void   )  [inline, static, inherited]
static const Char8* osg::GeoPositions3sPropertyDesc::getTypeName ( void   )  [inline, static, inherited]

Reimplemented from osg::GeoPositionsPropertyDesc.

Definition at line 462 of file OSGGeoPropPositions.h.

00462 { return "GeoPositions3s";         }

static const Char8* osg::GeoPositions3sPropertyDesc::getClassName ( void   )  [inline, static, inherited]

Reimplemented from osg::GeoPositionsPropertyDesc.

Definition at line 463 of file OSGGeoPropPositions.h.

00463 { return "GeoPositions3sProperty"; }

static const Char8* osg::GeoPositions3sPropertyDesc::getFieldName ( void   )  [inline, static, inherited]

Definition at line 464 of file OSGGeoPropPositions.h.

00464 { return "positions";              }

static const Char8* osg::GeoPositions3sPropertyDesc::getGroupName ( void   )  [inline, static, inherited]

Reimplemented from osg::GeoPositionsPropertyDesc.

Definition at line 465 of file OSGGeoPropPositions.h.

00465 { return "GeoPositions";           }

static InitContainerF osg::GeoPositions3sPropertyDesc::getInitMethod ( void   )  [inline, static, inherited]

Reimplemented from osg::GeoPositionsPropertyDesc.

Definition at line 467 of file OSGGeoPropPositions.h.

00467 { return NULL;             }

static UInt32 osg::GeoPositions3sPropertyDesc::getFormat ( void   )  [inline, static, inherited]

Definition at line 469 of file OSGGeoPropPositions.h.

00469 { return GL_SHORT;         }

static UInt32 osg::GeoPositions3sPropertyDesc::getFormatSize ( void   )  [inline, static, inherited]

Definition at line 470 of file OSGGeoPropPositions.h.

00470 { return sizeof(GLshort);  }

static UInt32 osg::GeoPositions3sPropertyDesc::getDimension ( void   )  [inline, static, inherited]

Definition at line 471 of file OSGGeoPropPositions.h.

00471 { return 3;                }

static UInt32 osg::GeoPositions3sPropertyDesc::getStride ( void   )  [inline, static, inherited]

Definition at line 472 of file OSGGeoPropPositions.h.

00472 { return 0;                }

static FieldDescription** osg::GeoPositions3sPropertyDesc::getDesc ( void   )  [inline, static, inherited]

Definition at line 474 of file OSGGeoPropPositions.h.

00474 { return _desc;            }


Friends And Related Function Documentation

template<class GeoPropertyDesc>
friend class FieldContainer [friend, inherited]

Definition at line 302 of file OSGGeoPropertyBase.h.

template<class GeoPropertyDesc >
friend class FieldContainer [friend, inherited]

Definition at line 145 of file OSGGeoPropertyBase.h.


Member Data Documentation

template<class GeoPropertyDesc>
const BitVector osg::GeoProperty< GeoPropertyDesc >::GeoPropDataFieldMask [static, inherited]
template<class GeoPropertyDesc>
StoredFieldType osg::GeoProperty< GeoPropertyDesc >::_field [protected, inherited]
Initial value:
{
    new FieldDescription(
        StoredFieldType::getClassType(), 
        getFieldName(), 
        
 GeoProperty<                                GeoPositions3sPropertyDesc>::GeoPropDataFieldId,  GeoProperty<                                GeoPositions3sPropertyDesc>::GeoPropDataFieldMask,
        false,



        reinterpret_cast<FieldAccessMethod>(&GeoProperty<
                                GeoPositions3sPropertyDesc>::editFieldPtr))

}

Definition at line 456 of file OSGGeoPropPositions.h.


The documentation for this class was generated from the following file:

Generated on 8 Feb 2010 for OpenSG by  doxygen 1.6.1