synfig-core  1.0.3
Macros | Functions
valuenode_bline.cpp File Reference

Implementation of the "BLine" valuenode conversion. More...

#include "valuenode_bline.h"
#include "valuenode_const.h"
#include "valuenode_composite.h"
#include <synfig/canvas.h>
#include <synfig/general.h>
#include <synfig/exception.h>
#include <synfig/blinepoint.h>
#include <vector>
#include <list>
#include <algorithm>
#include <ETL/hermite>
#include <ETL/calculus>
#include <synfig/segment.h>
#include <synfig/curve_helper.h>

Macros

#define EPSILON   0.0000001f
#define PREV_POINT   prev->get_value().get(BLinePoint())
#define FIRST_POINT   first->get_value().get(BLinePoint())
#define CURR_POINT   curr->get_value().get(BLinePoint())
#define COORD_SYS_RADIAL_TAN_INTERP   1
#define INTERP_FUNCTION   radial_interpolation

Functions

float linear_interpolation (const float &a, const float &b, float c)
Vector linear_interpolation (const Vector &a, const Vector &b, float c)
Vector radial_interpolation (const Vector &a, const Vector &b, float c)
void transform_coords (Vector in, Vector &out, const Point &coord_origin, const Point *coord_sys)
void untransform_coords (const Vector &in, Vector &out, const Point &coord_origin, const Point *coord_sys)

Detailed Description

Implementation of the "BLine" valuenode conversion.

$Id$

Macro Definition Documentation

#define EPSILON   0.0000001f
#define PREV_POINT   prev->get_value().get(BLinePoint())
#define FIRST_POINT   first->get_value().get(BLinePoint())
#define CURR_POINT   curr->get_value().get(BLinePoint())
#define COORD_SYS_RADIAL_TAN_INTERP   1
#define INTERP_FUNCTION   radial_interpolation

Function Documentation

float linear_interpolation ( const float &  a,
const float &  b,
float  c 
)
inline
Vector linear_interpolation ( const Vector a,
const Vector b,
float  c 
)
inline
Vector radial_interpolation ( const Vector a,
const Vector b,
float  c 
)
inline
void transform_coords ( Vector  in,
Vector out,
const Point coord_origin,
const Point coord_sys 
)
inline
void untransform_coords ( const Vector in,
Vector out,
const Point coord_origin,
const Point coord_sys 
)
inline