osg::GeoColors4ubPropertyDesc Struct Reference
[Geometry Properties]

The descriptor trait for osg::GeoColors4ub.

.

#include <OSGGeoPropColors.h>

Inheritance diagram for osg::GeoColors4ubPropertyDesc:

osg::GeoColorsPropertyDesc osg::GeoPropertyDesc osg::GeoColors4ub

List of all members.

Public Types

Typedefs


typedef GeoColors Inherited
typedef GeoColors::PtrType InheritedPtr
typedef GeoColorsPropertyDesc InheritedDesc
typedef MFColor4ub StoredFieldType
typedef InheritedDesc::GenericType GenericType
typedef GeoPropertyInterface
< GeoColorsPropertyDesc
Interface

Static Public Member Functions

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


Detailed Description

Definition at line 222 of file OSGGeoPropColors.h.


Member Typedef Documentation

Reimplemented from osg::GeoColorsPropertyDesc.

Definition at line 249 of file OSGGeoPropColors.h.

Reimplemented from osg::GeoColorsPropertyDesc.

Definition at line 250 of file OSGGeoPropColors.h.

Reimplemented from osg::GeoColorsPropertyDesc.

Definition at line 252 of file OSGGeoPropColors.h.

Definition at line 254 of file OSGGeoPropColors.h.

Reimplemented from osg::GeoColorsPropertyDesc.

Definition at line 255 of file OSGGeoPropColors.h.

Reimplemented from osg::GeoColorsPropertyDesc.

Definition at line 258 of file OSGGeoPropColors.h.


Member Function Documentation

static const Char8* osg::GeoColors4ubPropertyDesc::getTypeName ( void   )  [inline, static]

Reimplemented from osg::GeoColorsPropertyDesc.

Definition at line 230 of file OSGGeoPropColors.h.

00230 { return "GeoColors4ub";         }

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

Reimplemented from osg::GeoColorsPropertyDesc.

Definition at line 231 of file OSGGeoPropColors.h.

00231 { return "GeoColors4ubProperty"; }

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

Definition at line 232 of file OSGGeoPropColors.h.

00232 { return "Colors";               }

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

Reimplemented from osg::GeoColorsPropertyDesc.

Definition at line 233 of file OSGGeoPropColors.h.

00233 { return "GeoColors";            }

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

Reimplemented from osg::GeoColorsPropertyDesc.

Definition at line 235 of file OSGGeoPropColors.h.

00235 { return NULL;             }

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

Definition at line 237 of file OSGGeoPropColors.h.

00237 { return GL_UNSIGNED_BYTE; }

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

Definition at line 238 of file OSGGeoPropColors.h.

00238 { return sizeof(GLubyte);  }

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

Definition at line 239 of file OSGGeoPropColors.h.

00239 { return 4;                }

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

Definition at line 240 of file OSGGeoPropColors.h.

00240 { return 0;                }

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

Definition at line 242 of file OSGGeoPropColors.h.

00242 { return _desc;            }


Member Data Documentation

Initial value:

{
    new FieldDescription(
        StoredFieldType::getClassType(), 
        getFieldName(), 
        OSG_FC_FIELD_IDM_DESC(GeoProperty<
                                GeoColors4ubPropertyDesc>::GeoPropDataField),
        false,



        (FieldAccessMethod) &GeoProperty<
                                GeoColors4ubPropertyDesc>::getFieldPtr)

}

Definition at line 224 of file OSGGeoPropColors.h.


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

Generated on Mon Mar 17 11:13:37 2008 for OpenSG by  doxygen 1.5.5