10 #include <osg/Referenced>
12 namespace osgCloudyDay
34 void AddLayer(
unsigned int layer,
unsigned int type);
47 void SetType(
unsigned int layer,
unsigned int type);
53 int GetType(
unsigned int layer);
60 void setClot(
unsigned int cloud_type,
unsigned int clot);
66 int getClot(
unsigned int cloud_type);
99 void setColor(
unsigned int cloud_type, osg::Vec4f v);
105 osg::Vec4f
getColor(
unsigned int cloud_type);
112 void setOvercast(
unsigned int cloud_type,
float overcast);
125 void setHeight(
unsigned int cloud_type,
float height);
131 float getHeight(
unsigned int cloud_type);
145 void setMiddlePoint(
unsigned int cloud_type, osg::Vec3 middlepoint);
158 void setSize(
unsigned int cloud_type, osg::Vec3 size);
164 osg::Vec3
getSize(
unsigned int cloud_type);
177 void setNumClouds(
unsigned int cloud_type,
unsigned int num_clouds);
180 std::vector<unsigned int> m_keys;
182 std::map<unsigned int, int> m_type;
184 std::map<unsigned int, float> m_overcast;
185 std::map<unsigned int, float> m_overcast_measure;
186 std::map<unsigned int, float> m_height;
187 std::map<unsigned int, unsigned int> m_numClouds;
189 std::map<unsigned int, osg::Vec3> m_middlepoint;
190 std::map<unsigned int, osg::Vec3> m_size;
191 std::map<unsigned int, osg::Vec4> m_color;
193 std::map<unsigned int, unsigned int> m_clot;
194 std::map<unsigned int, float> m_var;