17 #ifndef AGXOSG_COMPOSITERENDERER_H 18 #define AGXOSG_COMPOSITERENDERER_H 20 #include <agx/config/AGX_USE_COMPOSITE.h> 21 #include <agx/config.h> 23 #if AGX_USE_COMPOSITE() 26 #include <agxWire/Composite/MultiWire.h> 38 CompositeRenderer( agxWire::Composite::MultiWire* wire, osg::Group*
root );
40 void setNumSegmentsPerUnitLength(
agx::Real numSegmentsPerUnitLength );
44 virtual ~CompositeRenderer() {}
47 virtual void removeNotification();
53 agxWire::Composite::MultiWireRef m_wire;
54 osg::ref_ptr< osg::Group > m_root;
64 #endif // AGX_USE_COMPOSITE
Derive from this class to implement a listener for simulation step events.
A class holding 4 dimensional vectors and providing basic arithmetic.
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
Smart pointer for handling referenced counted objects.
AGXCORE_EXPORT Component * root()