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();
106 void setRenderChild(
RenderFlag flag, osg::Node *node);
119 const osg::Node *getRenderChild(
RenderFlag flag)
const;
124 void updateTransform();
virtual bool isSameKindAs(const osg::Object *obj) 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...
agx::observer_ptr< agxCollide::Geometry > m_geometry
virtual osg::Object * clone(const osg::CopyOp ©op) const
virtual osg::Object * cloneType() const
osg::ref_ptr< osg::Group > m_geometryParent
virtual const char * libraryName() const
The geometry representation used by the collision detection engine.
osg::ref_ptr< osg::Group > m_renderParent
This class contains all Geometries and performs Broad Phase and Narrow Phase collision detection to c...
Templated callback with one argument.
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
bool getAutoRemove() const
A node that can be associated with a collision geometry so that the transformation of this node is up...
virtual const char * className() const