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 #ifndef OSG_NO_INT8_PNT
00087 FieldDescription *GeoNormals3bPropertyDesc::_desc[] =
00088 {
00089 new FieldDescription(
00090 StoredFieldType::getClassType(),
00091 getFieldName(),
00092 OSG_FC_FIELD_IDM_DESC(GeoProperty<
00093 GeoNormals3bPropertyDesc>::GeoPropDataField),
00094 false,
00095 #ifdef OSG_MICROSOFT_COMPILER_HACKS
00096 GeoProperty<GeoNormals3sPropertyDesc>::getFPtrAccessMethod())
00097 #else
00098 (FieldAccessMethod) &GeoProperty<
00099 GeoNormals3bPropertyDesc>::getFieldPtr)
00100 #endif
00101 };
00102 #endif
00103
00104 OSG_GEO_PROP_TYPE_TMPL_DEF(GeoProperty, GeoPropertyDesc, PtrType)
00105
00106 OSG_BEGIN_NAMESPACE
00107
00108 OSG_GEOPROP_DLLEXPORT_DEF (GeoProperty ,
00109 GeoNormals3fPropertyDesc,
00110 OSG_SYSTEMLIB_DLLTMPLMAPPING);
00111
00112 OSG_GEOPROP_DLLEXPORT_DEF (GeoProperty ,
00113 GeoNormals3sPropertyDesc,
00114 OSG_SYSTEMLIB_DLLTMPLMAPPING);
00115
00116 #ifndef OSG_NO_INT8_PNT
00117 OSG_GEOPROP_DLLEXPORT_DEF (GeoProperty ,
00118 GeoNormals3bPropertyDesc,
00119 OSG_SYSTEMLIB_DLLTMPLMAPPING);
00120 #endif
00121
00122 OSG_END_NAMESPACE