00001 /* 00002 Copyright (C) 1999 Carsten Winkelholz 00003 00004 Malte Weiß, 24.07.2002: Complete new OpenGL support (vertex arrays + textures supported). 00005 00006 Address: FGAN Forschungsgesellschaft für Angewandte Naturwissenschaften e. V. 00007 Neuenahrer Str. 20 00008 D - 53343 Wachtberg 00009 00010 Email: winkelholz@fgan.de 00011 00012 This program is free software; you can redistribute it and/or 00013 modify it under the terms of the GNU General Public License 00014 as published by the Free Software Foundation; either version 2 00015 of the License, or (at your option) any later version. 00016 00017 This program is distributed in the hope that it will be useful, 00018 but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 GNU General Public License for more details. 00021 00022 You should have received a copy of the GNU General Public License 00023 along with this program; if not, write to the Free Software 00024 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00025 */ 00026 00027 #ifndef CYBGLBOX_HC 00028 #define CYBGLBOX_HC 00029 00030 #include "oaw/ctk/cybboxc.h" 00031 #include "oaw/ctk/vertexc.h" 00032 #include "../oawconfig.h" 00033 00034 OAW_BEGIN_NAMESPACE 00035 00036 class OAW_DLLMAPPING CybGLBoxC : public CybBoxC 00037 { 00038 public: 00039 CybGLBoxC(CybWorldC* pW); 00040 CybGLBoxC(const CybGLBoxC&); 00041 CybGLBoxC& operator = (const CybGLBoxC&); 00042 00043 virtual void FinishInit(); 00044 virtual void ToChannelDefault(CybChannelC*,long flag); 00045 virtual void ToChannelTexture(CybChannelC*,long flag); 00046 00047 protected: 00048 void PrepareRender(); 00049 00050 protected: 00051 static StandardVertex m_Vertices[24]; 00052 }; 00053 00054 OAW_END_NAMESPACE 00055 00056 00057 #endif 00058 00059 00060 00061
1.3-rc2