Rumba C++ SDK
VertexSpace.h File Reference
#include "Maquina/Mesh.h"
#include <tbb/scalable_allocator.h>

Go to the source code of this file.

Namespaces

 maquina
 This version of the SDK is unstable, i-e, it may change with no warning.
 

Functions

MAQUINA_EXPORT maquina::BufferM33f maquina::compute_vertex_space (const Mesh &deformed, const Mesh &reference)
 
MAQUINA_EXPORT Imath::M33f maquina::compute_vertex_space (int p, const gsl::span< const Imath::V3f > &deform_p, const Imath::V3f &deform_n, const gsl::span< const Imath::V3f > &ref_p, const Imath::V3f &ref_n, const maquina::SpanSpan< const uint32_t, const uint32_t > &vertex_to_vertex, std::vector< Imath::V3f, tbb::scalable_allocator< Imath::V3f > > &a, std::vector< Imath::V3f, tbb::scalable_allocator< Imath::V3f > > &b)
 
MAQUINA_EXPORT Imath::M33f maquina::compute_weighted_vertex_space (int p, const gsl::span< const Imath::V3f > &deform_p, const Imath::V3f &deform_n, const gsl::span< const Imath::V3f > &ref_p, const Imath::V3f &ref_n, const std::vector< float > &weights, const maquina::SpanSpan< const uint32_t, const uint32_t > &vertex_to_vertex, std::vector< Imath::V3f, tbb::scalable_allocator< Imath::V3f > > &a, std::vector< Imath::V3f, tbb::scalable_allocator< Imath::V3f > > &b)
 
MAQUINA_EXPORT Imath::M44f maquina::compute_average_m44 (const gsl::span< const Imath::V3f > &deform_p, const gsl::span< const Imath::V3f > &ref_p, const gsl::span< const uint32_t > &indices, bool orthonormal)