/home/tetron/hack/vos/libs/vos/metaobjects/a3dl/sector.hh
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _SECTOR_HH_
00025 #define _SECTOR_HH_
00026
00027 #include "a3dldefs.hh"
00028 #include <vos/vos/vos.hh>
00029
00030 #ifndef A3DL_EXPORTS
00031 IMPORT_METAOBJECT_FACTORIES(A3DL_Sector)
00032 #endif
00033
00034
00035 namespace A3DL
00036 {
00037
00038
00039
00040
00041
00042
00043
00044 class A3DL_API Sector : public VOS::MetaObject
00045 {
00046 public:
00047 Sector(VOS::VobjectBase* superobject);
00048 ~Sector();
00049
00050 virtual const std::string getVOSType();
00051 static VOS::MetaObject* new_Sector(VOS::VobjectBase* superobject, const std::string& type);
00052
00053
00054
00055 void setFogColor(float r, float g, float b);
00056 void getFogColor(float& r, float& g, float& b) ;
00057 void setFogDensity(double d) ;
00058 double getFogDensity() ;
00059 VUtil::vRef<VOS::Property> getFogColorObj() ;
00060 VUtil::vRef<VOS::Property> getFogDensityObj() ;
00061
00062
00063
00064
00065 virtual void setGravity(double unitsPerSecond);
00066 virtual double getGravity();
00067 virtual VUtil::vRef<VOS::Property> getGravityObj() ;
00068
00069
00070
00071
00072 virtual void setCollisionDetection(bool enabled);
00073 virtual bool getCollisionDetection();
00074 virtual VUtil::vRef<VOS::Property> getCollisionDetectionObj() ;
00075
00076
00077
00078
00079 void setAmbientLightColor(float r, float g, float b);
00080 void getAmbientLightColor(float& r, float& g, float& b);
00081 VUtil::vRef<VOS::Property> getAmbientLightColorObj() ;
00082
00083
00084
00085
00086 void setWelcomeMessage(const std::string& msg, const std::string& type = "text/plain");
00087 std::string getWelcomeMessage();
00088 std::string getWelcomeMessageDataType();
00089 VUtil::vRef<VOS::Property> getWelcomeMessageObj();
00090
00091 };
00092 }
00093
00094 #endif