Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
mppca_io.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8#pragma once
9
10#include <momentum/math/fwd.h>
11
12#include <span>
13
14#include <istream>
15
16namespace momentum {
17
18std::shared_ptr<const Mppca> loadMppca(std::istream& inputStream);
19
20std::shared_ptr<const Mppca> loadMppca(const std::string& name);
21
22std::shared_ptr<const Mppca> loadMppca(std::span<const unsigned char> posePriorDataRaw);
23
24void saveMppca(const Mppca& mppca, const std::string& name);
25
26} // namespace momentum
std::shared_ptr< const Mppca > loadMppca(const std::span< const unsigned char > posePriorDataRaw)
Definition mppca_io.cpp:19
MppcaT< float > Mppca
Definition fwd.h:39
void saveMppca(const Mppca &mppca, const std::string &name)
Definition mppca_io.cpp:112