Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

osg::GeoPTypesUI8 Class Reference
[Geometry Properties]

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

Inheritance diagram for osg::GeoPTypesUI8:

osg::GeoProperty< GeoPropertyDesc > osg::GeoPTypes osg::GeoPTypesUI8PropertyDesc osg::AbstractGeoProperty< GeoPropertyDesc > osg::GeoPropertyInterface< GeoPropertyDesc > osg::GeoPTypesPropertyDesc osg::GeoPTypesPropertyDesc osg::GeoPropertyArrayInterface osg::GeoPropertyDesc osg::GeoPropertyDesc List of all members.

Typedefs

typedef UInt8 GenericType
typedef AttachmentPropertyDesc InheritedDesc
typedef AttachmentPtr InheritedPtr
typedef GeoPropertyInterface<
GeoPTypesPropertyDesc
Interface
*typedef Attachment Inherited

Typedefs

typedef GeoPTypes::PtrType InheritedPtr
typedef GeoPTypesPropertyDesc InheritedDesc
typedef MFUInt8 StoredFieldType
typedef InheritedDesc::GenericType GenericType
typedef GeoPropertyInterface<
GeoPTypesPropertyDesc
Interface
*typedef GeoPTypes Inherited

Public Types

typedef GeoProperty< GeoPropertyDescPropertyType
typedef GeoProperty< GeoPropertyDescSelf
typedef FCPtr< LocalInheritedPtr,
PropertyType
PtrType
typedef GeoPropertyDesc::StoredFieldType StoredFieldType
typedef GeoPropertyDesc::GenericType StoredGenericType
typedef StoredFieldType::StoredType StoredType
enum  { GeoPropDataFieldId = LocalInherited::NextFieldId, NextFieldId = GeoPropDataFieldId + 1 }
typedef AbstractGeoProperty<
GeoPropertyDesc
PropertyType
typedef FCPtr< typename GeoPropertyDesc::InheritedPtr,
PropertyType
PtrType
typedef GeoPropertyInterface<
GeoPropertyDesc
InterfaceType
typedef GeoPropertyDesc::GenericType GenericType
typedef GeoPropertyArrayInterface Inherited

Public Member Functions

