00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043 #define OSG_COMPILEGEOPROPCOLORINST
00044
00045 #include <stdlib.h>
00046 #include <stdio.h>
00047
00048 #include "OSGConfig.h"
00049
00050 #include "OSGGeoPropColors.h"
00051
00052 OSG_USING_NAMESPACE
00053
00054 FieldDescription *GeoColors3fPropertyDesc::_desc[] =
00055 {
00056 new FieldDescription(
00057 StoredFieldType::getClassType(),
00058 getFieldName(),
00059 OSG_FC_FIELD_IDM_DESC(GeoProperty<
00060 GeoColors3fPropertyDesc>::GeoPropDataField),
00061 false,
00062 #ifdef OSG_MICROSOFT_COMPILER_HACKS
00063 GeoProperty<GeoColors3fPropertyDesc>::getFPtrAccessMethod())
00064 #else
00065 (FieldAccessMethod) &GeoProperty<
00066 GeoColors3fPropertyDesc>::getFieldPtr)
00067 #endif
00068 };
00069
00070 FieldDescription *GeoColors4fPropertyDesc::_desc[] =
00071 {
00072 new FieldDescription(
00073 StoredFieldType::getClassType(),
00074 getFieldName(),
00075 OSG_FC_FIELD_IDM_DESC(GeoProperty<
00076 GeoColors4fPropertyDesc>::GeoPropDataField),
00077 false,
00078 #ifdef OSG_MICROSOFT_COMPILER_HACKS
00079 GeoProperty<GeoColors4fPropertyDesc>::getFPtrAccessMethod())
00080 #else
00081 (FieldAccessMethod) &GeoProperty<
00082 GeoColors4fPropertyDesc>::getFieldPtr)
00083 #endif
00084 };
00085
00086 FieldDescription *GeoColors3ubPropertyDesc::_desc[] =
00087 {
00088 new FieldDescription(
00089 StoredFieldType::getClassType(),
00090 getFieldName(),
00091 OSG_FC_FIELD_IDM_DESC(GeoProperty<
00092 GeoColors3ubPropertyDesc>::GeoPropDataField),
00093 false,
00094 #ifdef OSG_MICROSOFT_COMPILER_HACKS
00095 GeoProperty<GeoColors3ubPropertyDesc>::getFPtrAccessMethod())
00096 #else
00097 (FieldAccessMethod) &GeoProperty<
00098 GeoColors3ubPropertyDesc>::getFieldPtr)
00099 #endif
00100 };
00101
00102 FieldDescription *GeoColors4ubPropertyDesc::_desc[] =
00103 {
00104 new FieldDescription(
00105 StoredFieldType::getClassType(),
00106 getFieldName(),
00107 OSG_FC_FIELD_IDM_DESC(GeoProperty<
00108 GeoColors4ubPropertyDesc>::GeoPropDataField),
00109 false,
00110 #ifdef OSG_MICROSOFT_COMPILER_HACKS
00111 (FieldAccessMethod) NULL)
00112 #else
00113 (FieldAccessMethod) &GeoProperty<
00114 GeoColors4ubPropertyDesc>::getFieldPtr)
00115 #endif
00116 };
00117
00118 OSG_GEO_PROP_TYPE_TMPL_DEF(GeoProperty, GeoPropertyDesc, PtrType)
00119
00120 OSG_BEGIN_NAMESPACE
00121
00122 OSG_GEOPROP_DLLEXPORT_DEF (GeoProperty ,
00123 GeoColors3fPropertyDesc,
00124 OSG_SYSTEMLIB_DLLTMPLMAPPING);
00125
00126 OSG_GEOPROP_DLLEXPORT_DEF (GeoProperty ,
00127 GeoColors4fPropertyDesc,
00128 OSG_SYSTEMLIB_DLLTMPLMAPPING);
00129
00130 OSG_GEOPROP_DLLEXPORT_DEF (GeoProperty ,
00131 GeoColors3ubPropertyDesc,
00132 OSG_SYSTEMLIB_DLLTMPLMAPPING);
00133
00134 OSG_GEOPROP_DLLEXPORT_DEF (GeoProperty ,
00135 GeoColors4ubPropertyDesc,
00136 OSG_SYSTEMLIB_DLLTMPLMAPPING);
00137
00138 OSG_END_NAMESPACE