17#ifndef AGXOSG_WIRERENDERER_H
18#define AGXOSG_WIRERENDERER_H
Class for rendering a spline model.
agx::Real m_refMaxTension
agx::Real getReferenceMaxTension() const
virtual void update(const agx::RealVector &radiiVector) override
Use this update if this spline has variable radii.
agx::observer_ptr< agxWire::Wire > m_wire
virtual void addNotification() override
Called when this listener is added to the simulation.
virtual void update() override
Given the current spline control points, data will be pushed for new update.
void setReferenceMaxTension(agx::Real maxTension)
WireRenderer(agxWire::Wire *wire, osg::Group *root, agxUtil::Spline *spline=nullptr)
Construct wire renderer given a wire and root (parent) node for this renderer.
Interface and placeholder of controllers/helpers for wires.
Smart pointer for handling referenced counted objects.
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
agx::ref_ptr< WireRenderer > WireRendererRef