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_COMPILEGEOPROPNORMALINST
00044
00045 #include <stdlib.h>
00046 #include <stdio.h>
00047
00048 #include "OSGConfig.h"
00049
00050 #include "OSGGeoPropNormals.h"
00051
00052 OSG_USING_NAMESPACE
00053
00054 FieldDescription *GeoNormals3fPropertyDesc::_desc[] =
00055 {
00056 new FieldDescription(
00057 StoredFieldType::getClassType(),
00058 getFieldName(),
00059 OSG_FC_FIELD_IDM_DESC(GeoProperty<
00060 GeoNormals3fPropertyDesc>::GeoPropDataField),
00061 false,
00062 #ifdef OSG_MICROSOFT_COMPILER_HACKS
00063 GeoProperty<GeoNormals3fPropertyDesc>::getFPtrAccessMethod())
00064 #else
00065 (FieldAccessMethod) &GeoProperty<
00066 GeoNormals3fPropertyDesc>::getFieldPtr)
00067 #endif
00068 };
00069
00070 FieldDescription *GeoNormals3sPropertyDesc::_desc[] =
00071 {
00072 new FieldDescription(
00073 StoredFieldType::getClassType(),
00074 getFieldName(),
00075 OSG_FC_FIELD_IDM_DESC(GeoProperty<
00076 GeoNormals3sPropertyDesc>::GeoPropDataField),
00077 false,
00078 #ifdef OSG_MICROSOFT_COMPILER_HACKS
00079 GeoProperty<GeoNormals3sPropertyDesc>::getFPtrAccessMethod())
00080 #else
00081 (FieldAccessMethod) &GeoProperty<
00082 GeoNormals3sPropertyDesc>::getFieldPtr)
00083 #endif
00084 };
00085
00086 FieldDescription *GeoNormals3bPropertyDesc::_desc[] =
00087 {
00088 new FieldDescription(
00089 StoredFieldType::getClassType(),
00090 getFieldName(),
00091 OSG_FC_FIELD_IDM_DESC(GeoProperty<
00092 GeoNormals3bPropertyDesc>::GeoPropDataField),
00093 false,
00094 #ifdef OSG_MICROSOFT_COMPILER_HACKS
00095 GeoProperty<GeoNormals3sPropertyDesc>::getFPtrAccessMethod())
00096 #else
00097 (FieldAccessMethod) &GeoProperty<
00098 GeoNormals3bPropertyDesc>::getFieldPtr)
00099 #endif
00100 };
00101
00102 OSG_GEO_PROP_TYPE_TMPL_DEF(GeoProperty, GeoPropertyDesc, PtrType)
00103
00104 OSG_BEGIN_NAMESPACE
00105
00106 OSG_GEOPROP_DLLEXPORT_DEF (GeoProperty ,
00107 GeoNormals3fPropertyDesc,
00108 OSG_SYSTEMLIB_DLLTMPLMAPPING);
00109
00110 OSG_GEOPROP_DLLEXPORT_DEF (GeoProperty ,
00111 GeoNormals3sPropertyDesc,
00112 OSG_SYSTEMLIB_DLLTMPLMAPPING);
00113
00114 OSG_GEOPROP_DLLEXPORT_DEF (GeoProperty ,
00115 GeoNormals3bPropertyDesc,
00116 OSG_SYSTEMLIB_DLLTMPLMAPPING);
00117
00118 OSG_END_NAMESPACE