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 #define OSG_IMAGEGENERICATT 00040 00041 #include <stdlib.h> 00042 #include <stdio.h> 00043 00044 #include "OSGConfig.h" 00045 00046 #include <iostream> 00047 00048 #include "OSGImageGenericAtt.h" 00049 #include <OSGLog.h> 00050 00051 #include <OSGNode.h> 00052 #include <OSGNodeCore.h> 00053 #include <OSGGroup.h> 00054 #include <OSGComponentTransform.h> 00055 #include <OSGGeometry.h> 00056 #include <OSGMaterialGroup.h> 00057 #include <OSGSimpleGeometry.h> 00058 #include <OSGExtrusionGeometry.h> 00059 #include <OSGTextureChunk.h> 00060 #include <OSGGeoFunctions.h> 00061 #include <OSGDistanceLOD.h> 00062 #include <OSGSwitch.h> 00063 #include <OSGInline.h> 00064 00065 OSG_USING_NAMESPACE 00066 00067 #ifdef WIN32 00068 OSG_FC_ST_TYPE_FUNCTIONS_INL_TMPL_DEF(ImageGenericAttDesc, 00069 DynFieldAttachment) 00070 #endif 00071 00072 OSG_DYNFIELD_FC_DLLEXPORT_DEF(DynFieldAttachment, 00073 ImageGenericAttDesc, 00074 OSG_SYSTEMLIB_DLLTMPLMAPPING); 00075 00076 #if defined(OSG_WIN32_ICL) && !defined(OSG_CHECK_FIELDSETARG) 00077 #pragma warning (disable : 383) 00078 #endif 00079 00080 #include <OSGMFieldTypeDef.inl> 00081 #include <OSGSFieldTypeDef.inl> 00082 00083 OSG_BEGIN_NAMESPACE 00084 00085 DataType FieldDataTraits<ImageGenericAttPtr>::_type("ImageGenericAttPtr", 00086 "AttachmentPtr"); 00087 00088 #if defined(OSG_SGI_EXPLICIT_INSTANTIATION) 00089 00090 #pragma instantiate DynFieldAttachment<ImageGenericAttDesc>::_type 00091 00092 #pragma instantiate SField<ImageGenericAttPtr>::_fieldType 00093 #pragma instantiate MField<ImageGenericAttPtr>::_fieldType 00094 00095 #else 00096 00097 OSG_DLLEXPORT_SFIELD_DEF1(ImageGenericAttPtr, OSG_SYSTEMLIB_DLLTMPLMAPPING); 00098 OSG_DLLEXPORT_MFIELD_DEF1(ImageGenericAttPtr, OSG_SYSTEMLIB_DLLTMPLMAPPING); 00099 00100 #endif 00101 OSG_END_NAMESPACE 00102 00103 /*-------------------------------------------------------------------------*/ 00104 /* cvs id's */ 00105 00106 #ifdef __sgi 00107 #pragma set woff 1174 00108 #endif 00109 00110 #ifdef OSG_LINUX_ICC 00111 #pragma warning( disable : 177 ) 00112 #endif 00113 00114 namespace 00115 { 00116 static Char8 cvsid_cpp[] = "@(#)$Id: $"; 00117 static Char8 cvsid_hpp[] = OSGIMAGEGENERICATT_HEADER_CVSID; 00118 }
1.4.3