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 #ifndef _OSGDEPTHCLEARBACKGROUNDFIELDS_H_
00052 #define _OSGDEPTHCLEARBACKGROUNDFIELDS_H_
00053 #ifdef __sgi
00054 #pragma once
00055 #endif
00056
00057 #include <OSGConfig.h>
00058
00059 #include <OSGFieldContainerPtr.h>
00060 #include <OSGNodeCoreFieldDataType.h>
00061 #include <OSGSystemDef.h>
00062
00063 #include <OSGBackgroundFields.h>
00064
00065 OSG_BEGIN_NAMESPACE
00066
00067 class DepthClearBackground;
00068
00069 #if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent doubles
00070
00071
00072 typedef FCPtr<BackgroundPtr, DepthClearBackground> DepthClearBackgroundPtr;
00073
00074 #endif
00075
00076 #if !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)
00077
00079 #if !defined(OSG_DOC_DEV_TRAITS)
00080
00081 #endif
00082
00083 template <>
00084 struct FieldDataTraits<DepthClearBackgroundPtr> :
00085 public FieldTraitsRecurseMapper<DepthClearBackgroundPtr, true>
00086 {
00087 static DataType _type;
00088
00089 enum { StringConvertable = 0x00 };
00090 enum { bHasParent = 0x01 };
00091
00092 static DataType &getType (void) { return _type; }
00093
00094 static char *getSName(void) { return "SFDepthClearBackgroundPtr"; }
00095 };
00096
00097 #if !defined(OSG_DOC_DEV_TRAITS)
00098
00101 #endif
00102
00103 #endif // !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)
00104
00105
00106 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
00107
00109 typedef SField<DepthClearBackgroundPtr> SFDepthClearBackgroundPtr;
00110 #endif
00111
00112 #ifndef OSG_COMPILEDEPTHCLEARBACKGROUNDINST
00113 OSG_DLLEXPORT_DECL1(SField, DepthClearBackgroundPtr, OSG_SYSTEMLIB_DLLTMPLMAPPING)
00114 #endif
00115
00116 OSG_END_NAMESPACE
00117
00118 #define OSGDEPTHCLEARBACKGROUNDFIELDS_HEADER_CVSID "@(#)$Id: OSGDepthClearBackgroundFields.h,v 1.4 2005/07/08 06:33:25 vossg Exp $"
00119
00120 #endif