osg::GeoPropertyArrayInterface Class Reference
[Geometry Properties]

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

#include <OSGGeoPropertyInterface.h>

Inheritance diagram for osg::GeoPropertyArrayInterface:
osg::GeoPropertyInterface< GeoPropertyDesc > 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 Member Functions


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

 GeoPropertyArrayInterface (void)
 GeoPropertyArrayInterface (const GeoPropertyArrayInterface &source)

virtual ~GeoPropertyArrayInterface (void)

Detailed Description

GeoPropertyArrayInterface defines the generic interface used by the geometry to access its attributes. This interface is not templated and can be used for all kinds of properties. To allow that this interface is typeless and closely related to OpenGL's Vertex Arrays.

It's an abstract class and not to be instantiated. osg::GeoProperty is one implementation of this interface, but not necessarily the only one. In fact, the main purpose of the interface layer is the ability to be able to create simplified geometry nodes that don't need the properties' flexibility and can't stand the overhead.

Definition at line 70 of file OSGGeoPropertyInterface.h.

Constructor & Destructor Documentation

GeoPropertyArrayInterface::GeoPropertyArrayInterface ( void   ) 

Definition at line 54 of file OSGGeoPropertyInterface.cpp.

00055 {
00056 }

GeoPropertyArrayInterface::GeoPropertyArrayInterface ( const GeoPropertyArrayInterface source  ) 

Definition at line 58 of file OSGGeoPropertyInterface.cpp.

00060 {
00061 }

GeoPropertyArrayInterface::~GeoPropertyArrayInterface ( void   )  [virtual]

Definition at line 63 of file OSGGeoPropertyInterface.cpp.

00064 {
00065 }

Member Function Documentation

virtual UInt32 osg::GeoPropertyArrayInterface::getFormat ( void   )  const [pure virtual]
virtual UInt32 osg::GeoPropertyArrayInterface::getFormatSize ( void   )  const [pure virtual]
virtual UInt32 osg::GeoPropertyArrayInterface::getStride ( void   )  const [pure virtual]
virtual UInt32 osg::GeoPropertyArrayInterface::getDimension ( void   )  const [pure virtual]
virtual UInt32 osg::GeoPropertyArrayInterface::getSize ( void   )  const [pure virtual]
virtual UInt32 osg::GeoPropertyArrayInterface::size ( void   )  const [pure virtual]
virtual UInt8* osg::GeoPropertyArrayInterface::getData ( void   )  const [pure virtual]
virtual UInt8* osg::GeoPropertyArrayInterface::editData ( void   )  const [pure virtual]
virtual void osg::GeoPropertyArrayInterface::clear ( void   )  [pure virtual]
virtual void osg::GeoPropertyArrayInterface::resize ( size_t  newsize  )  [pure virtual]

Referenced by osg::createSingleIndex().

virtual void osg::GeoPropertyArrayInterface::shrink ( void   )  [pure virtual]

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

Generated on 8 Feb 2010 for OpenSG by  doxygen 1.6.1