Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
fwd.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// This file is @generated by gen_fwd.py
9// Do not edit this file directly, instead update gen_fwd_input.toml and run:
10// buck run @arvr/mode/platform010/opt //arvr/libraries/momentum:gen_fwd
11
12#pragma once
13
14#include <memory>
15
16namespace momentum {
17
18template <typename T>
19struct MeshT;
22
23using Mesh_p = ::std::shared_ptr<Mesh>;
24using Mesh_u = ::std::unique_ptr<Mesh>;
25using Mesh_w = ::std::weak_ptr<Mesh>;
26using Mesh_const_p = ::std::shared_ptr<const Mesh>;
27using Mesh_const_u = ::std::unique_ptr<const Mesh>;
28using Mesh_const_w = ::std::weak_ptr<const Mesh>;
29
30using Meshd_p = ::std::shared_ptr<Meshd>;
31using Meshd_u = ::std::unique_ptr<Meshd>;
32using Meshd_w = ::std::weak_ptr<Meshd>;
33using Meshd_const_p = ::std::shared_ptr<const Meshd>;
34using Meshd_const_u = ::std::unique_ptr<const Meshd>;
35using Meshd_const_w = ::std::weak_ptr<const Meshd>;
36
37template <typename T>
38struct MppcaT;
41
42using Mppca_p = ::std::shared_ptr<Mppca>;
43using Mppca_u = ::std::unique_ptr<Mppca>;
44using Mppca_w = ::std::weak_ptr<Mppca>;
45using Mppca_const_p = ::std::shared_ptr<const Mppca>;
46using Mppca_const_u = ::std::unique_ptr<const Mppca>;
47using Mppca_const_w = ::std::weak_ptr<const Mppca>;
48
49using Mppcad_p = ::std::shared_ptr<Mppcad>;
50using Mppcad_u = ::std::unique_ptr<Mppcad>;
51using Mppcad_w = ::std::weak_ptr<Mppcad>;
52using Mppcad_const_p = ::std::shared_ptr<const Mppcad>;
53using Mppcad_const_u = ::std::unique_ptr<const Mppcad>;
54using Mppcad_const_w = ::std::weak_ptr<const Mppcad>;
55
56template <typename T>
57struct SupportPlaneT;
60
61using SupportPlane_p = ::std::shared_ptr<SupportPlane>;
62using SupportPlane_u = ::std::unique_ptr<SupportPlane>;
63using SupportPlane_w = ::std::weak_ptr<SupportPlane>;
64using SupportPlane_const_p = ::std::shared_ptr<const SupportPlane>;
65using SupportPlane_const_u = ::std::unique_ptr<const SupportPlane>;
66using SupportPlane_const_w = ::std::weak_ptr<const SupportPlane>;
67
68using SupportPlaned_p = ::std::shared_ptr<SupportPlaned>;
69using SupportPlaned_u = ::std::unique_ptr<SupportPlaned>;
70using SupportPlaned_w = ::std::weak_ptr<SupportPlaned>;
71using SupportPlaned_const_p = ::std::shared_ptr<const SupportPlaned>;
72using SupportPlaned_const_u = ::std::unique_ptr<const SupportPlaned>;
73using SupportPlaned_const_w = ::std::weak_ptr<const SupportPlaned>;
74
75template <typename T>
76struct TransformT;
79
80using Transform_p = ::std::shared_ptr<Transform>;
81using Transform_u = ::std::unique_ptr<Transform>;
82using Transform_w = ::std::weak_ptr<Transform>;
83using Transform_const_p = ::std::shared_ptr<const Transform>;
84using Transform_const_u = ::std::unique_ptr<const Transform>;
85using Transform_const_w = ::std::weak_ptr<const Transform>;
86
87using Transformd_p = ::std::shared_ptr<Transformd>;
88using Transformd_u = ::std::unique_ptr<Transformd>;
89using Transformd_w = ::std::weak_ptr<Transformd>;
90using Transformd_const_p = ::std::shared_ptr<const Transformd>;
91using Transformd_const_u = ::std::unique_ptr<const Transformd>;
92using Transformd_const_w = ::std::weak_ptr<const Transformd>;
93
94template <typename T>
98
99using LowRankCovarianceMatrix_p = ::std::shared_ptr<LowRankCovarianceMatrix>;
100using LowRankCovarianceMatrix_u = ::std::unique_ptr<LowRankCovarianceMatrix>;
101using LowRankCovarianceMatrix_w = ::std::weak_ptr<LowRankCovarianceMatrix>;
102using LowRankCovarianceMatrix_const_p = ::std::shared_ptr<const LowRankCovarianceMatrix>;
103using LowRankCovarianceMatrix_const_u = ::std::unique_ptr<const LowRankCovarianceMatrix>;
104using LowRankCovarianceMatrix_const_w = ::std::weak_ptr<const LowRankCovarianceMatrix>;
105
106using LowRankCovarianceMatrixd_p = ::std::shared_ptr<LowRankCovarianceMatrixd>;
107using LowRankCovarianceMatrixd_u = ::std::unique_ptr<LowRankCovarianceMatrixd>;
108using LowRankCovarianceMatrixd_w = ::std::weak_ptr<LowRankCovarianceMatrixd>;
109using LowRankCovarianceMatrixd_const_p = ::std::shared_ptr<const LowRankCovarianceMatrixd>;
110using LowRankCovarianceMatrixd_const_u = ::std::unique_ptr<const LowRankCovarianceMatrixd>;
111using LowRankCovarianceMatrixd_const_w = ::std::weak_ptr<const LowRankCovarianceMatrixd>;
112
113template <typename T>
114class GeneralizedLossT;
117
118using GeneralizedLoss_p = ::std::shared_ptr<GeneralizedLoss>;
119using GeneralizedLoss_u = ::std::unique_ptr<GeneralizedLoss>;
120using GeneralizedLoss_w = ::std::weak_ptr<GeneralizedLoss>;
121using GeneralizedLoss_const_p = ::std::shared_ptr<const GeneralizedLoss>;
122using GeneralizedLoss_const_u = ::std::unique_ptr<const GeneralizedLoss>;
123using GeneralizedLoss_const_w = ::std::weak_ptr<const GeneralizedLoss>;
124
125using GeneralizedLossd_p = ::std::shared_ptr<GeneralizedLossd>;
126using GeneralizedLossd_u = ::std::unique_ptr<GeneralizedLossd>;
127using GeneralizedLossd_w = ::std::weak_ptr<GeneralizedLossd>;
128using GeneralizedLossd_const_p = ::std::shared_ptr<const GeneralizedLossd>;
129using GeneralizedLossd_const_u = ::std::unique_ptr<const GeneralizedLossd>;
130using GeneralizedLossd_const_w = ::std::weak_ptr<const GeneralizedLossd>;
131
132template <typename T>
136
137using SimdGeneralizedLoss_p = ::std::shared_ptr<SimdGeneralizedLoss>;
138using SimdGeneralizedLoss_u = ::std::unique_ptr<SimdGeneralizedLoss>;
139using SimdGeneralizedLoss_w = ::std::weak_ptr<SimdGeneralizedLoss>;
140using SimdGeneralizedLoss_const_p = ::std::shared_ptr<const SimdGeneralizedLoss>;
141using SimdGeneralizedLoss_const_u = ::std::unique_ptr<const SimdGeneralizedLoss>;
142using SimdGeneralizedLoss_const_w = ::std::weak_ptr<const SimdGeneralizedLoss>;
143
144using SimdGeneralizedLossd_p = ::std::shared_ptr<SimdGeneralizedLossd>;
145using SimdGeneralizedLossd_u = ::std::unique_ptr<SimdGeneralizedLossd>;
146using SimdGeneralizedLossd_w = ::std::weak_ptr<SimdGeneralizedLossd>;
147using SimdGeneralizedLossd_const_p = ::std::shared_ptr<const SimdGeneralizedLossd>;
148using SimdGeneralizedLossd_const_u = ::std::unique_ptr<const SimdGeneralizedLossd>;
149using SimdGeneralizedLossd_const_w = ::std::weak_ptr<const SimdGeneralizedLossd>;
150
151} // namespace momentum
Implementation of "A General and Adaptive Robust Loss Function" (https://arxiv.org/abs/1701....
Efficient and numerically stable representation of a low-rank-plus-diagonal Gaussian covariance matri...
SIMD (vectorized) variant of GeneralizedLossT that operates on DrJit Packet<T> lanes instead of indiv...
::std::shared_ptr< const Transformd > Transformd_const_p
Definition fwd.h:90
::std::unique_ptr< const LowRankCovarianceMatrix > LowRankCovarianceMatrix_const_u
Definition fwd.h:103
::std::shared_ptr< const GeneralizedLoss > GeneralizedLoss_const_p
Definition fwd.h:121
::std::weak_ptr< GeneralizedLossd > GeneralizedLossd_w
Definition fwd.h:127
TransformT< float > Transform
Definition fwd.h:77
::std::shared_ptr< const Transform > Transform_const_p
Definition fwd.h:83
::std::weak_ptr< SimdGeneralizedLossd > SimdGeneralizedLossd_w
Definition fwd.h:146
SimdGeneralizedLossT< double > SimdGeneralizedLossd
Definition fwd.h:135
::std::shared_ptr< LowRankCovarianceMatrixd > LowRankCovarianceMatrixd_p
Definition fwd.h:106
::std::shared_ptr< const Mppca > Mppca_const_p
Definition fwd.h:45
::std::shared_ptr< GeneralizedLoss > GeneralizedLoss_p
Definition fwd.h:118
::std::unique_ptr< SimdGeneralizedLoss > SimdGeneralizedLoss_u
Definition fwd.h:138
::std::unique_ptr< GeneralizedLossd > GeneralizedLossd_u
Definition fwd.h:126
::std::weak_ptr< Transformd > Transformd_w
Definition fwd.h:89
::std::unique_ptr< const Transform > Transform_const_u
Definition fwd.h:84
::std::unique_ptr< Mppca > Mppca_u
Definition fwd.h:43
::std::unique_ptr< const Transformd > Transformd_const_u
Definition fwd.h:91
::std::weak_ptr< LowRankCovarianceMatrix > LowRankCovarianceMatrix_w
Definition fwd.h:101
::std::unique_ptr< SupportPlaned > SupportPlaned_u
Definition fwd.h:69
::std::shared_ptr< SupportPlaned > SupportPlaned_p
Definition fwd.h:68
LowRankCovarianceMatrixT< double > LowRankCovarianceMatrixd
Definition fwd.h:97
::std::shared_ptr< Mesh > Mesh_p
Definition fwd.h:23
::std::unique_ptr< Mesh > Mesh_u
Definition fwd.h:24
::std::weak_ptr< const Mesh > Mesh_const_w
Definition fwd.h:28
::std::weak_ptr< Transform > Transform_w
Definition fwd.h:82
::std::unique_ptr< const SupportPlane > SupportPlane_const_u
Definition fwd.h:65
MppcaT< float > Mppca
Definition fwd.h:39
::std::shared_ptr< const SimdGeneralizedLossd > SimdGeneralizedLossd_const_p
Definition fwd.h:147
::std::unique_ptr< Transform > Transform_u
Definition fwd.h:81
SupportPlaneT< double > SupportPlaned
Definition fwd.h:59
MppcaT< double > Mppcad
Definition fwd.h:40
::std::shared_ptr< SimdGeneralizedLossd > SimdGeneralizedLossd_p
Definition fwd.h:144
::std::shared_ptr< SimdGeneralizedLoss > SimdGeneralizedLoss_p
Definition fwd.h:137
::std::weak_ptr< SimdGeneralizedLoss > SimdGeneralizedLoss_w
Definition fwd.h:139
LowRankCovarianceMatrixT< float > LowRankCovarianceMatrix
Definition fwd.h:96
::std::shared_ptr< Meshd > Meshd_p
Definition fwd.h:30
::std::unique_ptr< Mppcad > Mppcad_u
Definition fwd.h:50
MeshT< float > Mesh
Definition fwd.h:20
::std::unique_ptr< Transformd > Transformd_u
Definition fwd.h:88
::std::weak_ptr< const LowRankCovarianceMatrix > LowRankCovarianceMatrix_const_w
Definition fwd.h:104
::std::weak_ptr< const GeneralizedLoss > GeneralizedLoss_const_w
Definition fwd.h:123
::std::shared_ptr< const LowRankCovarianceMatrix > LowRankCovarianceMatrix_const_p
Definition fwd.h:102
::std::weak_ptr< Mppca > Mppca_w
Definition fwd.h:44
::std::unique_ptr< Meshd > Meshd_u
Definition fwd.h:31
::std::unique_ptr< LowRankCovarianceMatrixd > LowRankCovarianceMatrixd_u
Definition fwd.h:107
::std::unique_ptr< SupportPlane > SupportPlane_u
Definition fwd.h:62
::std::weak_ptr< const SimdGeneralizedLossd > SimdGeneralizedLossd_const_w
Definition fwd.h:149
::std::unique_ptr< const Mppcad > Mppcad_const_u
Definition fwd.h:53
::std::shared_ptr< const LowRankCovarianceMatrixd > LowRankCovarianceMatrixd_const_p
Definition fwd.h:109
::std::unique_ptr< const Meshd > Meshd_const_u
Definition fwd.h:34
GeneralizedLossT< double > GeneralizedLossd
Definition fwd.h:116
::std::shared_ptr< Transformd > Transformd_p
Definition fwd.h:87
GeneralizedLossT< float > GeneralizedLoss
Definition fwd.h:115
::std::shared_ptr< Transform > Transform_p
Definition fwd.h:80
::std::shared_ptr< const SimdGeneralizedLoss > SimdGeneralizedLoss_const_p
Definition fwd.h:140
::std::weak_ptr< const Mppca > Mppca_const_w
Definition fwd.h:47
TransformT< double > Transformd
Definition fwd.h:78
::std::unique_ptr< const GeneralizedLoss > GeneralizedLoss_const_u
Definition fwd.h:122
::std::weak_ptr< GeneralizedLoss > GeneralizedLoss_w
Definition fwd.h:120
::std::weak_ptr< const Meshd > Meshd_const_w
Definition fwd.h:35
::std::shared_ptr< const SupportPlane > SupportPlane_const_p
Definition fwd.h:64
::std::unique_ptr< SimdGeneralizedLossd > SimdGeneralizedLossd_u
Definition fwd.h:145
::std::unique_ptr< GeneralizedLoss > GeneralizedLoss_u
Definition fwd.h:119
::std::weak_ptr< const GeneralizedLossd > GeneralizedLossd_const_w
Definition fwd.h:130
::std::weak_ptr< const SupportPlane > SupportPlane_const_w
Definition fwd.h:66
MeshT< double > Meshd
Definition fwd.h:21
::std::shared_ptr< Mppca > Mppca_p
Definition fwd.h:42
::std::unique_ptr< const SimdGeneralizedLoss > SimdGeneralizedLoss_const_u
Definition fwd.h:141
::std::shared_ptr< GeneralizedLossd > GeneralizedLossd_p
Definition fwd.h:125
::std::shared_ptr< SupportPlane > SupportPlane_p
Definition fwd.h:61
::std::weak_ptr< const SimdGeneralizedLoss > SimdGeneralizedLoss_const_w
Definition fwd.h:142
::std::shared_ptr< const SupportPlaned > SupportPlaned_const_p
Definition fwd.h:71
::std::unique_ptr< const Mesh > Mesh_const_u
Definition fwd.h:27
::std::shared_ptr< LowRankCovarianceMatrix > LowRankCovarianceMatrix_p
Definition fwd.h:99
::std::unique_ptr< const GeneralizedLossd > GeneralizedLossd_const_u
Definition fwd.h:129
::std::weak_ptr< const Transformd > Transformd_const_w
Definition fwd.h:92
::std::shared_ptr< Mppcad > Mppcad_p
Definition fwd.h:49
::std::weak_ptr< Mppcad > Mppcad_w
Definition fwd.h:51
::std::shared_ptr< const Mppcad > Mppcad_const_p
Definition fwd.h:52
::std::unique_ptr< const SimdGeneralizedLossd > SimdGeneralizedLossd_const_u
Definition fwd.h:148
::std::weak_ptr< LowRankCovarianceMatrixd > LowRankCovarianceMatrixd_w
Definition fwd.h:108
::std::weak_ptr< SupportPlane > SupportPlane_w
Definition fwd.h:63
::std::weak_ptr< const LowRankCovarianceMatrixd > LowRankCovarianceMatrixd_const_w
Definition fwd.h:111
::std::unique_ptr< const LowRankCovarianceMatrixd > LowRankCovarianceMatrixd_const_u
Definition fwd.h:110
::std::weak_ptr< Mesh > Mesh_w
Definition fwd.h:25
SupportPlaneT< float > SupportPlane
Definition fwd.h:58
::std::unique_ptr< const SupportPlaned > SupportPlaned_const_u
Definition fwd.h:72
::std::weak_ptr< Meshd > Meshd_w
Definition fwd.h:32
::std::shared_ptr< const Meshd > Meshd_const_p
Definition fwd.h:33
::std::weak_ptr< const SupportPlaned > SupportPlaned_const_w
Definition fwd.h:73
::std::unique_ptr< const Mppca > Mppca_const_u
Definition fwd.h:46
::std::shared_ptr< const GeneralizedLossd > GeneralizedLossd_const_p
Definition fwd.h:128
::std::weak_ptr< const Transform > Transform_const_w
Definition fwd.h:85
SimdGeneralizedLossT< float > SimdGeneralizedLoss
Definition fwd.h:134
::std::weak_ptr< SupportPlaned > SupportPlaned_w
Definition fwd.h:70
::std::weak_ptr< const Mppcad > Mppcad_const_w
Definition fwd.h:54
::std::shared_ptr< const Mesh > Mesh_const_p
Definition fwd.h:26
::std::unique_ptr< LowRankCovarianceMatrix > LowRankCovarianceMatrix_u
Definition fwd.h:100
A generic mesh representation with support for vertices, faces, lines, and texture coordinates.
Definition mesh.h:20
Mixture of Probabilistic Principal Component Analyzers (MPPCA).
Definition mppca.h:29
Oriented plane used to classify support contacts and project support polygons.
Lightweight transform with separate rotation, translation, and uniform scaling.
Definition transform.h:36