Carotid 0.1.1
Loading...
Searching...
No Matches
Classes | Typedefs | Functions | Variables
carotid Namespace Reference

Classes

class  IdentityGenerator
 IdentityGenerator - A class for generating shape blendshapes. More...
 
class  IdOptions
 IdOptions - Options for the IdentityGenerator class. More...
 

Typedefs

using Path = std::filesystem::path
 
template<typename T >
using Mat = Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic>
 
template<typename T >
using Vec = Eigen::Matrix<T, Eigen::Dynamic, 1>
 

Functions

template<typename T >
std::expected< Mat< T >, std::ios_base::failure > loadBinaryIntoMatrix (const Path &filename, int rows, int cols)
 
template<typename T >
std::expected< Vec< T >, std::ios_base::failure > loadBinaryIntoVector (const Path &filename, int n)
 

Variables

constexpr uint32_t CAROTID_SPATIAL_DIMENSIONS = 3
 
constexpr uint32_t CAROTID_VERTEX_COUNT_LVL1 = 12466
 
constexpr uint32_t CAROTID_VERTEX_COUNT_LVL2 = 49751
 
constexpr uint32_t CAROTID_VERTEX_COUNT_LVL3 = 198781
 

Typedef Documentation

◆ Mat

template<typename T >
using carotid::Mat = Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic>

◆ Path

using carotid::Path = std::filesystem::path

◆ Vec

template<typename T >
using carotid::Vec = Eigen::Matrix<T, Eigen::Dynamic, 1>

Function Documentation

◆ loadBinaryIntoMatrix()

template<typename T >
std::expected< Mat< T >, std::ios_base::failure > carotid::loadBinaryIntoMatrix ( const Path & filename,
int rows,
int cols )

◆ loadBinaryIntoVector()

template<typename T >
std::expected< Vec< T >, std::ios_base::failure > carotid::loadBinaryIntoVector ( const Path & filename,
int n )

Variable Documentation

◆ CAROTID_SPATIAL_DIMENSIONS

constexpr uint32_t carotid::CAROTID_SPATIAL_DIMENSIONS = 3
constexpr

◆ CAROTID_VERTEX_COUNT_LVL1

constexpr uint32_t carotid::CAROTID_VERTEX_COUNT_LVL1 = 12466
constexpr

◆ CAROTID_VERTEX_COUNT_LVL2

constexpr uint32_t carotid::CAROTID_VERTEX_COUNT_LVL2 = 49751
constexpr

◆ CAROTID_VERTEX_COUNT_LVL3

constexpr uint32_t carotid::CAROTID_VERTEX_COUNT_LVL3 = 198781
constexpr