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
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054 #define OSG_COMPILEDVRAPPEARANCEINST
00055
00056 #include <stdlib.h>
00057 #include <stdio.h>
00058
00059 #include <OSGConfig.h>
00060
00061 #include "OSGDVRAppearanceBase.h"
00062 #include "OSGDVRAppearance.h"
00063
00064
00065 OSG_USING_NAMESPACE
00066
00067 const OSG::BitVector DVRAppearanceBase::MTInfluenceMask =
00068 (Inherited::MTInfluenceMask) |
00069 (static_cast<BitVector>(0x0) << Inherited::NextFieldId);
00070
00071
00072
00073 FieldContainerType DVRAppearanceBase::_type(
00074 "DVRAppearance",
00075 "ChunkMaterial",
00076 NULL,
00077 (PrototypeCreateF) &DVRAppearanceBase::createEmpty,
00078 DVRAppearance::initMethod,
00079 NULL,
00080 0);
00081
00082
00083
00084
00085
00086 FieldContainerType &DVRAppearanceBase::getType(void)
00087 {
00088 return _type;
00089 }
00090
00091 const FieldContainerType &DVRAppearanceBase::getType(void) const
00092 {
00093 return _type;
00094 }
00095
00096
00097 FieldContainerPtr DVRAppearanceBase::shallowCopy(void) const
00098 {
00099 DVRAppearancePtr returnValue;
00100
00101 newPtr(returnValue, dynamic_cast<const DVRAppearance *>(this));
00102
00103 return returnValue;
00104 }
00105
00106 UInt32 DVRAppearanceBase::getContainerSize(void) const
00107 {
00108 return sizeof(DVRAppearance);
00109 }
00110
00111
00112 #if !defined(OSG_FIXED_MFIELDSYNC)
00113 void DVRAppearanceBase::executeSync( FieldContainer &other,
00114 const BitVector &whichField)
00115 {
00116 this->executeSyncImpl((DVRAppearanceBase *) &other, whichField);
00117 }
00118 #else
00119 void DVRAppearanceBase::executeSync( FieldContainer &other,
00120 const BitVector &whichField, const SyncInfo &sInfo )
00121 {
00122 this->executeSyncImpl((DVRAppearanceBase *) &other, whichField, sInfo);
00123 }
00124 void DVRAppearanceBase::execBeginEdit(const BitVector &whichField,
00125 UInt32 uiAspect,
00126 UInt32 uiContainerSize)
00127 {
00128 this->execBeginEditImpl(whichField, uiAspect, uiContainerSize);
00129 }
00130
00131 void DVRAppearanceBase::onDestroyAspect(UInt32 uiId, UInt32 uiAspect)
00132 {
00133 Inherited::onDestroyAspect(uiId, uiAspect);
00134
00135 }
00136 #endif
00137
00138
00139
00140 #ifdef OSG_WIN32_ICL
00141 #pragma warning (disable : 383)
00142 #endif
00143
00144 DVRAppearanceBase::DVRAppearanceBase(void) :
00145 Inherited()
00146 {
00147 }
00148
00149 #ifdef OSG_WIN32_ICL
00150 #pragma warning (default : 383)
00151 #endif
00152
00153 DVRAppearanceBase::DVRAppearanceBase(const DVRAppearanceBase &source) :
00154 Inherited (source)
00155 {
00156 }
00157
00158
00159
00160 DVRAppearanceBase::~DVRAppearanceBase(void)
00161 {
00162 }
00163
00164
00165
00166 UInt32 DVRAppearanceBase::getBinSize(const BitVector &whichField)
00167 {
00168 UInt32 returnValue = Inherited::getBinSize(whichField);
00169
00170
00171 return returnValue;
00172 }
00173
00174 void DVRAppearanceBase::copyToBin( BinaryDataHandler &pMem,
00175 const BitVector &whichField)
00176 {
00177 Inherited::copyToBin(pMem, whichField);
00178
00179
00180 }
00181
00182 void DVRAppearanceBase::copyFromBin( BinaryDataHandler &pMem,
00183 const BitVector &whichField)
00184 {
00185 Inherited::copyFromBin(pMem, whichField);
00186
00187
00188 }
00189
00190 #if !defined(OSG_FIXED_MFIELDSYNC)
00191 void DVRAppearanceBase::executeSyncImpl( DVRAppearanceBase *pOther,
00192 const BitVector &whichField)
00193 {
00194
00195 Inherited::executeSyncImpl(pOther, whichField);
00196
00197
00198 }
00199 #else
00200 void DVRAppearanceBase::executeSyncImpl( DVRAppearanceBase *pOther,
00201 const BitVector &whichField,
00202 const SyncInfo &sInfo )
00203 {
00204
00205 Inherited::executeSyncImpl(pOther, whichField, sInfo);
00206
00207
00208
00209 }
00210
00211 void DVRAppearanceBase::execBeginEditImpl (const BitVector &whichField,
00212 UInt32 uiAspect,
00213 UInt32 uiContainerSize)
00214 {
00215 Inherited::execBeginEditImpl(whichField, uiAspect, uiContainerSize);
00216
00217 }
00218 #endif
00219
00220
00221
00222 #include <OSGSFieldTypeDef.inl>
00223
00224 OSG_BEGIN_NAMESPACE
00225
00226 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_DEV)
00227 DataType FieldDataTraits<DVRAppearancePtr>::_type("DVRAppearancePtr", "ChunkMaterialPtr");
00228 #endif
00229
00230 OSG_DLLEXPORT_SFIELD_DEF1(DVRAppearancePtr, OSG_SYSTEMLIB_DLLTMPLMAPPING);
00231
00232 OSG_END_NAMESPACE
00233
00234
00235
00236
00237
00238 #ifdef OSG_SGI_CC
00239 #pragma set woff 1174
00240 #endif
00241
00242 #ifdef OSG_LINUX_ICC
00243 #pragma warning( disable : 177 )
00244 #endif
00245
00246 namespace
00247 {
00248 static Char8 cvsid_cpp [] = "@(#)$Id: FCBaseTemplate_cpp.h,v 1.42 2004/08/03 05:53:03 dirk Exp $";
00249 static Char8 cvsid_hpp [] = OSGDVRAPPEARANCEBASE_HEADER_CVSID;
00250 static Char8 cvsid_inl [] = OSGDVRAPPEARANCEBASE_INLINE_CVSID;
00251
00252 static Char8 cvsid_fields_hpp[] = OSGDVRAPPEARANCEFIELDS_HEADER_CVSID;
00253 }
00254