 |
AGXDynamics
2.35.0.2
|
Go to the documentation of this file.
17 #ifndef AGXOSG_SPLINERENDERER_OLD_H
18 #define AGXOSG_SPLINERENDERER_OLD_H
31 #include <osg/Geometry>
58 virtual void update();
112 virtual void removeNotification();
117 virtual void addNotification();
119 void initialize( osg::Group*
root );
agx::Real m_numSegmentsPerUnitLength
Derive from this class to implement a listener for simulation step events.
virtual void last(const agx::TimeStamp &)
Called after a step is taken in the simulation Implement this method in the derived class to get call...
CylinderGeometryShaderRef m_splineGeometry
const agxUtil::Spline * getSplineModel() const
agx::Real getRadius() const
agx::RealVector m_redShiftScales
Values from 0 to 1 how red the color of the node is (0 default color, 1 red color,...
A class holding 4 dimensional vectors and providing basic arithmetic.
agx::RealVector & getRedShiftScales()
agx::Real getNumSegmentsPerUnitLength() const
Smart pointer for handling referenced counted objects.
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
agxUtil::SplineRef m_spline
agxUtil::Spline * getSplineModel()
void setRadius(agx::Real radius)
Assign new radius of the cylinder segments.
AGXCORE_EXPORT Component * root()
This namespace consists of a set of classes for handling geometric intersection tests including boole...
virtual ~SplineRendererOld()
agx::ref_ptr< SplineRendererOld > SplineRendererOldRef
osg::ref_ptr< osg::Group > m_node
const agx::RealVector & getRedShiftScales() const
void setNumSegmentsPerUnitLength(agx::Real segmentsPerUnitLength)
Assign how many cylinder segments that should be used per unit length.
osg::ref_ptr< CylinderGeometryShader > CylinderGeometryShaderRef
void setSplineModel(agxUtil::Spline *spline)
Assign spline model.