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