Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

cybgeometryc.h

Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2000  Carsten Winkelholz
00003 
00004 Address:  FGAN Forschungsgesellschaft fr Angewandte Naturwissenschaften e. V.
00005       Neuenahrer Str. 20
00006       D - 53343 Wachtberg
00007       
00008 Email:    winkelholz@fgan.de
00009 
00010 This program is free software; you can redistribute it and/or
00011 modify it under the terms of the GNU General Public License
00012 as published by the Free Software Foundation; either version 2
00013 of the License, or (at your option) any later version.
00014 
00015 This program is distributed in the hope that it will be useful,
00016 but WITHOUT ANY WARRANTY; without even the implied warranty of
00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018 GNU General Public License for more details.
00019 
00020 You should have received a copy of the GNU General Public License
00021 along with this program; if not, write to the Free Software
00022 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00023 */
00024 
00025 
00026 #ifndef CYBGEOMETRY_HC
00027 #define CYBGEOMETRY_HC
00028 
00029 #include <math.h>
00030 #include <stdio.h>
00031 #include <fstream>
00032 
00033 #include "oaw/misc/vectorc.h"
00034 #include "oaw/misc/stringc.h"
00035 #include "oaw/ctk/cybnodec.h"
00036 
00037 #define TRUE 1
00038 #define FALSE 0
00039 
00040 #define GEOMCOORD 0
00041 #define GEOMANDTEXCOORD 1
00042 
00043 #include "../oawconfig.h"
00044 
00045 OAW_BEGIN_NAMESPACE
00046 
00047 
00048 class CybGLViewC;
00049 class CybWorldC;
00050 
00052 // ybobjektc.h : interface of the CybObjektC class
00054 
00055 
00056 class OAW_DLLMAPPING CybGeometryI : public virtual CybNodeI{
00057 public:
00058   virtual void ToChannelDefault(CybChannelC*,long){};
00059   virtual void ToChannelTexture(CybChannelC*,long){};
00060 };
00061 
00062 class OAW_DLLMAPPING CybGeometryC : public virtual CybGeometryI,
00063          public CybNodeC
00064 {
00065 protected: 
00066 public:
00067   CybGeometryC(CybWorldC*);
00068   virtual ~CybGeometryC();
00069   CybGeometryC(const CybGeometryC&);
00070   CybGeometryC& operator = (const CybGeometryC&);  
00071   virtual void Copy(const CybNodeC*);
00072 protected:
00073   virtual void CreateNewCopy(CybNodeC*);
00074   
00075 public:
00076   virtual void ToChannelDefault(CybChannelC*,long){};
00077   virtual void ToChannelTexture(CybChannelC*,long){};
00078 protected:
00079   void InitDefault();
00080 };
00081 
00082 
00083 
00084 OAW_END_NAMESPACE
00085 
00086 
00087 #endif
00088 
00090 
00091 
00092 
00093 
00094 
00095 
00096 
00097 

Generated on Tue Jul 29 14:24:10 2003 for Open ActiveWrl by doxygen1.3-rc2