25 #include <osg/MatrixTransform>
26 #include <osg/observer_ptr>
84 virtual osg::Object*
clone(
const osg::CopyOp& copyop)
const {
return new GeometryNode (*
this,copyop); }
86 virtual const char*
className()
const {
return "MatrixTransform"; }
89 virtual void traverse(osg::NodeVisitor& nv);
95 void removeFromParents();
97 void selectRenderChild(RenderFlag flag);
98 RenderFlag getSelectedRenderChild()
const;
106 void setRenderChild(RenderFlag flag, osg::Node *node);
113 osg::Node *getRenderChild(RenderFlag flag);
119 const osg::Node *getRenderChild(RenderFlag flag)
const;
virtual osg::Object * clone(const osg::CopyOp ©op) const
agxCollide::Geometry::ShapeChangeEvent::CallbackType shapeCallback
void setAutoRemove(bool flag)
Specify whether this node should be removed when the destructor of the associated geometry is called...
virtual osg::Object * cloneType() const
agx::observer_ptr< agxCollide::Geometry > m_geometry
osg::ref_ptr< osg::Group > m_geometryParent
The geometry representation used by the collision detection engine.
bool getAutoRemove() const
osg::ref_ptr< osg::Group > m_renderParent
This class contains all Geometries and performs Broad Phase and Narrow Phase collision detection to c...
A node that can be associated with a collision geometry so that the transformation of this node is up...
virtual bool isSameKindAs(const osg::Object *obj) const
Callback1< Geometry * > CallbackType
virtual const char * className() const
virtual const char * libraryName() const