MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Namespaces | Functions
basis_function.cc File Reference
#include <algorithm>
#include "math/vector.h"
#include "math/matrix.h"
#include "math/matrix_tools.h"
#include "math/functions.h"
#include "fssr/basis_function.h"
Include dependency graph for basis_function.cc:

Go to the source code of this file.

Namespaces

namespace  fssr
 

Functions

void fssr::evaluate (math::Vec3f const &pos, Sample const &sample, double *value, double *weight, math::Vector< double, 3 > *value_deriv, math::Vector< double, 3 > *weight_deriv)
 Rotates the given point in the LCS of the sample, evaluates the basis and weight functions and their derivatives, and rotates the derivatives back to the global coordinate system.
 
void fssr::rotation_from_normal (math::Vec2f const &normal, math::Matrix2f *rot)
 Generates a rotation matrix that transforms in the FSSR LCS.
 
void fssr::rotation_from_normal (math::Vec3f const &normal, math::Matrix3f *rot)
 Generates a rotation matrix that transforms in the FSSR LCS.