Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OSGFatBorderChunkBase.cpp

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002  *                                OpenSG                                     *
00003  *                                                                           *
00004  *                                                                           *
00005  *               Copyright (C) 2000-2002 by the OpenSG Forum                 *
00006  *                                                                           *
00007  *                            www.opensg.org                                 *
00008  *                                                                           *
00009  *   contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de          *
00010  *                                                                           *
00011 \*---------------------------------------------------------------------------*/
00012 /*---------------------------------------------------------------------------*\
00013  *                                License                                    *
00014  *                                                                           *
00015  * This library is free software; you can redistribute it and/or modify it   *
00016  * under the terms of the GNU Library General Public License as published    *
00017  * by the Free Software Foundation, version 2.                               *
00018  *                                                                           *
00019  * This library is distributed in the hope that it will be useful, but       *
00020  * WITHOUT ANY WARRANTY; without even the implied warranty of                *
00021  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU         *
00022  * Library General Public License for more details.                          *
00023  *                                                                           *
00024  * You should have received a copy of the GNU Library General Public         *
00025  * License along with this library; if not, write to the Free Software       *
00026  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                 *
00027  *                                                                           *
00028 \*---------------------------------------------------------------------------*/
00029 /*---------------------------------------------------------------------------*\
00030  *                                Changes                                    *
00031  *                                                                           *
00032  *                                                                           *
00033  *                                                                           *
00034  *                                                                           *
00035  *                                                                           *
00036  *                                                                           *
00037 \*---------------------------------------------------------------------------*/
00038 
00039 /*****************************************************************************\
00040  *****************************************************************************
00041  **                                                                         **
00042  **                  This file is automatically generated.                  **
00043  **                                                                         **
00044  **          Any changes made to this file WILL be lost when it is          **
00045  **           regenerated, which can become necessary at any time.          **
00046  **                                                                         **
00047  **     Do not change this file, changes should be done in the derived      **
00048  **     class FatBorderChunk!
00049  **                                                                         **
00050  *****************************************************************************
00051 \*****************************************************************************/
00052 
00053 
00054 #define OSG_COMPILEFATBORDERCHUNKINST
00055 
00056 #include <stdlib.h>
00057 #include <stdio.h>
00058 
00059 #include <OSGConfig.h>
00060 
00061 #include "OSGFatBorderChunkBase.h"
00062 #include "OSGFatBorderChunk.h"
00063 
00064 
00065 OSG_USING_NAMESPACE
00066 
00067 const OSG::BitVector FatBorderChunkBase::MTInfluenceMask = 
00068     (Inherited::MTInfluenceMask) | 
00069     (static_cast<BitVector>(0x0) << Inherited::NextFieldId); 
00070 
00071 
00072 
00073 FieldContainerType FatBorderChunkBase::_type(
00074     "FatBorderChunk",
00075     "VertexProgramChunk",
00076     NULL,
00077     (PrototypeCreateF) &FatBorderChunkBase::createEmpty,
00078     FatBorderChunk::initMethod,
00079     NULL,
00080     0);
00081 
00082 //OSG_FIELD_CONTAINER_DEF(FatBorderChunkBase, FatBorderChunkPtr)
00083 
00084 /*------------------------------ get -----------------------------------*/
00085 
00086 FieldContainerType &FatBorderChunkBase::getType(void) 
00087 {
00088     return _type; 
00089 } 
00090 
00091 const FieldContainerType &FatBorderChunkBase::getType(void) const 
00092 {
00093     return _type;
00094 } 
00095 
00096 
00097 FieldContainerPtr FatBorderChunkBase::shallowCopy(void) const 
00098 { 
00099     FatBorderChunkPtr returnValue; 
00100 
00101     newPtr(returnValue, dynamic_cast<const FatBorderChunk *>(this)); 
00102 
00103     return returnValue; 
00104 }
00105 
00106 UInt32 FatBorderChunkBase::getContainerSize(void) const 
00107 { 
00108     return sizeof(FatBorderChunk); 
00109 }
00110 
00111 
00112 #if !defined(OSG_FIXED_MFIELDSYNC)
00113 void FatBorderChunkBase::executeSync(      FieldContainer &other,
00114                                     const BitVector      &whichField)
00115 {
00116     this->executeSyncImpl((FatBorderChunkBase *) &other, whichField);
00117 }
00118 #else
00119 void FatBorderChunkBase::executeSync(      FieldContainer &other,
00120                                     const BitVector      &whichField,                                    const SyncInfo       &sInfo     )
00121 {
00122     this->executeSyncImpl((FatBorderChunkBase *) &other, whichField, sInfo);
00123 }
00124 void FatBorderChunkBase::execBeginEdit(const BitVector &whichField, 
00125                                             UInt32     uiAspect,
00126                                             UInt32     uiContainerSize) 
00127 {
00128     this->execBeginEditImpl(whichField, uiAspect, uiContainerSize);
00129 }
00130 
00131 void FatBorderChunkBase::onDestroyAspect(UInt32 uiId, UInt32 uiAspect)
00132 {
00133     Inherited::onDestroyAspect(uiId, uiAspect);
00134 
00135 }
00136 #endif
00137 
00138 /*------------------------- constructors ----------------------------------*/
00139 
00140 #ifdef OSG_WIN32_ICL
00141 #pragma warning (disable : 383)
00142 #endif
00143 
00144 FatBorderChunkBase::FatBorderChunkBase(void) :
00145     Inherited() 
00146 {
00147 }
00148 
00149 #ifdef OSG_WIN32_ICL
00150 #pragma warning (default : 383)
00151 #endif
00152 
00153 FatBorderChunkBase::FatBorderChunkBase(const FatBorderChunkBase &source) :
00154     Inherited                 (source)
00155 {
00156 }
00157 
00158 /*-------------------------- destructors ----------------------------------*/
00159 
00160 FatBorderChunkBase::~FatBorderChunkBase(void)
00161 {
00162 }
00163 
00164 /*------------------------------ access -----------------------------------*/
00165 
00166 UInt32 FatBorderChunkBase::getBinSize(const BitVector &whichField)
00167 {
00168     UInt32 returnValue = Inherited::getBinSize(whichField);
00169 
00170 
00171     return returnValue;
00172 }
00173 
00174 void FatBorderChunkBase::copyToBin(      BinaryDataHandler &pMem,
00175                                   const BitVector         &whichField)
00176 {
00177     Inherited::copyToBin(pMem, whichField);
00178 
00179 
00180 }
00181 
00182 void FatBorderChunkBase::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 FatBorderChunkBase::executeSyncImpl(      FatBorderChunkBase *pOther,
00192                                         const BitVector         &whichField)
00193 {
00194 
00195     Inherited::executeSyncImpl(pOther, whichField);
00196 
00197 
00198 }
00199 #else
00200 void FatBorderChunkBase::executeSyncImpl(      FatBorderChunkBase *pOther,
00201                                         const BitVector         &whichField,
00202                                         const SyncInfo          &sInfo      )
00203 {
00204 
00205     Inherited::executeSyncImpl(pOther, whichField, sInfo);
00206 
00207 
00208 
00209 }
00210 
00211 void FatBorderChunkBase::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 #include <OSGMFieldTypeDef.inl>
00224 
00225 OSG_BEGIN_NAMESPACE
00226 
00227 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_DEV)
00228 DataType FieldDataTraits<FatBorderChunkPtr>::_type("FatBorderChunkPtr", "VertexProgramChunkPtr");
00229 #endif
00230 
00231 OSG_DLLEXPORT_SFIELD_DEF1(FatBorderChunkPtr, OSG_SYSTEMLIB_DLLTMPLMAPPING);
00232 OSG_DLLEXPORT_MFIELD_DEF1(FatBorderChunkPtr, OSG_SYSTEMLIB_DLLTMPLMAPPING);
00233 
00234 OSG_END_NAMESPACE
00235 
00236 
00237 /*------------------------------------------------------------------------*/
00238 /*                              cvs id's                                  */
00239 
00240 #ifdef OSG_SGI_CC
00241 #pragma set woff 1174
00242 #endif
00243 
00244 #ifdef OSG_LINUX_ICC
00245 #pragma warning( disable : 177 )
00246 #endif
00247 
00248 namespace
00249 {
00250     static Char8 cvsid_cpp       [] = "@(#)$Id: FCBaseTemplate_cpp.h,v 1.42 2004/08/03 05:53:03 dirk Exp $";
00251     static Char8 cvsid_hpp       [] = OSGFATBORDERCHUNKBASE_HEADER_CVSID;
00252     static Char8 cvsid_inl       [] = OSGFATBORDERCHUNKBASE_INLINE_CVSID;
00253 
00254     static Char8 cvsid_fields_hpp[] = OSGFATBORDERCHUNKFIELDS_HEADER_CVSID;
00255 }
00256 

Generated on Thu Aug 25 04:04:45 2005 for OpenSG by  doxygen 1.4.3