3#include <cgv/media/mesh/dynamic_mesh.h>
5#include "../lib_begin.h"
15template <
typename T =
float>
30 unsigned nr_shapes = 0;
41 void compute_rotation_matrices(
const std::vector<vec3_type>& pose, std::vector<mat3_type>& rotation_matrices);
43 std::vector<T> compute_pose_correction_vector(
const std::vector<mat3_type>& rotation_matrices)
const;
45 void compute_alternative_joint_regressors();
47 void compute_joint_locations(
const std::vector<vec3_type>& P);
54 void shape_mesh(
const std::vector<T>& shape,
bool use_parallel_implementation =
false);
56 void pose_mesh(
const vec3_type& translation,
const std::vector<vec3_type>& pose,
bool apply_pose_correction =
true,
bool apply_lbs =
true,
bool use_parallel_implementation =
false);
62#include <cgv/config/lib_end.h>
complete implementation of method actions that only call one method when entering a node
matrix of fixed size dimensions
A vector with zero based index.
simple class to hold the material properties of a phong material