You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function is defined in <code><<aclass="elRef" href="./Cpp/MRQuaternion_8h.html">MRMesh/MRQuaternion.h</a>></code>.</p>
208
208
<h2><aclass="anchor" id="autotoc_md12"></a>
209
209
Affine transformations</h2>
210
-
<p>Most transformations in MeshLib are represented using a matrix-vector pair — <code><aclass="elRef" href="./Csharp/structMR_1_1AffineXf3f.html">MR::AffineXf3f</a></code>, defined in <code><MRMesh/MRAffineXf.h></code>.</p>
210
+
<p>Most transformations in MeshLib are represented using a matrix-vector pair — <code><aclass="elRef" href="./Csharp/structMR_1_1AffineXf3f.html">MR::AffineXf3f</a></code>, defined in <code><<aclass="elRef" href="./Cpp/MRAffineXf_8h.html">MRMesh/MRAffineXf.h</a>></code>.</p>
211
211
<p>This this pair, the vector holds the translation (offset) and the matrix holds rotation (and also scale and shear).</p>
212
212
<p>Those work in 2 and 3 dimensions, and like everythine else above are templated.</p>
213
213
<p><code><aclass="elRef" href="./Csharp/structMR_1_1AffineXf3f.html">MR::AffineXf3f</a></code> are very similar to 4x4 matrices widely used in computer graphics, but without the last row, which is assumed to be <code>(0,0,0,1)</code> (since it's not useful if you're not computing perspective projection matrices). It can be converted to and from <code><aclass="elRef" href="./Csharp/structMR_1_1Matrix4f.html">MR::Matrix4f</a></code>, more on that below.</p>
<p>Generated from function <code><aclass="elRef" href="../Cpp/namespaceMR.html#ad99d01aba3a14b1b917f72e9f16b58d6">MR::deserializeObjectTreeFrom3mf</a></code>. Parameter <code>file</code> is a UTF-8 encoded filesystem path. Parameter <code>callback</code> is a single object. Parameter <code>callback</code> has a default argument: <code>{}</code>, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call <code><aclass="el" href="expected__MR__LoadedObjectT__std__string_8h.html#a430535da406bb3080722e7f69306b553" title="Destroys a heap-allocated instance of MR_expected_MR_LoadedObjectT_std_string. Does nothing if the po...">MR_expected_MR_LoadedObjectT_std_string_Destroy()</a></code> to free it when you're done using it. </p>
225
+
<p>Generated from function <code><aclass="elRef" href="../Cpp/namespaceMR.html#ad99d01aba3a14b1b917f72e9f16b58d6">MR::deserializeObjectTreeFrom3mf</a></code>. Parameter <code>file</code> is a UTF-8 encoded filesystem path. Parameter <code>callback</code> is a single object. Parameter <code>callback</code> has a default argument: <code>{}</code>, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call <code>MR_expected_MR_LoadedObjectT_std_string_Destroy()</code> to free it when you're done using it. </p>
<p>Generated from function <code><aclass="elRef" href="../Cpp/namespaceMR.html#a98125a18f23f4963afa5cb878f03add6">MR::deserializeObjectTreeFromModel</a></code>. Parameter <code>file</code> is a UTF-8 encoded filesystem path. Parameter <code>callback</code> is a single object. Parameter <code>callback</code> has a default argument: <code>{}</code>, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call <code><aclass="el" href="expected__MR__LoadedObjectT__std__string_8h.html#a430535da406bb3080722e7f69306b553" title="Destroys a heap-allocated instance of MR_expected_MR_LoadedObjectT_std_string. Does nothing if the po...">MR_expected_MR_LoadedObjectT_std_string_Destroy()</a></code> to free it when you're done using it. </p>
252
+
<p>Generated from function <code><aclass="elRef" href="../Cpp/namespaceMR.html#a98125a18f23f4963afa5cb878f03add6">MR::deserializeObjectTreeFromModel</a></code>. Parameter <code>file</code> is a UTF-8 encoded filesystem path. Parameter <code>callback</code> is a single object. Parameter <code>callback</code> has a default argument: <code>{}</code>, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call <code>MR_expected_MR_LoadedObjectT_std_string_Destroy()</code> to free it when you're done using it. </p>
Copy file name to clipboardExpand all lines: MeshLib/dev/html/C/MR3mf_8h_source.html
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -150,7 +150,7 @@
150
150
<divclass="contents">
151
151
<ahref="MR3mf_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aid="l00001" name="l00001"></a><spanclass="lineno"> 1</span><spanclass="preprocessor">#pragma once</span></div>
<divclass="line"><aid="l00013" name="l00013"></a><spanclass="lineno"> 13</span><spanclass="comment">// loads scene from 3MF file in a new container object</span></div>
<divclass="line"><aid="l00021" name="l00021"></a><spanclass="lineno"> 21</span><spanclass="comment">// loads scene from .model file in a new container object</span></div>
0 commit comments