Public Types | Public Member Functions | Static Public Member Functions | List of all members
fcl::InterpolationFactory Class Reference

#include <hpp/fcl/ccd/interpolation/interpolation_factory.h>

Public Types

typedef boost::function< boost::shared_ptr< Interpolation >FCL_REAL, FCL_REAL)> CreateFunction
 

Public Member Functions

void registerClass (const InterpolationType type, const CreateFunction create_function)
 
boost::shared_ptr< Interpolationcreate (const InterpolationType type, FCL_REAL start_value, FCL_REAL end_value)
 

Static Public Member Functions

static InterpolationFactoryinstance ()
 

Member Typedef Documentation

◆ CreateFunction

typedef boost::function<boost::shared_ptr<Interpolation>FCL_REAL, FCL_REAL)> fcl::InterpolationFactory::CreateFunction

Member Function Documentation

◆ create()

boost::shared_ptr<Interpolation> fcl::InterpolationFactory::create ( const InterpolationType  type,
FCL_REAL  start_value,
FCL_REAL  end_value 
)

◆ instance()

static InterpolationFactory& fcl::InterpolationFactory::instance ( )
static

◆ registerClass()

void fcl::InterpolationFactory::registerClass ( const InterpolationType  type,
const CreateFunction  create_function 
)