virtual osg::FieldContainerTypegetType (void)
virtual const osg::FieldContainerTypegetType (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::FieldContainerTypegetType (void) const
virtual osg::UInt32 getContainerSize (void) const
Access
*StoredFieldTypegetFieldPtr (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
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)
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
Generic Access
*virtual void clear (void)=0
virtual void resize (size_t newsize)=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 5353 of file dummyClasses.dox.


Member Typedef Documentation

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

Definition at line 205 of file OSGGeoPropertyBase.h.

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

Definition at line 206 of file OSGGeoPropertyBase.h.

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

Definition at line 209 of file OSGGeoPropertyBase.h.

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

Definition at line 212 of file OSGGeoPropertyBase.h.

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

Definition at line 213 of file OSGGeoPropertyBase.h.

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

Definition at line 214 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 130 of file OSGGeoPropertyInterface.h.

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

Definition at line 132 of file OSGGeoPropertyInterface.h.

typedef UInt8 osg::GeoPTypesPropertyDesc::GenericType [inherited]
 

Reimplemented in osg::GeoPTypesUI8PropertyDesc.

Definition at line 431 of file OSGGeoPropertyInterface.h.

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

Definition at line 134 of file OSGGeoPropertyInterface.h.

typedef AttachmentPropertyDesc osg::GeoPTypesPropertyDesc::InheritedDesc [inherited]
 

Reimplemented in osg::GeoPTypesUI8PropertyDesc.

Definition at line 427 of file OSGGeoPropertyInterface.h.

typedef AttachmentPtr osg::GeoPTypesPropertyDesc::InheritedPtr [inherited]
 

Reimplemented in osg::GeoPTypesUI8PropertyDesc.

Definition at line 429 of file OSGGeoPropertyInterface.h.

typedef GeoPropertyInterface<GeoPTypesPropertyDesc> osg::GeoPTypesPropertyDesc::Interface [inherited]
 

Reimplemented in osg::GeoPTypesUI8PropertyDesc.

Definition at line 434 of file OSGGeoPropertyInterface.h.

typedef GeoPTypes::PtrType osg::GeoPTypesUI8PropertyDesc::InheritedPtr [inherited]
 

Reimplemented from osg::GeoPTypesPropertyDesc.

Definition at line 82 of file OSGGeoPropPTypes.h.

typedef GeoPTypesPropertyDesc osg::GeoPTypesUI8PropertyDesc::InheritedDesc [inherited]
 

Reimplemented from osg::GeoPTypesPropertyDesc.

Definition at line 84 of file OSGGeoPropPTypes.h.

typedef MFUInt8 osg::GeoPTypesUI8PropertyDesc::StoredFieldType [inherited]
 

Definition at line 86 of file OSGGeoPropPTypes.h.

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

Reimplemented from osg::GeoPTypesPropertyDesc.

Definition at line 87 of file OSGGeoPropPTypes.h.

typedef GeoPropertyInterface<GeoPTypesPropertyDesc> osg::GeoPTypesUI8PropertyDesc::Interface [inherited]
 

Reimplemented from osg::GeoPTypesPropertyDesc.

Definition at line 90 of file OSGGeoPropPTypes.h.


Member Enumeration Documentation

template<class GeoPropertyDesc>
anonymous enum [inherited]
 

Enumerator:
GeoPropDataFieldId 
NextFieldId 

Definition at line 195 of file OSGGeoPropertyBase.h.

00196     {
00197         GeoPropDataFieldId = LocalInherited::NextFieldId,
00198 
00199         NextFieldId        = GeoPropDataFieldId + 1
00200     };


Member Function Documentation

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

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

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

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

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

Referenced by osg::TextTXFFace::addToGeom(), osg::Surface::buildSurface(), osg::DisplayCalibration::createCMViewports(), osg::ExtrusionSurface::createGeometry(), osg::VRMLGeometryPointSetDesc::endNode(), osg::TextVectorFace::fillGeo(), osg::SimpleSceneManager::highlightChanged(), osg::makeGeoIndicesUI32Ptr(), osg::makeGeoPLengthsPtr(), osg::makeGeoPTypesPtr(), osg::Geometry::merge2(), osg::Geometry::merge4(), osg::RAWSceneFileType::read(), osg::OFFSceneFileType::read(), osg::OBJSceneFileType::read(), osg::Surface::readfromtso(), and osg::GeoTypeGraphOp::travNodeEnter().

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

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

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

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 286 of file OSGGeoPropertyBase.inl.

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

00287 {
00288     return &_field;
00289 }

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

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 312 of file OSGGeoPropertyBase.inl.

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

00313 {
00314     return _field;
00315 }

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

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

Returns the format of this property.

Definition at line 334 of file OSGGeoPropertyBase.inl.

00335 {
00336     return GeoPropertyDesc::getFormat();
00337 }

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 341 of file OSGGeoPropertyBase.inl.

00342 {
00343     return GeoPropertyDesc::getFormatSize();
00344 }

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 348 of file OSGGeoPropertyBase.inl.

00349 {
00350     return GeoPropertyDesc::getStride();
00351 }

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 355 of file OSGGeoPropertyBase.inl.

00356 {
00357     return GeoPropertyDesc::getDimension();
00358 }

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 362 of file OSGGeoPropertyBase.inl.

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

00363 {
00364     return _field.size();
00365 }

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 369 of file OSGGeoPropertyBase.inl.

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

00370 {
00371     return _field.size();
00372 }

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 376 of file OSGGeoPropertyBase.inl.

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

00377 {
00378     return (UInt8 *) &(_field[0]);
00379 }