00001
00002
00003 #ifndef __SPHERE_FLAKE_H
00004 #define __SPHERE_FLAKE_H
00005
00006 #include <esg/Definitions.h>
00007 #include <gra/scene/Scene.h>
00008 #include <esg/spacesorting/SDS.h>
00009
00010 namespace gra {
00011
00018 class GRA_EXPORT SphereFlake : public Scene {
00019 protected:
00020 void _create_lights (void);
00021 AutoPtr<Material>** _create_materials (unsigned&);
00022 void _create_object_set (Vector3 [9]);
00023 void _create_spheres (unsigned,
00024 const Vector4&,
00025 const Vector4&,
00026 Vector3 [9],
00027 AutoPtr<Material>**,
00028 unsigned);
00029
00030 public:
00050 SphereFlake (const SDS& proto, unsigned factor, float radius = 1.0);
00051 };
00052
00053 }
00054
00055 #endif // __SPHERE_FLAKE_H