namespace Mf {
+class Scene;
+typedef boost::shared_ptr<Scene> SceneP;
+
class Camera;
+
class Scene : public Resource
{
+ class Impl;
+ boost::shared_ptr<Impl> impl_;
+
public:
+
+ inline static SceneP alloc(const std::string& name)
+ {
+ return SceneP(new Scene(name));
+ }
+
Scene(const std::string& name);
void draw(Scalar alpha, const Camera& cam) const;
void refresh();
- OctreePtr getOctree() const;
+ OctreeP getOctree() const;
static std::string getPath(const std::string& name);
-
-private:
- class Impl;
- boost::shared_ptr<Impl> impl_;
};