API overview

DNA modification is done through available commands. Each command implements the run(DNACalibDNAReader* output) method that modifies the DNA specified through its argument. To configure the modification that occurs in run(), parameters can be passed through constructor or specific setter methods. The following documentation is for C++. Currently, there is no Python documentation.

List of all available commands:

Commands that remove certain parts of DNA:

Commands that rename certain parts of DNA:

Commands that transform DNA:

  • RotateCommand Rotates neutral joints and vertex positions around given origin.

  • ScaleCommand Scales neutral joints, vertex positions, and joint and blendshape deltas by a factor. For neutral joints and joint deltas, only translation attributes are scaled.

  • TranslateCommand Translates neutral joints and vertex positions.

Commands that modify blendshapes:

Commands that change bind pose:

Commands that perform useful calculations or provide additional functionality:

A more detailed description of each available command and its methods can be found in DNACalib/include/dnacalib/commands.