OpenSceneGraph  3.5.1
Public Member Functions | Public Attributes | List of all members
osg::ClampedLinearCostFunction1D Struct Reference

Public Member Functions

 ClampedLinearCostFunction1D (double cost0=0.0, double dcost_di=0.0, unsigned int min_input=0)
 
void set (double cost0, double dcost_di, unsigned int min_input)
 
double operator() (unsigned int input) const
 

Public Attributes

double _cost0
 
double _dcost_di
 
unsigned int _min_input
 

Constructor & Destructor Documentation

osg::ClampedLinearCostFunction1D::ClampedLinearCostFunction1D ( double  cost0 = 0.0,
double  dcost_di = 0.0,
unsigned int  min_input = 0 
)
inline

Member Function Documentation

double osg::ClampedLinearCostFunction1D::operator() ( unsigned int  input) const
inline
void osg::ClampedLinearCostFunction1D::set ( double  cost0,
double  dcost_di,
unsigned int  min_input 
)
inline

Member Data Documentation

double osg::ClampedLinearCostFunction1D::_cost0
double osg::ClampedLinearCostFunction1D::_dcost_di
unsigned int osg::ClampedLinearCostFunction1D::_min_input

The documentation for this struct was generated from the following file:

osg logo
Generated at Wed Nov 11 2015 22:14:30 for the OpenSceneGraph by doxygen 1.8.10.