synfig-core
1.0.3
|
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) |
Implementation of the "BLine" valuenode conversion.
$Id$
#define EPSILON 0.0000001f |
Referenced by synfig::ValueNode_BLine::operator()().
#define PREV_POINT prev->get_value().get(BLinePoint()) |
Referenced by synfig::ValueNode_BLine::create().
#define FIRST_POINT first->get_value().get(BLinePoint()) |
Referenced by synfig::ValueNode_BLine::create().
#define CURR_POINT curr->get_value().get(BLinePoint()) |
Referenced by synfig::ValueNode_BLine::create().
#define COORD_SYS_RADIAL_TAN_INTERP 1 |
#define INTERP_FUNCTION radial_interpolation |
Referenced by synfig::ValueNode_BLine::operator()().
|
inline |
Referenced by synfig::ValueNode_BLine::operator()(), and radial_interpolation().
References synfig::Vector::is_equal_to(), linear_interpolation(), synfig::Vector::mag(), and zero().
Referenced by synfig::ValueNode_BLine::operator()().
|
inline |
Referenced by synfig::ValueNode_BLine::operator()().
|
inline |
Referenced by synfig::ValueNode_BLine::operator()().