18 #include <osg/NodeVisitor>
19 #include <osg/Drawable>
50 virtual bool addDrawable(
Drawable *drawable );
58 virtual bool removeDrawable(
Drawable *drawable );
68 virtual bool removeDrawables(
unsigned int i,
unsigned int numDrawablesToRemove=1);
86 virtual bool setDrawable(
unsigned int i,
Drawable* drawable );
102 for (NodeList::const_iterator itr=_children.begin();
103 itr!=_children.end();
106 if (itr->get() == drawable)
return true;
118 return getChildIndex(drawable);
122 void compileDrawables(
RenderInfo& renderInfo);
128 if(!_boundingSphereComputed) getBound();
const Drawable * getDrawable(unsigned int i) const
const BoundingBox & getBoundingBox() const
#define META_Node(library, name)
virtual const Geode * asGeode() const
virtual Drawable * asDrawable()
bool containsDrawable(const Drawable *drawable) const
virtual Geode * asGeode()
unsigned int getDrawableIndex(const Drawable *drawable) const
Drawable * getDrawable(unsigned int i)
unsigned int getNumDrawables() const