]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/material/EffectGeode.hxx
Random buildings - initial commit.
[simgear.git] / simgear / scene / material / EffectGeode.hxx
index 209a4a1c55e80d93f57461975131646c17ba1474..515b1a0ac57a8c565ff0a20e26f20e69dd90225a 100644 (file)
@@ -30,12 +30,14 @@ public:
     EffectGeode(const EffectGeode& rhs,
                 const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY);
     META_Node(simgear,EffectGeode);
-    virtual void traverse(osg::NodeVisitor& nv);
     Effect* getEffect() const { return _effect.get(); }
     void setEffect(Effect* effect);
     virtual void resizeGLObjectBuffers(unsigned int maxSize);
     virtual void releaseGLObjects(osg::State* = 0) const;
     typedef DrawableList::iterator DrawablesIterator;
+    DrawablesIterator drawablesBegin() { return _drawables.begin(); }
+    DrawablesIterator drawablesEnd() { return _drawables.end(); }
+    void runGenerators(osg::Geometry *geometry);
 private:
     osg::ref_ptr<Effect> _effect;
 };