00001 /* 00002 Copyright (C) 1999-2003 Carsten Winkelholz, Malte Weiß 00003 00004 Malte Weiß, 08.04.2003: FTGL support (FreeTypeGL) is now used. 00005 09.04.2003: All font support removed. CWorld::m_pFontManager is used instead. 00006 00007 Address: FGAN Forschungsgesellschaft fr Angewandte Naturwissenschaften e. V. 00008 Neuenahrer Str. 20 00009 D - 53343 Wachtberg 00010 00011 Email: winkelholz@fgan.de 00012 00013 This program is free software; you can redistribute it and/or 00014 modify it under the terms of the GNU General Public License 00015 as published by the Free Software Foundation; either version 2 00016 of the License, or (at your option) any later version. 00017 00018 This program is distributed in the hope that it will be useful, 00019 but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 GNU General Public License for more details. 00022 00023 You should have received a copy of the GNU General Public License 00024 along with this program; if not, write to the Free Software 00025 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00026 */ 00027 00028 #ifndef CYBGLCHANNELC_H 00029 #define CYBGLCHANNELC_H 00030 00031 #include "oaw/ctk/cybgraphicchannelc.h" 00032 #include "../oawconfig.h" 00033 00034 OAW_BEGIN_NAMESPACE 00035 00036 class CybGLShapeC; 00037 00038 class OAW_DLLMAPPING CybGLChannelC : public CybGraphicChannelC 00039 { 00040 public: 00041 CybGLChannelC(); 00042 CybGLChannelC(double vw, double vh); 00043 virtual ~CybGLChannelC(); 00044 00045 virtual void Process(CybGroupC*,short flag); 00046 virtual void Reset(); 00047 00048 virtual Matrix4C PopTransformMatrix(); 00049 virtual void PushTransformMatrix(); 00050 virtual void MultTransformMatrix(const Matrix4C&); 00051 00052 virtual void AddTranslucentShape(CybGLShapeC* pS); 00053 00054 virtual bool Blending(){return true;} 00055 00056 virtual void ClearBuffers(); 00057 00058 protected: 00059 void UpdateLight(); 00060 00061 protected: 00062 00063 ArrayC<CybGLShapeC*> m_pTranslucentShape; 00064 ArrayC<Matrix4C> m_translucentShapeTransform; 00065 }; 00066 00067 OAW_END_NAMESPACE 00068 00069 00070 #endif 00071 00072 00073 00074 00075 00076 00077 00078 00079
1.3-rc2