146 lines
8.4 KiB
XML
146 lines
8.4 KiB
XML
|
|
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
||
|
|
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.13.2" xml:lang="en-US">
|
||
|
|
<compounddef id="harmonics_8hpp" kind="file" language="C++">
|
||
|
|
<compoundname>harmonics.hpp</compoundname>
|
||
|
|
<includes local="no">array</includes>
|
||
|
|
<includes local="no">cstddef</includes>
|
||
|
|
<includes local="no">expected</includes>
|
||
|
|
<includes local="no">span</includes>
|
||
|
|
<includes local="no">vector</includes>
|
||
|
|
<includes refid="surface__embedding_8hpp" local="yes">serif/geometry/deformation/surface_embedding.hpp</includes>
|
||
|
|
<includedby refid="harmonics_8cpp" local="yes">src/lib/serif/geometry/deformation/harmonics.cpp</includedby>
|
||
|
|
<includedby refid="surface__embedding_8cpp" local="yes">src/lib/serif/geometry/deformation/surface_embedding.cpp</includedby>
|
||
|
|
<incdepgraph>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/geometry/deformation/detail/harmonics.hpp</label>
|
||
|
|
<link refid="harmonics_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="7" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="8">
|
||
|
|
<label>serif/geometry/deformation/failure.hpp</label>
|
||
|
|
<link refid="geometry_2deformation_2failure_8hpp"/>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="9" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="10">
|
||
|
|
<label>serif/geometry/deformation/models.hpp</label>
|
||
|
|
<link refid="models_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="11" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="12">
|
||
|
|
<label>serif/geometry/deformation/spaces.hpp</label>
|
||
|
|
<link refid="spaces_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="7">
|
||
|
|
<label>serif/geometry/deformation/surface_embedding.hpp</label>
|
||
|
|
<link refid="surface__embedding_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="4" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="5" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="6" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="8" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="10" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="12" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="13" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="13">
|
||
|
|
<label>serif/geometry/deformation/workspace.hpp</label>
|
||
|
|
<link refid="geometry_2deformation_2workspace_8hpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>array</label>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>cstddef</label>
|
||
|
|
</node>
|
||
|
|
<node id="4">
|
||
|
|
<label>expected</label>
|
||
|
|
</node>
|
||
|
|
<node id="11">
|
||
|
|
<label>optional</label>
|
||
|
|
</node>
|
||
|
|
<node id="5">
|
||
|
|
<label>span</label>
|
||
|
|
</node>
|
||
|
|
<node id="9">
|
||
|
|
<label>string</label>
|
||
|
|
</node>
|
||
|
|
<node id="6">
|
||
|
|
<label>vector</label>
|
||
|
|
</node>
|
||
|
|
</incdepgraph>
|
||
|
|
<invincdepgraph>
|
||
|
|
<node id="1">
|
||
|
|
<label>src/include/serif/geometry/deformation/detail/harmonics.hpp</label>
|
||
|
|
<link refid="harmonics_8hpp"/>
|
||
|
|
<childnode refid="2" relation="include">
|
||
|
|
</childnode>
|
||
|
|
<childnode refid="3" relation="include">
|
||
|
|
</childnode>
|
||
|
|
</node>
|
||
|
|
<node id="2">
|
||
|
|
<label>src/lib/serif/geometry/deformation/harmonics.cpp</label>
|
||
|
|
<link refid="harmonics_8cpp"/>
|
||
|
|
</node>
|
||
|
|
<node id="3">
|
||
|
|
<label>src/lib/serif/geometry/deformation/surface_embedding.cpp</label>
|
||
|
|
<link refid="surface__embedding_8cpp"/>
|
||
|
|
</node>
|
||
|
|
</invincdepgraph>
|
||
|
|
<innernamespace refid="namespaceserif">serif</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1geometry">serif::geometry</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1geometry_1_1deformation">serif::geometry::deformation</innernamespace>
|
||
|
|
<innernamespace refid="namespaceserif_1_1geometry_1_1deformation_1_1detail">serif::geometry::deformation::detail</innernamespace>
|
||
|
|
<briefdescription>
|
||
|
|
</briefdescription>
|
||
|
|
<detaileddescription>
|
||
|
|
</detaileddescription>
|
||
|
|
<programlisting>
|
||
|
|
<codeline lineno="1"><highlight class="preprocessor">#pragma<sp/>once</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="2"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="3"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><array></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="4"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><cstddef></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="5"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><expected></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="6"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><span></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="7"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><vector></highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="8"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="9"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="surface__embedding_8hpp" kindref="compound">serif/geometry/deformation/surface_embedding.hpp</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="10"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="11"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceserif_1_1geometry_1_1deformation_1_1detail" kindref="compound">serif::geometry::deformation::detail</ref><sp/>{</highlight></codeline>
|
||
|
|
<codeline lineno="13"><highlight class="normal"><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/>std::expected<std::vector<SphericalHarmonicMode>,<sp/>DeformationFailure><sp/><ref refid="namespaceserif_1_1geometry_1_1deformation_1_1detail_1a2b90b4a4ff8a4b85379079d55b2eb3b1" kindref="member">make_harmonic_modes</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>SphericalHarmonicSurface&<sp/>model,<sp/>std::size_t<sp/>node_count);</highlight></codeline>
|
||
|
|
<codeline lineno="14"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="16"><highlight class="normal"><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/>std::expected<std::vector<double>,<sp/>DeformationFailure><sp/><ref refid="namespaceserif_1_1geometry_1_1deformation_1_1detail_1a02c8c6fceb651f31e86585b8a794562a" kindref="member">sample_harmonic_basis</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>SphericalHarmonicSurface&<sp/>model,<sp/>std::span<const<sp/>SphericalHarmonicMode><sp/>modes,<sp/>std::span<</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::array<double,<sp/>3>><sp/>directions);</highlight></codeline>
|
||
|
|
<codeline lineno="17"><highlight class="normal"></highlight></codeline>
|
||
|
|
<codeline lineno="19"><highlight class="normal"><sp/><sp/><sp/><sp/>[[nodiscard]]<sp/><ref refid="namespaceserif_1_1geometry_1_1deformation_1a08306ee593c172f4877facc061e98f97" kindref="member">DeformationStatus</ref><sp/><ref refid="namespaceserif_1_1geometry_1_1deformation_1_1detail_1a7628b540a8b43925a269627be0e1f8a7" kindref="member">check_independent_harmonics</ref>(std::span<const<sp/>double><sp/>basis,<sp/>std::size_t<sp/>node_count,<sp/>std::size_t<sp/>mode_count);</highlight></codeline>
|
||
|
|
<codeline lineno="20"><highlight class="normal">}</highlight></codeline>
|
||
|
|
</programlisting>
|
||
|
|
<location file="src/include/serif/geometry/deformation/detail/harmonics.hpp"/>
|
||
|
|
</compounddef>
|
||
|
|
</doxygen>
|