TuttleOFX  1
bezier.cpp File Reference
#include "bezier.hpp"
#include <boost/math/special_functions/pow.hpp>
#include <boost/math/special_functions/math_fwd.hpp>
Include dependency graph for bezier.cpp:

Go to the source code of this file.

Namespaces

namespace  tuttle
 

This file provides a set of reimplementations of CImg functions by means of the generic image library (gil). Functions for image blurring.


namespace  tuttle::plugin
namespace  tuttle::plugin::warp
namespace  tuttle::plugin::warp::bezier

Functions

double tuttle::plugin::warp::bezier::barycentre (const double a, const double b, const double c, const double d, const double t)
point2< double > tuttle::plugin::warp::bezier::barycentre (const std::vector< point2< double > > &pts, const double t)
void tuttle::plugin::warp::bezier::tracerPoint (const point2< double > &p)
void tuttle::plugin::warp::bezier::drawBezier (const std::vector< point2< double > > &tabPts, const std::size_t nbBezier, const double r, const double v, const double b)
void tuttle::plugin::warp::bezier::bezierSubdivide (const std::vector< point2< double > > &pts, const std::size_t subdivs, std::vector< point2< double > > &outputPts)