00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef CYBFOG_HC
00029 #define CYBFOG_HC
00030
00031 #include "oaw/ctk/cybnodec.h"
00032 #include "oaw/ctk/cybwrlfields.h"
00033
00034 #define FOG_TYPE_LINEAR 0
00035 #define FOG_TYPE_EXPONENTIAL 1
00036 #include "../oawconfig.h"
00037
00038 OAW_BEGIN_NAMESPACE
00039
00040
00041 class OAW_DLLMAPPING CybFogC : public CybNodeC
00042 {
00043 public:
00044 CybFogC(CybWorldC*);
00045 CybFogC(const CybFogC&);
00046 CybFogC& operator = (const CybFogC&);
00047
00048 virtual void SetEvent(long, const void*, BaseI*);
00049 virtual long GetFieldEventID(const char*);
00050 virtual long GetFieldDataType(long);
00051
00052 protected:
00053 void SendIsBoundOutEvents(SFBool b);
00054 virtual void CreateNewCopy(CybNodeC*);
00055 virtual void LoadVRML(char*& iter, const char* iterEnd,long& znr);
00056
00057 public:
00058
00059 SFColor m_vColor;
00060 SFBool m_bType;
00061 SFFloat m_fVisibilityRange;
00062
00063
00064 static char VRMLKeyStrList[][30];
00065 };
00066
00067 OAW_END_NAMESPACE
00068
00069
00070 #endif
00071
00072
00073
00074