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 #ifndef _OSGDEPTHCLEARBACKGROUND_H_ 00041 #define _OSGDEPTHCLEARBACKGROUND_H_ 00042 #ifdef __sgi 00043 #pragma once 00044 #endif 00045 00046 #include <OSGConfig.h> 00047 00048 #include <OSGDepthClearBackgroundBase.h> 00049 00050 OSG_BEGIN_NAMESPACE 00051 00052 class DrawActionBase; 00053 class Viewport; 00054 00059 class OSG_SYSTEMLIB_DLLMAPPING DepthClearBackground : 00060 public DepthClearBackgroundBase 00061 { 00062 /*========================== PUBLIC =================================*/ 00063 public: 00064 00065 /*---------------------------------------------------------------------*/ 00069 void clear(DrawActionBase *, Viewport *); 00070 00071 00073 /*---------------------------------------------------------------------*/ 00077 virtual void changed(BitVector whichField, 00078 UInt32 origin ); 00080 /*---------------------------------------------------------------------*/ 00084 virtual void dump( UInt32 uiIndent = 0, 00085 const BitVector bvFlags = 0) const; 00086 00088 /*========================= PROTECTED ===============================*/ 00089 protected: 00090 00091 /*---------------------------------------------------------------------*/ 00095 DepthClearBackground(void); 00096 00097 DepthClearBackground(const DepthClearBackground &source); 00098 00100 /*---------------------------------------------------------------------*/ 00104 virtual ~DepthClearBackground(void); 00105 00107 /*========================= PRIVATE =================================*/ 00108 private: 00109 00110 typedef DepthClearBackgroundBase Inherited; 00111 00112 friend class FieldContainer; 00113 friend class DepthClearBackgroundBase; 00114 00115 static void initMethod( void ); 00116 00117 void operator =(const DepthClearBackground &source); 00118 }; 00119 00120 //--------------------------------------------------------------------------- 00121 // Exported Types 00122 //--------------------------------------------------------------------------- 00123 00124 00127 typedef DepthClearBackground *DepthClearBackgroundP; 00128 00129 OSG_END_NAMESPACE 00130 00131 #include <OSGDepthClearBackgroundBase.inl> 00132 #include <OSGDepthClearBackground.inl> 00133 00134 #define OSGDEPTHCLEARBACKGROUND_HEADER_CVSID "@(#)$Id: OSGDepthClearBackground.h,v 1.1 2005/01/18 00:31:17 dirk Exp $" 00135 00136 #endif /* _OSGDEPTHCLEARBACKGROUND_H_ */
1.4.3