osg::GeoPropertyInterface< GeoPropertyDesc > Class Template Reference
[Geometry Properties]

GeoPropertyInterface defines the typed generic interface used by the geometry to access its attributes. More...

#include <OSGGeoPropertyInterface.h>

Inheritance diagram for osg::GeoPropertyInterface< GeoPropertyDesc >:

osg::GeoPropertyArrayInterface osg::GeoColors osg::GeoIndices osg::GeoNormals osg::GeoPLengths osg::GeoPositions osg::GeoPTypes osg::GeoTexCoords osg::GeoColors3f osg::GeoColors3ub osg::GeoColors4f osg::GeoColors4ub osg::GeoIndicesUI16 osg::GeoIndicesUI32 osg::GeoNormals3b osg::GeoNormals3f osg::GeoNormals3s osg::GeoPLengthsUI16 osg::GeoPLengthsUI32 osg::GeoPLengthsUI8 osg::GeoPositions2d osg::GeoPositions2f osg::GeoPositions2s osg::GeoPositions3d osg::GeoPositions3f osg::GeoPositions3s osg::GeoPositions4d osg::GeoPositions4f osg::GeoPositions4s osg::GeoPTypesUI8 osg::GeoTexCoords1d osg::GeoTexCoords1f osg::GeoTexCoords2d osg::GeoTexCoords2f osg::GeoTexCoords3d osg::GeoTexCoords3f osg::GeoTexCoords4d osg::GeoTexCoords4f

List of all members.

Public Types

typedef GeoPropertyInterface
< GeoPropertyDesc
InterfaceType
typedef
GeoPropertyDesc::GenericType 
GenericType
typedef GeoPropertyArrayInterface Inherited

Public Member Functions

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
Constructors


 GeoPropertyInterface (void)
 GeoPropertyInterface (const GeoPropertyInterface &source)
Destructors


virtual ~GeoPropertyInterface (void)
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
virtual void shrink (void)=0


Detailed Description

template<class GeoPropertyDesc>
class osg::GeoPropertyInterface< GeoPropertyDesc >

GeoPropertyInterface defines the typed generic interface used by the geometry to access its attributes. This interface is templated and specific for every different kind of osg::GeoProperty. It includes the generic value access and thus is somewhat more heavy-weight than the osg::GeoPropertyArrayInterface.

Definition at line 126 of file OSGGeoPropertyInterface.h.


Member Typedef Documentation

Definition at line 131 of file OSGGeoPropertyInterface.h.

template<class GeoPropertyDesc>
typedef GeoPropertyDesc::GenericType osg::GeoPropertyInterface< GeoPropertyDesc >::GenericType

Definition at line 133 of file OSGGeoPropertyInterface.h.

Definition at line 135 of file OSGGeoPropertyInterface.h.


Constructor & Destructor Documentation

template<class GeoPropertyDesc>
osg::GeoPropertyInterface< GeoPropertyDesc >::GeoPropertyInterface ( void   )  [inline]

Definition at line 44 of file OSGGeoPropertyInterface.inl.

00044                                                                 :
00045     Inherited()
00046 {
00047 }

template<class GeoPropertyDesc>
osg::GeoPropertyInterface< GeoPropertyDesc >::GeoPropertyInterface ( const GeoPropertyInterface< GeoPropertyDesc > &  source  )  [inline]

Definition at line 50 of file OSGGeoPropertyInterface.inl.

00051                                         :
00052 
00053     Inherited(source)
00054 {
00055 }

template<class GeoPropertyDesc>
osg::GeoPropertyInterface< GeoPropertyDesc >::~GeoPropertyInterface ( void   )  [inline, virtual]

Definition at line 58 of file OSGGeoPropertyInterface.inl.

00059 {
00060 }


Member Function Documentation

template<class GeoPropertyDesc>
virtual GenericType osg::GeoPropertyInterface< GeoPropertyDesc >::getValue ( const UInt32  index  )  [pure virtual]

template<class GeoPropertyDesc>
virtual GenericType osg::GeoPropertyInterface< GeoPropertyDesc >::getValue ( const UInt32  index  )  const [pure virtual]

template<class GeoPropertyDesc>
virtual void osg::GeoPropertyInterface< GeoPropertyDesc >::getValue ( GenericType val,
const UInt32  index 
) [pure virtual]

template<class GeoPropertyDesc>
virtual void osg::GeoPropertyInterface< GeoPropertyDesc >::getValue ( GenericType val,
const UInt32  index 
) const [pure virtual]

template<class GeoPropertyDesc>
virtual void osg::GeoPropertyInterface< GeoPropertyDesc >::setValue ( const GenericType val,
const UInt32  index 
) [pure virtual]

template<class GeoPropertyDesc>
virtual void osg::GeoPropertyInterface< GeoPropertyDesc >::addValue ( const GenericType val  )  [pure virtual]

template<class GeoPropertyDesc>
virtual void osg::GeoPropertyInterface< GeoPropertyDesc >::push_back ( const GenericType val  )  [pure virtual]

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


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

Generated on Mon Mar 17 12:06:59 2008 for OpenSG by  doxygen 1.5.5