1 /*---------------------------------------------------------------------------*\
5 * Copyright (C) 2000-2006 by the OpenSG Forum *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
11 \*---------------------------------------------------------------------------*/
12 /*---------------------------------------------------------------------------*\
15 * This library is free software; you can redistribute it and/or modify it *
16 * under the terms of the GNU Library General Public License as published *
17 * by the Free Software Foundation, version 2. *
19 * This library is distributed in the hope that it will be useful, but *
20 * WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
22 * Library General Public License for more details. *
24 * You should have received a copy of the GNU Library General Public *
25 * License along with this library; if not, write to the Free Software *
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
28 \*---------------------------------------------------------------------------*/
29 /*---------------------------------------------------------------------------*\
37 \*---------------------------------------------------------------------------*/
39 #ifndef _OSGCSMCLUSTERWINDOW_H_
40 #define _OSGCSMCLUSTERWINDOW_H_
45 #include "OSGCSMClusterWindowBase.h"
51 /*! \brief CSMClusterWindow class. See \ref
52 PageContribCSMCSMClusterWindow for a description.
55 class OSG_CONTRIBCSM_DLLMAPPING CSMClusterWindow
: public CSMClusterWindowBase
59 /*========================== PUBLIC =================================*/
63 typedef CSMClusterWindowBase Inherited
;
64 typedef CSMClusterWindow Self
;
66 /*---------------------------------------------------------------------*/
70 virtual void changed(ConstFieldMaskArg whichField
,
75 /*---------------------------------------------------------------------*/
79 virtual bool init(void);
83 /*---------------------------------------------------------------------*/
87 virtual FieldContainer
*findNamedComponent(const Char8
*szName
) const;
90 /*---------------------------------------------------------------------*/
94 virtual void dump( UInt32 uiIndent
= 0,
95 const BitVector bvFlags
= 0) const;
98 /*========================= PROTECTED ===============================*/
102 // Variables should all be in CSMClusterWindowBase.
106 ClusterWindow
*_pClusterWindow
;
108 /*---------------------------------------------------------------------*/
109 /*! \name Constructors */
112 CSMClusterWindow(void);
113 CSMClusterWindow(const CSMClusterWindow
&source
);
116 /*---------------------------------------------------------------------*/
117 /*! \name Destructors */
120 virtual ~CSMClusterWindow(void);
123 /*---------------------------------------------------------------------*/
127 virtual void terminateGLContext(void);
130 /*---------------------------------------------------------------------*/
134 static void initMethod(InitPhase ePhase
);
137 /*========================== PRIVATE ================================*/
141 friend class FieldContainer
;
142 friend class CSMClusterWindowBase
;
144 // prohibit default functions (move to 'public' if you need one)
145 void operator =(const CSMClusterWindow
&source
);
148 typedef CSMClusterWindow
*CSMClusterWindowP
;
152 #include "OSGCSMClusterWindowBase.inl"
153 #include "OSGCSMClusterWindow.inl"
155 #endif /* _OSGCSMCLUSTERWINDOW_H_ */