2022-11-28 19:21:26 +08:00
|
|
|
<?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.9.4" xml:lang="en-US">
|
|
|
|
<compounddef id="examples_2CommandSequence_8cpp" kind="file" language="C++">
|
|
|
|
<compoundname>examples/CommandSequence.cpp</compoundname>
|
|
|
|
<includes refid="DNACalib_8h" local="yes">dnacalib/DNACalib.h</includes>
|
|
|
|
<includes local="no">iostream</includes>
|
|
|
|
<includes local="no">vector</includes>
|
|
|
|
<incdepgraph>
|
|
|
|
<node id="1">
|
|
|
|
<label>CommandSequence.cpp</label>
|
|
|
|
<link refid="examples_2CommandSequence_8cpp"/>
|
|
|
|
<childnode refid="2" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="75" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="76" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="8">
|
|
|
|
<label>dna/BinaryStreamReader.h</label>
|
|
|
|
<link refid="BinaryStreamReader_8h"/>
|
|
|
|
<childnode refid="7" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="10" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="16" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="41">
|
|
|
|
<label>dna/BinaryStreamWriter.h</label>
|
|
|
|
<link refid="BinaryStreamWriter_8h"/>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="42" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="16" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="7">
|
|
|
|
<label>dna/DataLayer.h</label>
|
|
|
|
<link refid="DataLayer_8h"/>
|
|
|
|
</node>
|
|
|
|
<node id="9">
|
|
|
|
<label>dna/Defs.h</label>
|
|
|
|
<link refid="dna_2Defs_8h"/>
|
|
|
|
</node>
|
|
|
|
<node id="48">
|
|
|
|
<label>dna/JSONStreamReader.h</label>
|
|
|
|
<link refid="JSONStreamReader_8h"/>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="10" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="16" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="49">
|
|
|
|
<label>dna/JSONStreamWriter.h</label>
|
|
|
|
<link refid="JSONStreamWriter_8h"/>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="42" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="16" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="11">
|
|
|
|
<label>dna/Reader.h</label>
|
|
|
|
<link refid="Reader_8h"/>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="7" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="12" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="39" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="10">
|
|
|
|
<label>dna/StreamReader.h</label>
|
|
|
|
<link refid="StreamReader_8h"/>
|
|
|
|
<childnode refid="7" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="11" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="16" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="42">
|
|
|
|
<label>dna/StreamWriter.h</label>
|
|
|
|
<link refid="StreamWriter_8h"/>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="43" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="16" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="43">
|
|
|
|
<label>dna/Writer.h</label>
|
|
|
|
<link refid="Writer_8h"/>
|
|
|
|
<childnode refid="7" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="44" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="47" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="16" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="12">
|
|
|
|
<label>dna/layers/BehaviorReader.h</label>
|
|
|
|
<link refid="BehaviorReader_8h"/>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="13" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="16" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="44">
|
|
|
|
<label>dna/layers/BehaviorWriter.h</label>
|
|
|
|
<link refid="BehaviorWriter_8h"/>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="45" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="16" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="13">
|
|
|
|
<label>dna/layers/DefinitionReader.h</label>
|
|
|
|
<link refid="DefinitionReader_8h"/>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="14" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="16" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="38" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="45">
|
|
|
|
<label>dna/layers/DefinitionWriter.h</label>
|
|
|
|
<link refid="DefinitionWriter_8h"/>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="46" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="16" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="38" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="15">
|
|
|
|
<label>dna/layers/Descriptor.h</label>
|
|
|
|
<link refid="Descriptor_8h"/>
|
|
|
|
</node>
|
|
|
|
<node id="14">
|
|
|
|
<label>dna/layers/DescriptorReader.h</label>
|
|
|
|
<link refid="DescriptorReader_8h"/>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="15" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="16" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="46">
|
|
|
|
<label>dna/layers/DescriptorWriter.h</label>
|
|
|
|
<link refid="DescriptorWriter_8h"/>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="15" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="16" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="40">
|
|
|
|
<label>dna/layers/Geometry.h</label>
|
|
|
|
<link refid="Geometry_8h"/>
|
|
|
|
<childnode refid="38" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="39">
|
|
|
|
<label>dna/layers/GeometryReader.h</label>
|
|
|
|
<link refid="GeometryReader_8h"/>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="13" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="40" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="16" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="47">
|
|
|
|
<label>dna/layers/GeometryWriter.h</label>
|
|
|
|
<link refid="GeometryWriter_8h"/>
|
|
|
|
<childnode refid="9" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="45" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="40" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="16">
|
|
|
|
<label>dna/types/Aliases.h</label>
|
|
|
|
<link refid="dna_2types_2Aliases_8h"/>
|
|
|
|
<childnode refid="17" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="21" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="22" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="24" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="26" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="28" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="29" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="35" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="36" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="37" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="17">
|
|
|
|
<label>dna/types/ArrayView.h</label>
|
|
|
|
<link refid="ArrayView_8h"/>
|
|
|
|
<childnode refid="18" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="19" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="20" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="21">
|
|
|
|
<label>dna/types/StringView.h</label>
|
|
|
|
<link refid="StringView_8h"/>
|
|
|
|
<childnode refid="17" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="38">
|
|
|
|
<label>dna/types/Vector3.h</label>
|
|
|
|
<link refid="Vector3_8h"/>
|
|
|
|
</node>
|
|
|
|
<node id="4">
|
|
|
|
<label>dnacalib/Command.h</label>
|
|
|
|
<link refid="Command_8h"/>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="2">
|
|
|
|
<label>dnacalib/DNACalib.h</label>
|
|
|
|
<link refid="DNACalib_8h"/>
|
|
|
|
<childnode refid="3" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="53" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="54" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="55" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="56" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="57" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="58" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="59" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="60" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="61" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="62" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="63" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="64" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="65" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="66" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="68" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="69" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="70" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="71" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="72" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="73" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="74" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="5">
|
|
|
|
<label>dnacalib/Defs.h</label>
|
|
|
|
<link refid="dnacalib_2Defs_8h"/>
|
|
|
|
</node>
|
|
|
|
<node id="3">
|
|
|
|
<label>dnacalib/commands/CalculateMeshLowerLODsCommand.h</label>
|
|
|
|
<link refid="CalculateMeshLowerLODsCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="53">
|
|
|
|
<label>dnacalib/commands/ClearBlendShapesCommand.h</label>
|
|
|
|
<link refid="ClearBlendShapesCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="54">
|
|
|
|
<label>dnacalib/commands/CommandSequence.h</label>
|
|
|
|
<link refid="CommandSequence_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="55">
|
|
|
|
<label>dnacalib/commands/ConditionalCommand.h</label>
|
|
|
|
<link refid="ConditionalCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="56">
|
|
|
|
<label>dnacalib/commands/PruneBlendShapeTargetsCommand.h</label>
|
|
|
|
<link refid="PruneBlendShapeTargetsCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="57">
|
|
|
|
<label>dnacalib/commands/RemoveJointAnimationCommand.h</label>
|
|
|
|
<link refid="RemoveJointAnimationCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="58">
|
|
|
|
<label>dnacalib/commands/RemoveJointCommand.h</label>
|
|
|
|
<link refid="RemoveJointCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="59">
|
|
|
|
<label>dnacalib/commands/RemoveMeshCommand.h</label>
|
|
|
|
<link refid="RemoveMeshCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="60">
|
|
|
|
<label>dnacalib/commands/RenameAnimatedMapCommand.h</label>
|
|
|
|
<link refid="RenameAnimatedMapCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="61">
|
|
|
|
<label>dnacalib/commands/RenameBlendShapeCommand.h</label>
|
|
|
|
<link refid="RenameBlendShapeCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="62">
|
|
|
|
<label>dnacalib/commands/RenameJointCommand.h</label>
|
|
|
|
<link refid="RenameJointCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="63">
|
|
|
|
<label>dnacalib/commands/RenameMeshCommand.h</label>
|
|
|
|
<link refid="RenameMeshCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="64">
|
|
|
|
<label>dnacalib/commands/RotateCommand.h</label>
|
|
|
|
<link refid="RotateCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="65">
|
|
|
|
<label>dnacalib/commands/ScaleCommand.h</label>
|
|
|
|
<link refid="ScaleCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="66">
|
|
|
|
<label>dnacalib/commands/SetBlendShapeTargetDeltasCommand.h</label>
|
|
|
|
<link refid="SetBlendShapeTargetDeltasCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="67" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="68">
|
|
|
|
<label>dnacalib/commands/SetLODsCommand.h</label>
|
|
|
|
<link refid="SetLODsCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="70">
|
|
|
|
<label>dnacalib/commands/SetNeutralJointRotationsCommand.h</label>
|
|
|
|
<link refid="SetNeutralJointRotationsCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="69">
|
|
|
|
<label>dnacalib/commands/SetNeutralJointTranslationsCommand.h</label>
|
|
|
|
<link refid="SetNeutralJointTranslationsCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="71">
|
|
|
|
<label>dnacalib/commands/SetSkinWeightsCommand.h</label>
|
|
|
|
<link refid="SetSkinWeightsCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="72">
|
|
|
|
<label>dnacalib/commands/SetVertexPositionsCommand.h</label>
|
|
|
|
<link refid="SetVertexPositionsCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="67" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="73">
|
|
|
|
<label>dnacalib/commands/TranslateCommand.h</label>
|
|
|
|
<link refid="TranslateCommand_8h"/>
|
|
|
|
<childnode refid="4" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="67">
|
|
|
|
<label>dnacalib/commands/VectorOperations.h</label>
|
|
|
|
<link refid="VectorOperations_8h"/>
|
|
|
|
</node>
|
|
|
|
<node id="74">
|
|
|
|
<label>dnacalib/dna/DNACalibDNAReader.h</label>
|
|
|
|
<link refid="DNACalibDNAReader_8h"/>
|
|
|
|
<childnode refid="5" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="6" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="11" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="6">
|
|
|
|
<label>dnacalib/types/Aliases.h</label>
|
|
|
|
<link refid="dnacalib_2types_2Aliases_8h"/>
|
|
|
|
<childnode refid="7" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="8" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="41" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="48" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="49" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="10" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="42" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="16" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="38" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="22" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="24" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="50" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="51" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="52" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="26" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="29" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="35" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="36" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="37" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="23">
|
|
|
|
<label>pma/Defs.h</label>
|
|
|
|
<link refid="pma_2Defs_8h"/>
|
|
|
|
</node>
|
|
|
|
<node id="22">
|
|
|
|
<label>pma/MemoryResource.h</label>
|
|
|
|
<link refid="MemoryResource_8h"/>
|
|
|
|
<childnode refid="23" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="20" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="24">
|
|
|
|
<label>pma/ScopedPtr.h</label>
|
|
|
|
<link refid="ScopedPtr_8h"/>
|
|
|
|
<childnode refid="25" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="50">
|
|
|
|
<label>pma/resources/AlignedMemoryResource.h</label>
|
|
|
|
<link refid="AlignedMemoryResource_8h"/>
|
|
|
|
<childnode refid="23" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="22" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="20" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="51">
|
|
|
|
<label>pma/resources/ArenaMemoryResource.h</label>
|
|
|
|
<link refid="ArenaMemoryResource_8h"/>
|
|
|
|
<childnode refid="23" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="22" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="24" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="20" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="52">
|
|
|
|
<label>pma/resources/DefaultMemoryResource.h</label>
|
|
|
|
<link refid="DefaultMemoryResource_8h"/>
|
|
|
|
<childnode refid="23" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="22" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="20" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="27">
|
|
|
|
<label>status/Defs.h</label>
|
|
|
|
<link refid="status_2Defs_8h"/>
|
|
|
|
</node>
|
|
|
|
<node id="26">
|
|
|
|
<label>status/Status.h</label>
|
|
|
|
<link refid="Status_8h"/>
|
|
|
|
<childnode refid="27" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="28" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="28">
|
|
|
|
<label>status/StatusCode.h</label>
|
|
|
|
<link refid="StatusCode_8h"/>
|
|
|
|
<childnode refid="27" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="20" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="30">
|
|
|
|
<label>trio/Concepts.h</label>
|
|
|
|
<link refid="Concepts_8h"/>
|
|
|
|
<childnode refid="31" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="20" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="31">
|
|
|
|
<label>trio/Defs.h</label>
|
|
|
|
<link refid="trio_2Defs_8h"/>
|
|
|
|
</node>
|
|
|
|
<node id="29">
|
|
|
|
<label>trio/Stream.h</label>
|
|
|
|
<link refid="Stream_8h"/>
|
|
|
|
<childnode refid="30" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="31" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="33" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="34" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="35">
|
|
|
|
<label>trio/streams/FileStream.h</label>
|
|
|
|
<link refid="FileStream_8h"/>
|
|
|
|
<childnode refid="31" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="29" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="36">
|
|
|
|
<label>trio/streams/MemoryMappedFileStream.h</label>
|
|
|
|
<link refid="MemoryMappedFileStream_8h"/>
|
|
|
|
<childnode refid="31" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="29" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="37">
|
|
|
|
<label>trio/streams/MemoryStream.h</label>
|
|
|
|
<link refid="MemoryStream_8h"/>
|
|
|
|
<childnode refid="31" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="29" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="32" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="33">
|
|
|
|
<label>trio/types/Aliases.h</label>
|
|
|
|
<link refid="trio_2types_2Aliases_8h"/>
|
|
|
|
<childnode refid="22" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="24" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="26" relation="include">
|
|
|
|
</childnode>
|
|
|
|
<childnode refid="28" relation="include">
|
|
|
|
</childnode>
|
|
|
|
</node>
|
|
|
|
<node id="34">
|
|
|
|
<label>trio/types/Parameters.h</label>
|
|
|
|
<link refid="Parameters_8h"/>
|
|
|
|
</node>
|
|
|
|
<node id="18">
|
|
|
|
<label>algorithm</label>
|
|
|
|
</node>
|
|
|
|
<node id="19">
|
|
|
|
<label>cassert</label>
|
|
|
|
</node>
|
|
|
|
<node id="20">
|
|
|
|
<label>cstddef</label>
|
|
|
|
</node>
|
|
|
|
<node id="32">
|
|
|
|
<label>cstdint</label>
|
|
|
|
</node>
|
|
|
|
<node id="75">
|
|
|
|
<label>iostream</label>
|
|
|
|
</node>
|
|
|
|
<node id="25">
|
|
|
|
<label>utility</label>
|
|
|
|
</node>
|
|
|
|
<node id="76">
|
|
|
|
<label>vector</label>
|
|
|
|
</node>
|
|
|
|
</incdepgraph>
|
|
|
|
<sectiondef kind="var">
|
|
|
|
<memberdef kind="variable" id="examples_2CommandSequence_8cpp_1aef1bd6ad890a110b466cb0e8088507a2" prot="public" static="yes" mutable="no">
|
|
|
|
<type>const char *</type>
|
|
|
|
<definition>const char* usage</definition>
|
|
|
|
<argsstring></argsstring>
|
|
|
|
<name>usage</name>
|
|
|
|
<initializer>= "Usage: commandsequence.exe <path-to-dna-file-to-edit>\n"</initializer>
|
|
|
|
<briefdescription>
|
|
|
|
</briefdescription>
|
|
|
|
<detaileddescription>
|
|
|
|
</detaileddescription>
|
|
|
|
<inbodydescription>
|
|
|
|
</inbodydescription>
|
2022-12-02 21:35:01 +08:00
|
|
|
<location file="C:/source/MetaHuman-DNA-Calibration_clean/dnacalib/DNACalib/examples/CommandSequence.cpp" line="8" column="19" bodyfile="C:/source/MetaHuman-DNA-Calibration_clean/dnacalib/DNACalib/examples/CommandSequence.cpp" bodystart="8" bodyend="-1"/>
|
2022-11-28 19:21:26 +08:00
|
|
|
<referencedby refid="examples_2CommandSequence_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627" compoundref="examples_2CommandSequence_8cpp" startline="10" endline="65">main</referencedby>
|
|
|
|
</memberdef>
|
|
|
|
</sectiondef>
|
|
|
|
<sectiondef kind="func">
|
|
|
|
<memberdef kind="function" id="examples_2CommandSequence_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
|
|
|
<type>int</type>
|
|
|
|
<definition>int main</definition>
|
|
|
|
<argsstring>(int argc, char **argv)</argsstring>
|
|
|
|
<name>main</name>
|
|
|
|
<param>
|
|
|
|
<type>int</type>
|
|
|
|
<declname>argc</declname>
|
|
|
|
</param>
|
|
|
|
<param>
|
|
|
|
<type>char **</type>
|
|
|
|
<declname>argv</declname>
|
|
|
|
</param>
|
|
|
|
<briefdescription>
|
|
|
|
</briefdescription>
|
|
|
|
<detaileddescription>
|
|
|
|
</detaileddescription>
|
|
|
|
<inbodydescription>
|
|
|
|
</inbodydescription>
|
2022-12-02 21:35:01 +08:00
|
|
|
<location file="C:/source/MetaHuman-DNA-Calibration_clean/dnacalib/DNACalib/examples/CommandSequence.cpp" line="10" column="5" bodyfile="C:/source/MetaHuman-DNA-Calibration_clean/dnacalib/DNACalib/examples/CommandSequence.cpp" bodystart="10" bodyend="65"/>
|
2022-11-28 19:21:26 +08:00
|
|
|
<references refid="classdnac_1_1CommandSequence_1a7e2bf1058ffc1a08d79b646ccce97417" compoundref="src_2dnacalib_2commands_2CommandSequence_8cpp" startline="61" endline="63">dnac::CommandSequence::add</references>
|
|
|
|
<references refid="classdna_1_1DefinitionReader_1acb077a6f51c59fcfc8a2e6dd2de6cf2e">dna::DefinitionReader::getJointCount</references>
|
|
|
|
<references refid="namespacednac_1a0839ffb81a5969050a4b31009a3ad18fad53238014015da17926bca398282211f">dnac::Interpolate</references>
|
|
|
|
<references refid="classsc_1_1Status_1a4569e3c01410719eaa1a95d39d59763f" compoundref="Status_8cpp" startline="13" endline="15">sc::Status::isOk</references>
|
|
|
|
<references refid="namespacednac_1aa44501c4141be5abbb3ef7633abc06e6" compoundref="ConditionalCommand_8h" startline="70" endline="72">dnac::makeConditional</references>
|
|
|
|
<references refid="classdnac_1_1CommandSequence_1ab2cda7bc8e1668d53e4dba56ae1039c4" compoundref="src_2dnacalib_2commands_2CommandSequence_8cpp" startline="71" endline="73">dnac::CommandSequence::remove</references>
|
|
|
|
<references refid="classdnac_1_1CommandSequence_1a76e18e4c9004bc24f6ede391788f1a1f" compoundref="src_2dnacalib_2commands_2CommandSequence_8cpp" startline="57" endline="59">dnac::CommandSequence::run</references>
|
|
|
|
<references refid="classdnac_1_1RenameJointCommand_1a212e3d7ab9c143b92c039e4bebe28e44" compoundref="RenameJointCommand_8cpp" startline="62" endline="64">dnac::RenameJointCommand::setName</references>
|
|
|
|
<references refid="examples_2CommandSequence_8cpp_1aef1bd6ad890a110b466cb0e8088507a2" compoundref="examples_2CommandSequence_8cpp" startline="8">usage</references>
|
|
|
|
</memberdef>
|
|
|
|
</sectiondef>
|
|
|
|
<briefdescription>
|
|
|
|
</briefdescription>
|
|
|
|
<detaileddescription>
|
|
|
|
</detaileddescription>
|
|
|
|
<programlisting>
|
|
|
|
<codeline lineno="1"><highlight class="comment">//<sp/>Copyright<sp/>Epic<sp/>Games,<sp/>Inc.<sp/>All<sp/>Rights<sp/>Reserved.</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/>"<ref refid="DNACalib_8h" kindref="compound">dnacalib/DNACalib.h</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="4"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="5"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><iostream></highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="6"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><vector></highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="7"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="8" refid="examples_2CommandSequence_8cpp_1aef1bd6ad890a110b466cb0e8088507a2" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/><ref refid="examples_2CommandSequence_8cpp_1aef1bd6ad890a110b466cb0e8088507a2" kindref="member">usage</ref><sp/>=<sp/></highlight><highlight class="stringliteral">"Usage:<sp/>commandsequence.exe<sp/><path-to-dna-file-to-edit>\n"</highlight><highlight class="normal">;</highlight></codeline>
|
|
|
|
<codeline lineno="9"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="10" refid="examples_2CommandSequence_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627" refkind="member"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="examples_2CommandSequence_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627" kindref="member">main</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>argc,<sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">**<sp/>argv)<sp/>{</highlight></codeline>
|
|
|
|
<codeline lineno="11"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(argc<sp/><<sp/>2)<sp/>{</highlight></codeline>
|
|
|
|
<codeline lineno="12"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::cout<sp/><<<sp/></highlight><highlight class="stringliteral">"Provide<sp/>input<sp/>dna<sp/>file!"</highlight><highlight class="normal"><sp/><<<sp/>std::endl;</highlight></codeline>
|
|
|
|
<codeline lineno="13"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::cout<sp/><<<sp/><ref refid="examples_2CommandSequence_8cpp_1aef1bd6ad890a110b466cb0e8088507a2" kindref="member">usage</ref><sp/><<<sp/>std::endl;</highlight></codeline>
|
|
|
|
<codeline lineno="14"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>-1;</highlight></codeline>
|
|
|
|
<codeline lineno="15"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
|
|
<codeline lineno="16"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="17"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>inputDNA<sp/>=<sp/>argv[1];</highlight></codeline>
|
|
|
|
<codeline lineno="18"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal"><sp/>inStream<sp/>=<sp/>dnac::makeScoped<dnac::FileStream>(inputDNA,</highlight></codeline>
|
|
|
|
<codeline lineno="19"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>dnac::FileStream::AccessMode::Read,</highlight></codeline>
|
|
|
|
<codeline lineno="20"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>dnac::FileStream::OpenMode::Binary);</highlight></codeline>
|
|
|
|
<codeline lineno="21"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal"><sp/>reader<sp/>=<sp/>dnac::makeScoped<dnac::BinaryStreamReader>(inStream.get());</highlight></codeline>
|
|
|
|
<codeline lineno="22"><highlight class="normal"><sp/><sp/><sp/><sp/>reader->read();</highlight></codeline>
|
|
|
|
<codeline lineno="23"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="24"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!<ref refid="classsc_1_1Status_1a4569e3c01410719eaa1a95d39d59763f" kindref="member">dnac::Status::isOk</ref>())<sp/>{</highlight></codeline>
|
|
|
|
<codeline lineno="25"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::cout<sp/><<<sp/></highlight><highlight class="stringliteral">"Could<sp/>not<sp/>read<sp/>input<sp/>DNA<sp/>file!\n"</highlight><highlight class="normal">;</highlight></codeline>
|
|
|
|
<codeline lineno="26"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>-1;</highlight></codeline>
|
|
|
|
<codeline lineno="27"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
|
|
|
|
<codeline lineno="28"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="29"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal"><sp/>dnaReader<sp/>=<sp/>dnac::makeScoped<dnac::DNACalibDNAReader>(reader.get());</highlight></codeline>
|
|
|
|
<codeline lineno="30"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="31"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Create<sp/>command<sp/>sequence<sp/>instance</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="32"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classdnac_1_1CommandSequence" kindref="compound">dnac::CommandSequence</ref><sp/>cmdSeq;</highlight></codeline>
|
|
|
|
<codeline lineno="33"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="34"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Prepare<sp/>a<sp/>bunch<sp/>of<sp/>commands</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="35"><highlight class="normal"><sp/><sp/><sp/><sp/>std::vector<dnac::Vector3><sp/>positions;</highlight></codeline>
|
|
|
|
<codeline lineno="36"><highlight class="normal"><sp/><sp/><sp/><sp/>std::vector<float><sp/>masks;</highlight></codeline>
|
|
|
|
<codeline lineno="37"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classdnac_1_1SetVertexPositionsCommand" kindref="compound">dnac::SetVertexPositionsCommand</ref><sp/>setMeshAPos{2,<sp/><ref refid="classtrust_1_1ArrayView" kindref="compound">dnac::ConstArrayView<dnac::Vector3></ref>{positions},</highlight></codeline>
|
|
|
|
<codeline lineno="38"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classtrust_1_1ArrayView" kindref="compound">dnac::ConstArrayView<float></ref>{masks},</highlight></codeline>
|
|
|
|
<codeline lineno="39"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespacednac_1a0839ffb81a5969050a4b31009a3ad18fad53238014015da17926bca398282211f" kindref="member">dnac::VectorOperation::Interpolate</ref>};</highlight></codeline>
|
|
|
|
<codeline lineno="40"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classdnac_1_1RenameJointCommand" kindref="compound">dnac::RenameJointCommand</ref><sp/>renameJointA(</highlight><highlight class="stringliteral">"clavicle_l"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"cubicle_l"</highlight><highlight class="normal">);</highlight></codeline>
|
|
|
|
<codeline lineno="41"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classdnac_1_1RenameJointCommand" kindref="compound">dnac::RenameJointCommand</ref><sp/>renameJointB(10,<sp/></highlight><highlight class="stringliteral">"upperarm_corrosiveRoot_l"</highlight><highlight class="normal">);</highlight></codeline>
|
|
|
|
<codeline lineno="42"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="43"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Add<sp/>commands<sp/>to<sp/>the<sp/>command<sp/>sequence</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="44"><highlight class="normal"><sp/><sp/><sp/><sp/>cmdSeq.<ref refid="classdnac_1_1CommandSequence_1a7e2bf1058ffc1a08d79b646ccce97417" kindref="member">add</ref>(&setMeshAPos,<sp/>&renameJointA);</highlight></codeline>
|
|
|
|
<codeline lineno="45"><highlight class="normal"><sp/><sp/><sp/><sp/>cmdSeq.<ref refid="classdnac_1_1CommandSequence_1a7e2bf1058ffc1a08d79b646ccce97417" kindref="member">add</ref>(&renameJointB);</highlight></codeline>
|
|
|
|
<codeline lineno="46"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="47"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Execute<sp/>command<sp/>sequence</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="48"><highlight class="normal"><sp/><sp/><sp/><sp/>cmdSeq.<ref refid="classdnac_1_1CommandSequence_1a76e18e4c9004bc24f6ede391788f1a1f" kindref="member">run</ref>(dnaReader.get());</highlight></codeline>
|
|
|
|
<codeline lineno="49"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="50"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Reconfigure<sp/>individual<sp/>commands<sp/>that<sp/>are<sp/>already<sp/>in<sp/>the<sp/>command<sp/>sequence</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="51"><highlight class="normal"><sp/><sp/><sp/><sp/>renameJointB.<ref refid="classdnac_1_1RenameJointCommand_1a212e3d7ab9c143b92c039e4bebe28e44" kindref="member">setName</ref>(</highlight><highlight class="stringliteral">"FACIAL_L_12IPV_NeckBackB2"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"FACIAL_L_12IPTV_NickelBackB52"</highlight><highlight class="normal">);</highlight></codeline>
|
|
|
|
<codeline lineno="52"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="53"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Modify<sp/>command<sp/>sequence<sp/>(turn<sp/>an<sp/>unconditional<sp/>command<sp/>into<sp/>a<sp/>conditional<sp/>command)</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="54"><highlight class="normal"><sp/><sp/><sp/><sp/>cmdSeq.<ref refid="classdnac_1_1CommandSequence_1ab2cda7bc8e1668d53e4dba56ae1039c4" kindref="member">remove</ref>(&renameJointA);</highlight></codeline>
|
|
|
|
<codeline lineno="55"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal"><sp/>guardedRenameJointA<sp/>=</highlight></codeline>
|
|
|
|
<codeline lineno="56"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespacednac_1aa44501c4141be5abbb3ef7633abc06e6" kindref="member">dnac::makeConditional</ref>(&renameJointA,<sp/>[](<ref refid="classdnac_1_1RenameJointCommand" kindref="compound">dnac::RenameJointCommand</ref>*<sp/>command,<sp/><ref refid="classdnac_1_1DNACalibDNAReader" kindref="compound">dnac::DNACalibDNAReader</ref>*<sp/>output)<sp/>{</highlight></codeline>
|
|
|
|
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(output-><ref refid="classdna_1_1DefinitionReader_1acb077a6f51c59fcfc8a2e6dd2de6cf2e" kindref="member">getJointCount</ref>()<sp/>><sp/>6);</highlight></codeline>
|
|
|
|
<codeline lineno="58"><highlight class="normal"><sp/><sp/><sp/><sp/>});</highlight></codeline>
|
|
|
|
<codeline lineno="59"><highlight class="normal"><sp/><sp/><sp/><sp/>cmdSeq.<ref refid="classdnac_1_1CommandSequence_1a7e2bf1058ffc1a08d79b646ccce97417" kindref="member">add</ref>(&guardedRenameJointA);</highlight></codeline>
|
|
|
|
<codeline lineno="60"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Execute<sp/>modified<sp/>command<sp/>sequence</highlight><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="62"><highlight class="normal"><sp/><sp/><sp/><sp/>cmdSeq.<ref refid="classdnac_1_1CommandSequence_1a76e18e4c9004bc24f6ede391788f1a1f" kindref="member">run</ref>(dnaReader.get());</highlight></codeline>
|
|
|
|
<codeline lineno="63"><highlight class="normal"></highlight></codeline>
|
|
|
|
<codeline lineno="64"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;</highlight></codeline>
|
|
|
|
<codeline lineno="65"><highlight class="normal">}</highlight></codeline>
|
|
|
|
</programlisting>
|
2022-12-02 21:35:01 +08:00
|
|
|
<location file="C:/source/MetaHuman-DNA-Calibration_clean/dnacalib/DNACalib/examples/CommandSequence.cpp"/>
|
2022-11-28 19:21:26 +08:00
|
|
|
</compounddef>
|
|
|
|
</doxygen>
|