TuttleOFX  1
utilities.hpp File Reference
#include <tuttle/common/utils/global.hpp>
#include <ofxCore.h>
#include <ofxImageEffect.h>
#include <string>
#include <vector>
Include dependency graph for utilities.hpp:
This graph shows which files directly or indirectly include this file:

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::ofx

Typedefs

typedef std::vector< std::string > tuttle::ofx::StringVec
 class that is a std::vector of std::strings

Functions

void tuttle::ofx::setStringVecValue (StringVec &sv, const std::string &value, size_t index=0)
template<class T >
tuttle::ofx::minimum (const T &a, const T &b)
 get the min value
template<class T >
tuttle::ofx::maximum (const T &a, const T &b)
 get the max value
template<class T >
tuttle::ofx::clamp (const T &v, const T &min, const T &max)
 clamp the value
OfxRectD tuttle::ofx::clamp (const OfxRectD &v, const OfxRectD &bounds)
 clamp the rect in v to the given bounds
OfxRectD tuttle::ofx::rectUnion (const OfxRectD &a, const OfxRectD &b)
 get the union of the two rects