2022-11-28 19:21:26 +08:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=11" / >
< meta name = "generator" content = "Doxygen 1.9.4" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > DNA Calib: CommandSequence.cpp File Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr id = "projectrow" >
< td id = "projectalign" >
< div id = "projectname" > DNA Calib< span id = "projectnumber" >   1.1< / span >
< / div >
< div id = "projectbrief" > Project brief< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
< / script >
< div id = "main-nav" > < / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "dir_152a494004de7bf5f5699139fd63e08c.html" > dnacalib< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_e342cf579e4a20e61ca12fdabd8b8b30.html" > DNACalib< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_a6d245eb7f09d8f451e2ed8eaeee2a04.html" > examples< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#func-members" > Functions< / a > |
< a href = "#var-members" > Variables< / a > < / div >
< div class = "headertitle" > < div class = "title" > examples/CommandSequence.cpp File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "textblock" > < code > #include " < a class = "el" href = "DNACalib_8h_source.html" > dnacalib/DNACalib.h< / a > " < / code > < br / >
< code > #include < iostream> < / code > < br / >
< code > #include < vector> < / code > < br / >
< / div > < div class = "textblock" > < div class = "dynheader" >
Include dependency graph for examples/CommandSequence.cpp:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "examples_2CommandSequence_8cpp__incl.png" border = "0" usemap = "#aCommandSequence_8cpp" alt = "" / > < / div >
< map name = "aCommandSequence_8cpp" id = "aCommandSequence_8cpp" >
2023-04-21 18:19:55 +08:00
< area shape = "rect" title = " " alt = "" coords = "2368,5,2532,32" / >
< area shape = "rect" href = "DNACalib_8h.html" title = " " alt = "" coords = "2248,80,2390,107" / >
< area shape = "rect" title = " " alt = "" coords = "2414,80,2486,107" / >
< area shape = "rect" title = " " alt = "" coords = "2510,80,2566,107" / >
< area shape = "rect" href = "CalculateMeshLowerLODsCommand_8h.html" title = " " alt = "" coords = "2009,155,2205,196" / >
< area shape = "rect" href = "dnacalib_2types_2Aliases_8h.html" title = " " alt = "" coords = "2240,333,2404,360" / >
< area shape = "rect" href = "ClearBlendShapesCommand_8h.html" title = " " alt = "" coords = "4499,155,4704,196" / >
< area shape = "rect" href = "CommandSequence_8h.html" title = " " alt = "" coords = "1564,155,1765,196" / >
< area shape = "rect" href = "ConditionalCommand_8h.html" title = " " alt = "" coords = "2433,155,2640,196" / >
< area shape = "rect" href = "PruneBlendShapeTargetsCommand_8h.html" title = " " alt = "" coords = "3600,155,3809,196" / >
< area shape = "rect" href = "RemoveAnimatedMapCommand_8h.html" title = " " alt = "" coords = "74,155,262,196" / >
< area shape = "rect" href = "RemoveBlendShapeCommand_8h.html" title = " " alt = "" coords = "286,155,474,196" / >
< area shape = "rect" href = "RemoveJointAnimationCommand_8h.html" title = " " alt = "" coords = "498,155,686,196" / >
< area shape = "rect" href = "RemoveJointCommand_8h.html" title = " " alt = "" coords = "710,155,898,196" / >
< area shape = "rect" href = "RemoveMeshCommand_8h.html" title = " " alt = "" coords = "922,155,1110,196" / >
< area shape = "rect" href = "RenameAnimatedMapCommand_8h.html" title = " " alt = "" coords = "1134,155,1325,196" / >
< area shape = "rect" href = "RenameBlendShapeCommand_8h.html" title = " " alt = "" coords = "1349,155,1540,196" / >
< area shape = "rect" href = "RenameJointCommand_8h.html" title = " " alt = "" coords = "3833,155,4024,196" / >
< area shape = "rect" href = "RenameMeshCommand_8h.html" title = " " alt = "" coords = "4729,155,4920,196" / >
< area shape = "rect" href = "RotateCommand_8h.html" title = " " alt = "" coords = "2229,155,2409,196" / >
< area shape = "rect" href = "ScaleCommand_8h.html" title = " " alt = "" coords = "2664,162,2910,189" / >
< area shape = "rect" href = "SetBlendShapeTargetDeltasCommand_8h.html" title = " " alt = "" coords = "4048,155,4251,196" / >
< area shape = "rect" href = "SetLODsCommand_8h.html" title = " " alt = "" coords = "4944,155,5139,196" / >
< area shape = "rect" href = "SetNeutralJointTranslationsCommand_8h.html" title = " " alt = "" coords = "2934,155,3136,196" / >
< area shape = "rect" href = "SetNeutralJointRotationsCommand_8h.html" title = " " alt = "" coords = "3160,155,3363,196" / >
< area shape = "rect" href = "SetSkinWeightsCommand_8h.html" title = " " alt = "" coords = "3388,155,3576,196" / >
< area shape = "rect" href = "SetVertexPositionsCommand_8h.html" title = " " alt = "" coords = "4275,155,4475,196" / >
< area shape = "rect" href = "TranslateCommand_8h.html" title = " " alt = "" coords = "1790,155,1984,196" / >
< area shape = "rect" href = "DNACalibDNAReader_8h.html" title = " " alt = "" coords = "700,251,935,278" / >
< area shape = "rect" href = "Command_8h.html" title = " " alt = "" coords = "2454,251,2598,278" / >
< area shape = "rect" href = "dnacalib_2Defs_8h.html" title = " " alt = "" coords = "2452,333,2562,360" / >
< area shape = "rect" href = "DataLayer_8h.html" title = " " alt = "" coords = "1390,743,1507,770" / >
< area shape = "rect" href = "BinaryStreamReader_8h.html" title = " " alt = "" coords = "1855,408,2034,435" / >
< area shape = "rect" href = "StreamReader_8h.html" title = " " alt = "" coords = "1982,490,2123,517" / >
< area shape = "rect" href = "dna_2types_2Aliases_8h.html" title = " " alt = "" coords = "2432,743,2569,770" / >
< area shape = "rect" href = "MemoryResource_8h.html" title = " " alt = "" coords = "2778,833,2942,859" / >
< area shape = "rect" href = "ScopedPtr_8h.html" title = " " alt = "" coords = "2984,833,3107,859" / >
< area shape = "rect" href = "Status_8h.html" title = " " alt = "" coords = "3133,833,3244,859" / >
< area shape = "rect" href = "StatusCode_8h.html" title = " " alt = "" coords = "3118,915,3259,941" / >
< area shape = "rect" href = "Stream_8h.html" title = " " alt = "" coords = "2125,915,2222,941" / >
< area shape = "rect" href = "FileStream_8h.html" title = " " alt = "" coords = "2224,833,2393,859" / >
< area shape = "rect" href = "MemoryMappedFileStream_8h.html" title = " " alt = "" coords = "1741,825,1929,867" / >
< area shape = "rect" href = "MemoryStream_8h.html" title = " " alt = "" coords = "1954,833,2148,859" / >
< area shape = "rect" href = "BinaryStreamWriter_8h.html" title = " " alt = "" coords = "2544,490,2716,517" / >
< area shape = "rect" href = "StreamWriter_8h.html" title = " " alt = "" coords = "2372,579,2506,606" / >
< area shape = "rect" href = "JSONStreamReader_8h.html" title = " " alt = "" coords = "2109,408,2284,435" / >
< area shape = "rect" href = "JSONStreamWriter_8h.html" title = " " alt = "" coords = "2350,490,2520,517" / >
< area shape = "rect" href = "Vector3_8h.html" title = " " alt = "" coords = "1384,408,1523,435" / >
< area shape = "rect" href = "AlignedMemoryResource_8h.html" title = " " alt = "" coords = "2734,572,2936,613" / >
< area shape = "rect" href = "ArenaMemoryResource_8h.html" title = " " alt = "" coords = "2949,736,3142,777" / >
< area shape = "rect" href = "DefaultMemoryResource_8h.html" title = " " alt = "" coords = "2893,483,3092,524" / >
< area shape = "rect" href = "dna_2Defs_8h.html" title = " " alt = "" coords = "2064,743,2148,770" / >
< area shape = "rect" href = "Reader_8h.html" title = " " alt = "" coords = "1646,579,1744,606" / >
< area shape = "rect" href = "BehaviorReader_8h.html" title = " " alt = "" coords = "1536,661,1723,688" / >
< area shape = "rect" href = "GeometryReader_8h.html" title = " " alt = "" coords = "1798,661,1992,688" / >
< area shape = "rect" title = " " alt = "" coords = "2075,989,2136,1016" / >
< area shape = "rect" href = "ArrayView_8h.html" title = " " alt = "" coords = "2478,915,2632,941" / >
< area shape = "rect" href = "StringView_8h.html" title = " " alt = "" coords = "2536,833,2692,859" / >
< area shape = "rect" href = "Writer_8h.html" title = " " alt = "" coords = "2219,661,2312,688" / >
< area shape = "rect" href = "VectorOperations_8h.html" title = " " alt = "" coords = "4057,244,4237,285" / >
2022-11-28 19:21:26 +08:00
< / map >
< / div >
< / div > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "func-members" name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a3c04138a5bfe5d72780bb7e82a18e627" > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "examples_2CommandSequence_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" > main< / a > (int argc, char **argv)< / td > < / tr >
< tr class = "separator:a3c04138a5bfe5d72780bb7e82a18e627" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "var-members" name = "var-members" > < / a >
Variables< / h2 > < / td > < / tr >
< tr class = "memitem:aef1bd6ad890a110b466cb0e8088507a2" > < td class = "memItemLeft" align = "right" valign = "top" > static const char *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "examples_2CommandSequence_8cpp.html#aef1bd6ad890a110b466cb0e8088507a2" > usage< / a > = " Usage: commandsequence.exe < path-to-dna-file-to-edit> \n" < / td > < / tr >
< tr class = "separator:aef1bd6ad890a110b466cb0e8088507a2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< h2 class = "groupheader" > Function Documentation< / h2 >
< a id = "a3c04138a5bfe5d72780bb7e82a18e627" name = "a3c04138a5bfe5d72780bb7e82a18e627" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a3c04138a5bfe5d72780bb7e82a18e627" > ◆ < / a > < / span > main()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int main < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > argc< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > char **  < / td >
< td class = "paramname" > < em > argv< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< div class = "fragment" > < div class = "line" > < span class = "lineno" > 10< / span > {< / div >
< div class = "line" > < span class = "lineno" > 11< / span > < span class = "keywordflow" > if< / span > (argc < 2) {< / div >
< div class = "line" > < span class = "lineno" > 12< / span > std::cout < < < span class = "stringliteral" > " Provide input dna file!" < / span > < < std::endl;< / div >
< div class = "line" > < span class = "lineno" > 13< / span > std::cout < < < a class = "code hl_variable" href = "examples_2CommandSequence_8cpp.html#aef1bd6ad890a110b466cb0e8088507a2" > usage< / a > < < std::endl;< / div >
< div class = "line" > < span class = "lineno" > 14< / span > < span class = "keywordflow" > return< / span > -1;< / div >
< div class = "line" > < span class = "lineno" > 15< / span > }< / div >
< div class = "line" > < span class = "lineno" > 16< / span > < / div >
< div class = "line" > < span class = "lineno" > 17< / span > < span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > * inputDNA = argv[1];< / div >
< div class = "line" > < span class = "lineno" > 18< / span > < span class = "keyword" > auto< / span > inStream = dnac::makeScoped< dnac::FileStream> (inputDNA,< / div >
< div class = "line" > < span class = "lineno" > 19< / span > dnac::FileStream::AccessMode::Read,< / div >
< div class = "line" > < span class = "lineno" > 20< / span > dnac::FileStream::OpenMode::Binary);< / div >
< div class = "line" > < span class = "lineno" > 21< / span > < span class = "keyword" > auto< / span > reader = dnac::makeScoped< dnac::BinaryStreamReader> (inStream.get());< / div >
< div class = "line" > < span class = "lineno" > 22< / span > reader-> read();< / div >
< div class = "line" > < span class = "lineno" > 23< / span > < / div >
< div class = "line" > < span class = "lineno" > 24< / span > < span class = "keywordflow" > if< / span > (!< a class = "code hl_function" href = "classsc_1_1Status.html#a4569e3c01410719eaa1a95d39d59763f" > dnac::Status::isOk< / a > ()) {< / div >
< div class = "line" > < span class = "lineno" > 25< / span > std::cout < < < span class = "stringliteral" > " Could not read input DNA file!\n" < / span > ;< / div >
< div class = "line" > < span class = "lineno" > 26< / span > < span class = "keywordflow" > return< / span > -1;< / div >
< div class = "line" > < span class = "lineno" > 27< / span > }< / div >
< div class = "line" > < span class = "lineno" > 28< / span > < / div >
< div class = "line" > < span class = "lineno" > 29< / span > < span class = "keyword" > auto< / span > dnaReader = dnac::makeScoped< dnac::DNACalibDNAReader> (reader.get());< / div >
< div class = "line" > < span class = "lineno" > 30< / span > < / div >
< div class = "line" > < span class = "lineno" > 31< / span > < span class = "comment" > // Create command sequence instance< / span > < / div >
< div class = "line" > < span class = "lineno" > 32< / span > < a class = "code hl_class" href = "classdnac_1_1CommandSequence.html" > dnac::CommandSequence< / a > cmdSeq;< / div >
< div class = "line" > < span class = "lineno" > 33< / span > < / div >
< div class = "line" > < span class = "lineno" > 34< / span > < span class = "comment" > // Prepare a bunch of commands< / span > < / div >
< div class = "line" > < span class = "lineno" > 35< / span > std::vector< dnac::Vector3> positions;< / div >
< div class = "line" > < span class = "lineno" > 36< / span > std::vector< float> masks;< / div >
< div class = "line" > < span class = "lineno" > 37< / span > < a class = "code hl_class" href = "classdnac_1_1SetVertexPositionsCommand.html" > dnac::SetVertexPositionsCommand< / a > setMeshAPos{2, < a class = "code hl_class" href = "classtrust_1_1ArrayView.html" > dnac::ConstArrayView< dnac::Vector3> < / a > {positions},< / div >
< div class = "line" > < span class = "lineno" > 38< / span > < a class = "code hl_class" href = "classtrust_1_1ArrayView.html" > dnac::ConstArrayView< float> < / a > {masks},< / div >
< div class = "line" > < span class = "lineno" > 39< / span > < a class = "code hl_enumvalue" href = "namespacednac.html#a0839ffb81a5969050a4b31009a3ad18fad53238014015da17926bca398282211f" > dnac::VectorOperation::Interpolate< / a > };< / div >
< div class = "line" > < span class = "lineno" > 40< / span > < a class = "code hl_class" href = "classdnac_1_1RenameJointCommand.html" > dnac::RenameJointCommand< / a > renameJointA(< span class = "stringliteral" > " clavicle_l" < / span > , < span class = "stringliteral" > " cubicle_l" < / span > );< / div >
< div class = "line" > < span class = "lineno" > 41< / span > < a class = "code hl_class" href = "classdnac_1_1RenameJointCommand.html" > dnac::RenameJointCommand< / a > renameJointB(10, < span class = "stringliteral" > " upperarm_corrosiveRoot_l" < / span > );< / div >
< div class = "line" > < span class = "lineno" > 42< / span > < / div >
< div class = "line" > < span class = "lineno" > 43< / span > < span class = "comment" > // Add commands to the command sequence< / span > < / div >
< div class = "line" > < span class = "lineno" > 44< / span > cmdSeq.< a class = "code hl_function" href = "classdnac_1_1CommandSequence.html#a7e2bf1058ffc1a08d79b646ccce97417" > add< / a > (& setMeshAPos, & renameJointA);< / div >
< div class = "line" > < span class = "lineno" > 45< / span > cmdSeq.< a class = "code hl_function" href = "classdnac_1_1CommandSequence.html#a7e2bf1058ffc1a08d79b646ccce97417" > add< / a > (& renameJointB);< / div >
< div class = "line" > < span class = "lineno" > 46< / span > < / div >
< div class = "line" > < span class = "lineno" > 47< / span > < span class = "comment" > // Execute command sequence< / span > < / div >
< div class = "line" > < span class = "lineno" > 48< / span > cmdSeq.< a class = "code hl_function" href = "classdnac_1_1CommandSequence.html#a76e18e4c9004bc24f6ede391788f1a1f" > run< / a > (dnaReader.get());< / div >
< div class = "line" > < span class = "lineno" > 49< / span > < / div >
< div class = "line" > < span class = "lineno" > 50< / span > < span class = "comment" > // Reconfigure individual commands that are already in the command sequence< / span > < / div >
< div class = "line" > < span class = "lineno" > 51< / span > renameJointB.setName(< span class = "stringliteral" > " FACIAL_L_12IPV_NeckBackB2" < / span > , < span class = "stringliteral" > " FACIAL_L_12IPTV_NickelBackB52" < / span > );< / div >
< div class = "line" > < span class = "lineno" > 52< / span > < / div >
< div class = "line" > < span class = "lineno" > 53< / span > < span class = "comment" > // Modify command sequence (turn an unconditional command into a conditional command)< / span > < / div >
< div class = "line" > < span class = "lineno" > 54< / span > cmdSeq.< a class = "code hl_function" href = "classdnac_1_1CommandSequence.html#ab2cda7bc8e1668d53e4dba56ae1039c4" > remove< / a > (& renameJointA);< / div >
< div class = "line" > < span class = "lineno" > 55< / span > < span class = "keyword" > auto< / span > guardedRenameJointA =< / div >
< div class = "line" > < span class = "lineno" > 56< / span > < a class = "code hl_function" href = "namespacednac.html#aa44501c4141be5abbb3ef7633abc06e6" > dnac::makeConditional< / a > (& renameJointA, [](< a class = "code hl_class" href = "classdnac_1_1RenameJointCommand.html" > dnac::RenameJointCommand< / a > * command, < a class = "code hl_class" href = "classdnac_1_1DNACalibDNAReader.html" > dnac::DNACalibDNAReader< / a > * output) {< / div >
< div class = "line" > < span class = "lineno" > 57< / span > < span class = "keywordflow" > return< / span > (output-> < a class = "code hl_function" href = "classdna_1_1DefinitionReader.html#acb077a6f51c59fcfc8a2e6dd2de6cf2e" > getJointCount< / a > () > 6);< / div >
< div class = "line" > < span class = "lineno" > 58< / span > });< / div >
< div class = "line" > < span class = "lineno" > 59< / span > cmdSeq.< a class = "code hl_function" href = "classdnac_1_1CommandSequence.html#a7e2bf1058ffc1a08d79b646ccce97417" > add< / a > (& guardedRenameJointA);< / div >
< div class = "line" > < span class = "lineno" > 60< / span > < / div >
< div class = "line" > < span class = "lineno" > 61< / span > < span class = "comment" > // Execute modified command sequence< / span > < / div >
< div class = "line" > < span class = "lineno" > 62< / span > cmdSeq.< a class = "code hl_function" href = "classdnac_1_1CommandSequence.html#a76e18e4c9004bc24f6ede391788f1a1f" > run< / a > (dnaReader.get());< / div >
< div class = "line" > < span class = "lineno" > 63< / span > < / div >
< div class = "line" > < span class = "lineno" > 64< / span > < span class = "keywordflow" > return< / span > 0;< / div >
< div class = "line" > < span class = "lineno" > 65< / span > }< / div >
< div class = "ttc" id = "aclassdna_1_1DefinitionReader_html_acb077a6f51c59fcfc8a2e6dd2de6cf2e" > < div class = "ttname" > < a href = "classdna_1_1DefinitionReader.html#acb077a6f51c59fcfc8a2e6dd2de6cf2e" > dna::DefinitionReader::getJointCount< / a > < / div > < div class = "ttdeci" > virtual std::uint16_t getJointCount() const =0< / div > < / div >
< div class = "ttc" id = "aclassdnac_1_1CommandSequence_html" > < div class = "ttname" > < a href = "classdnac_1_1CommandSequence.html" > dnac::CommandSequence< / a > < / div > < div class = "ttdoc" > CommandSequence is used to run a sequence of commands on the same DNA.< / div > < div class = "ttdef" > < b > Definition:< / b > CommandSequence.h:20< / div > < / div >
< div class = "ttc" id = "aclassdnac_1_1CommandSequence_html_a76e18e4c9004bc24f6ede391788f1a1f" > < div class = "ttname" > < a href = "classdnac_1_1CommandSequence.html#a76e18e4c9004bc24f6ede391788f1a1f" > dnac::CommandSequence::run< / a > < / div > < div class = "ttdeci" > DNACAPI void run(DNACalibDNAReader *output) override< / div > < div class = "ttdef" > < b > Definition:< / b > src/dnacalib/commands/CommandSequence.cpp:57< / div > < / div >
< div class = "ttc" id = "aclassdnac_1_1CommandSequence_html_a7e2bf1058ffc1a08d79b646ccce97417" > < div class = "ttname" > < a href = "classdnac_1_1CommandSequence.html#a7e2bf1058ffc1a08d79b646ccce97417" > dnac::CommandSequence::add< / a > < / div > < div class = "ttdeci" > DNACAPI void add(Command *command)< / div > < div class = "ttdoc" > Method for adding a command to a sequence of commands to run.< / div > < div class = "ttdef" > < b > Definition:< / b > src/dnacalib/commands/CommandSequence.cpp:61< / div > < / div >
< div class = "ttc" id = "aclassdnac_1_1CommandSequence_html_ab2cda7bc8e1668d53e4dba56ae1039c4" > < div class = "ttname" > < a href = "classdnac_1_1CommandSequence.html#ab2cda7bc8e1668d53e4dba56ae1039c4" > dnac::CommandSequence::remove< / a > < / div > < div class = "ttdeci" > DNACAPI void remove(Command *command)< / div > < div class = "ttdoc" > Method for removing a command from the sequence of commands to run.< / div > < div class = "ttdef" > < b > Definition:< / b > src/dnacalib/commands/CommandSequence.cpp:71< / div > < / div >
< div class = "ttc" id = "aclassdnac_1_1DNACalibDNAReader_html" > < div class = "ttname" > < a href = "classdnac_1_1DNACalibDNAReader.html" > dnac::DNACalibDNAReader< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > DNACalibDNAReader.h:12< / div > < / div >
< div class = "ttc" id = "aclassdnac_1_1RenameJointCommand_html" > < div class = "ttname" > < a href = "classdnac_1_1RenameJointCommand.html" > dnac::RenameJointCommand< / a > < / div > < div class = "ttdoc" > RenameJointCommand is used to rename a joint.< / div > < div class = "ttdef" > < b > Definition:< / b > RenameJointCommand.h:18< / div > < / div >
< div class = "ttc" id = "aclassdnac_1_1SetVertexPositionsCommand_html" > < div class = "ttname" > < a href = "classdnac_1_1SetVertexPositionsCommand.html" > dnac::SetVertexPositionsCommand< / a > < / div > < div class = "ttdoc" > SetVertexPositionsCommand is used to change vertex positions values.< / div > < div class = "ttdef" > < b > Definition:< / b > SetVertexPositionsCommand.h:19< / div > < / div >
< div class = "ttc" id = "aclasssc_1_1Status_html_a4569e3c01410719eaa1a95d39d59763f" > < div class = "ttname" > < a href = "classsc_1_1Status.html#a4569e3c01410719eaa1a95d39d59763f" > sc::Status::isOk< / a > < / div > < div class = "ttdeci" > static bool isOk()< / div > < div class = "ttdef" > < b > Definition:< / b > Status.cpp:13< / div > < / div >
< div class = "ttc" id = "aclasstrust_1_1ArrayView_html" > < div class = "ttname" > < a href = "classtrust_1_1ArrayView.html" > trust::ArrayView< / a > < / div > < div class = "ttdoc" > A view over a continuous sequence of objects.< / div > < div class = "ttdef" > < b > Definition:< / b > ArrayView.h:55< / div > < / div >
< div class = "ttc" id = "aexamples_2CommandSequence_8cpp_html_aef1bd6ad890a110b466cb0e8088507a2" > < div class = "ttname" > < a href = "examples_2CommandSequence_8cpp.html#aef1bd6ad890a110b466cb0e8088507a2" > usage< / a > < / div > < div class = "ttdeci" > static const char * usage< / div > < div class = "ttdef" > < b > Definition:< / b > examples/CommandSequence.cpp:8< / div > < / div >
< div class = "ttc" id = "anamespacednac_html_a0839ffb81a5969050a4b31009a3ad18fad53238014015da17926bca398282211f" > < div class = "ttname" > < a href = "namespacednac.html#a0839ffb81a5969050a4b31009a3ad18fad53238014015da17926bca398282211f" > dnac::VectorOperation::Interpolate< / a > < / div > < div class = "ttdeci" > @ Interpolate< / div > < / div >
< div class = "ttc" id = "anamespacednac_html_aa44501c4141be5abbb3ef7633abc06e6" > < div class = "ttname" > < a href = "namespacednac.html#aa44501c4141be5abbb3ef7633abc06e6" > dnac::makeConditional< / a > < / div > < div class = "ttdeci" > ConditionalCommand< TCommand, TCondition > makeConditional(TCommand *command, TCondition condition)< / div > < div class = "ttdef" > < b > Definition:< / b > ConditionalCommand.h:70< / div > < / div >
< / div > <!-- fragment -->
< p class = "reference" > References < a class = "el" href = "classdnac_1_1CommandSequence.html#a7e2bf1058ffc1a08d79b646ccce97417" > dnac::CommandSequence::add()< / a > , < a class = "el" href = "classdna_1_1DefinitionReader.html#acb077a6f51c59fcfc8a2e6dd2de6cf2e" > dna::DefinitionReader::getJointCount()< / a > , < a class = "el" href = "namespacednac.html#a0839ffb81a5969050a4b31009a3ad18fad53238014015da17926bca398282211f" > dnac::Interpolate< / a > , < a class = "el" href = "classsc_1_1Status.html#a4569e3c01410719eaa1a95d39d59763f" > sc::Status::isOk()< / a > , < a class = "el" href = "namespacednac.html#aa44501c4141be5abbb3ef7633abc06e6" > dnac::makeConditional()< / a > , < a class = "el" href = "classdnac_1_1CommandSequence.html#ab2cda7bc8e1668d53e4dba56ae1039c4" > dnac::CommandSequence::remove()< / a > , < a class = "el" href = "classdnac_1_1CommandSequence.html#a76e18e4c9004bc24f6ede391788f1a1f" > dnac::CommandSequence::run()< / a > , < a class = "el" href = "classdnac_1_1RenameJointCommand.html#a212e3d7ab9c143b92c039e4bebe28e44" > dnac::RenameJointCommand::setName()< / a > , and < a class = "el" href = "examples_2CommandSequence_8cpp.html#aef1bd6ad890a110b466cb0e8088507a2" > usage< / a > .< / p >
< / div >
< / div >
< h2 class = "groupheader" > Variable Documentation< / h2 >
< a id = "aef1bd6ad890a110b466cb0e8088507a2" name = "aef1bd6ad890a110b466cb0e8088507a2" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aef1bd6ad890a110b466cb0e8088507a2" > ◆ < / a > < / span > usage< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > const char* usage = " Usage: commandsequence.exe < path-to-dna-file-to-edit> \n" < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p class = "reference" > Referenced by < a class = "el" href = "examples_2CommandSequence_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" > main()< / a > .< / p >
< / div >
< / div >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by  < a href = "https://www.doxygen.org/index.html" > < img class = "footer" src = "doxygen.svg" width = "104" height = "31" alt = "doxygen" / > < / a > 1.9.4
< / small > < / address >
< / body >
< / html >