17 #ifndef AGX_LOOKUP_TABLES_H 18 #define AGX_LOOKUP_TABLES_H 63 size_t getNumValues()
const;
74 void setDefaultValue(
agx::Real defaultValue );
84 virtual void setValues( RealPairVector
const& values );
90 virtual agx::Real resultScalerFunction()
const;
93 RealPairList::const_iterator getValueIterator()
const;
94 RealPairList::const_iterator getValueEndIterator()
const;
157 virtual void clear() { m_points.clear(); }
159 virtual const Point2DVector&
getPoints() {
return m_points; }
165 Point2DVector m_points;
186 virtual void clear()
override;
208 #endif // AGX_LOOKUP_TABLES_H AGXTERRAIN_EXPORT void clear()
agx::ref_ptr< CubicSplineLookupTable > CubicSplineLookupTableRef
agx::ref_ptr< LinearLookupTable > LinearLookupTableRef
Linear interpolation between the inserted variable/value pairs.
#define AGXPHYSICS_EXPORT
Point2D(agx::Real xxx, agx::Real yyy, agx::Real dy)
Base class for spline interpolation between the inserted variable/value pairs.
Base class providing referencing counted objects.
agx::List< std::pair< agx::Real, agx::Real > > RealPairList
agx::ref_ptr< CubicFunction2D > CubicFunction2DRef
Return a value of y given any value of x.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
agx::Vector< std::pair< agx::Real, agx::Real > > RealPairVector
virtual ~CubicSplineLookupTable()
Abstract base class for storing/restoring a line/drums with version control.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
virtual const Point2DVector & getPoints()
CubicFunction2DRef m_spline
agx::Vector< Point2D > Point2DVector