110 for (NodeList::const_iterator itr=_children.begin();
111 itr!=_children.end();
114 if (itr->get() == drawable)
return true;
128 return getChildIndex(drawable);
140 if(!_boundingSphereComputed) getBound();
Definition BoundingBox:34
Definition BoundingSphere:35
virtual Drawable * asDrawable()
Definition Drawable:101
virtual Geode * asGeode()
Definition Geode:39
osg::BoundingBox _bbox
Definition Geode:151
virtual bool replaceDrawable(Drawable *origDraw, Drawable *newDraw)
bool containsDrawable(const Drawable *drawable) const
Definition Geode:108
unsigned int getDrawableIndex(const Drawable *drawable) const
Definition Geode:126
bool containsDrawable(const ref_ptr< T > &drawable) const
Definition Geode:119
virtual bool removeDrawable(Drawable *drawable)
virtual bool setDrawable(unsigned int i, Drawable *drawable)
virtual bool addDrawable(Drawable *drawable)
bool setDrawable(unsigned int i, const ref_ptr< T > &drawable)
Definition Geode:94
const Drawable * getDrawable(unsigned int i) const
Definition Geode:105
unsigned int getNumDrawables() const
Definition Geode:99
void compileDrawables(RenderInfo &renderInfo)
Geode(const Geode &, const CopyOp ©op=CopyOp::SHALLOW_COPY)
bool addDrawable(const ref_ptr< T > &drawable)
Definition Geode:52
virtual const Geode * asGeode() const
Definition Geode:40
unsigned int getDrawableIndex(const ref_ptr< T > &drawable) const
Definition Geode:131
Drawable * getDrawable(unsigned int i)
Definition Geode:102
bool replaceDrawable(const ref_ptr< T > &origDraw, const ref_ptr< R > &newDraw)
Definition Geode:80
virtual BoundingSphere computeBound() const
virtual bool removeDrawables(unsigned int i, unsigned int numDrawablesToRemove=1)
bool removeDrawable(const ref_ptr< T > &drawable)
Definition Geode:62
const BoundingBox & getBoundingBox() const
Definition Geode:138
T * get() const
Definition ref_ptr:117
author: Julien Valentin 2017 (mp3butcher@hotmail.com)
Definition AlphaFunc:19
#define OSG_EXPORT
Definition osg/Export:39