DNA Calib 1.1
Project brief
|
Write-only accessors for DNA attributes that represent the rig's static data. More...
#include <DefinitionWriter.h>
Public Member Functions | |
virtual void | clearGUIControlNames ()=0 |
Delete all stored GUI control names. More... | |
virtual void | setGUIControlName (std::uint16_t index, const char *name)=0 |
Name of the specified GUI control. More... | |
virtual void | clearRawControlNames ()=0 |
Delete all stored raw control names. More... | |
virtual void | setRawControlName (std::uint16_t index, const char *name)=0 |
Name of the specified raw control. More... | |
virtual void | clearJointNames ()=0 |
Delete all stored joint names. More... | |
virtual void | setJointName (std::uint16_t index, const char *name)=0 |
Name of the specified joint. More... | |
virtual void | clearJointIndices ()=0 |
Delete all stored joint indices. More... | |
virtual void | setJointIndices (std::uint16_t index, const std::uint16_t *jointIndices, std::uint16_t count)=0 |
Store a list of joint indices onto a specified index. More... | |
virtual void | clearLODJointMappings ()=0 |
Delete all stored LOD to joint list index mapping entries. More... | |
virtual void | setLODJointMapping (std::uint16_t lod, std::uint16_t index)=0 |
Set which joints belong to which level of detail. More... | |
virtual void | clearBlendShapeChannelNames ()=0 |
Delete all stored blend shape channel names. More... | |
virtual void | setBlendShapeChannelName (std::uint16_t index, const char *name)=0 |
Name of the specified blend shape channel. More... | |
virtual void | clearBlendShapeChannelIndices ()=0 |
Delete all stored blend shape channel indices. More... | |
virtual void | setBlendShapeChannelIndices (std::uint16_t index, const std::uint16_t *blendShapeChannelIndices, std::uint16_t count)=0 |
Store a list of blend shape channel name indices onto a specified index. More... | |
virtual void | clearLODBlendShapeChannelMappings ()=0 |
Delete all stored LOD to blend shape channel list index mapping entries. More... | |
virtual void | setLODBlendShapeChannelMapping (std::uint16_t lod, std::uint16_t index)=0 |
Set which blend shape channels belong to which level of detail. More... | |
virtual void | clearAnimatedMapNames ()=0 |
Delete all stored animated map names. More... | |
virtual void | setAnimatedMapName (std::uint16_t index, const char *name)=0 |
Name of the specified animated map. More... | |
virtual void | clearAnimatedMapIndices ()=0 |
Delete all stored animated map indices. More... | |
virtual void | setAnimatedMapIndices (std::uint16_t index, const std::uint16_t *animatedMapIndices, std::uint16_t count)=0 |
Store a list of animated map name indices onto a specified index. More... | |
virtual void | clearLODAnimatedMapMappings ()=0 |
Delete all stored LOD to animated map list index mapping entries. More... | |
virtual void | setLODAnimatedMapMapping (std::uint16_t lod, std::uint16_t index)=0 |
Set which animated maps belong to which level of detail. More... | |
virtual void | clearMeshNames ()=0 |
Delete all stored mesh names. More... | |
virtual void | setMeshName (std::uint16_t index, const char *name)=0 |
Name of the specified mesh. More... | |
virtual void | clearMeshIndices ()=0 |
Delete all stored mesh indices. More... | |
virtual void | setMeshIndices (std::uint16_t index, const std::uint16_t *meshIndices, std::uint16_t count)=0 |
Store a list of mesh name indices onto a specified index. More... | |
virtual void | clearLODMeshMappings ()=0 |
Delete all stored LOD to mesh list index mapping entries. More... | |
virtual void | setLODMeshMapping (std::uint16_t lod, std::uint16_t index)=0 |
Set which meshes belong to which level of detail. More... | |
virtual void | clearMeshBlendShapeChannelMappings ()=0 |
Delete all stored mesh to blend shape channel mapping entries. More... | |
virtual void | setMeshBlendShapeChannelMapping (std::uint32_t index, std::uint16_t meshIndex, std::uint16_t blendShapeChannelIndex)=0 |
Associate a blend shape channel with it's mesh. More... | |
virtual void | setJointHierarchy (const std::uint16_t *jointIndices, std::uint16_t count)=0 |
A simple array describing the parent-child relationships between joints. More... | |
virtual void | setNeutralJointTranslations (const Vector3 *translations, std::uint16_t count)=0 |
virtual void | setNeutralJointRotations (const Vector3 *rotations, std::uint16_t count)=0 |
![]() | |
virtual void | setName (const char *name)=0 |
virtual void | setArchetype (Archetype archetype)=0 |
virtual void | setGender (Gender gender)=0 |
virtual void | setAge (std::uint16_t age)=0 |
virtual void | clearMetaData ()=0 |
Empties the metadata storage, delete all key-value pairs. More... | |
virtual void | setMetaData (const char *key, const char *value)=0 |
Associate the metadata value with the given key. More... | |
virtual void | setTranslationUnit (TranslationUnit unit)=0 |
virtual void | setRotationUnit (RotationUnit unit)=0 |
virtual void | setCoordinateSystem (CoordinateSystem system)=0 |
virtual void | setLODCount (std::uint16_t lodCount)=0 |
Available levels of detail (e.g. 6 which means the following levels are available: [0,1,2,3,4,5], where 0 is the LOD with the highest details, and 5 is the LOD with lowest details). More... | |
virtual void | setDBMaxLOD (std::uint16_t lod)=0 |
The maximum level of detail stored in the DNA data for this character. More... | |
virtual void | setDBComplexity (const char *name)=0 |
Name of the input control interface used to drive this character rig. More... | |
virtual void | setDBName (const char *name)=0 |
Name of the database from which the character originates. More... | |
Protected Member Functions | |
virtual | ~DefinitionWriter () |
![]() | |
virtual | ~DescriptorWriter () |
Write-only accessors for DNA attributes that represent the rig's static data.
|
protectedvirtualdefault |
|
pure virtual |
Delete all stored animated map indices.
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Delete all stored animated map names.
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Delete all stored blend shape channel indices.
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Delete all stored blend shape channel names.
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Delete all stored GUI control names.
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Delete all stored joint indices.
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Delete all stored joint names.
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Delete all stored LOD to animated map list index mapping entries.
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Delete all stored LOD to blend shape channel list index mapping entries.
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Delete all stored LOD to joint list index mapping entries.
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Delete all stored LOD to mesh list index mapping entries.
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Delete all stored mesh to blend shape channel mapping entries.
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Delete all stored mesh indices.
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Delete all stored mesh names.
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Delete all stored raw control names.
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Store a list of animated map name indices onto a specified index.
index | A position in a zero-indexed array where animated map name indices are stored. |
animatedMapIndices | The source address from which the animated map name indices are to be copied. |
count | The number of animated map name indices to copy. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Name of the specified animated map.
index | A name's position in the zero-indexed array of animated map names. |
name | A null-terminated string. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition(), and dnac::RenameAnimatedMapCommand::Impl::setNameByIndex().
|
pure virtual |
Store a list of blend shape channel name indices onto a specified index.
index | A position in a zero-indexed array where blend shape channel name indices are stored. |
blendShapeChannelIndices | The source address from which the blend shape channel name indices are to be copied. |
count | The number of blend shape channel name indices to copy. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Name of the specified blend shape channel.
index | A name's position in the zero-indexed array of blend shape channel names. |
name | A null-terminated string. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition(), and dnac::RenameBlendShapeCommand::Impl::setNameByIndex().
|
pure virtual |
Name of the specified GUI control.
index | A name's position in the zero-indexed array of GUI control names. |
name | A null-terminated string. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
A simple array describing the parent-child relationships between joints.
jointIndices | The source address from which the joint indices are to be copied. |
count | The number of joint indices to copy. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Store a list of joint indices onto a specified index.
index | A position in a zero-indexed array where joint indices are stored. |
jointIndices | The source address from which the joint indices are to be copied. |
count | The number of joint indices to copy. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Name of the specified joint.
index | A name's position in the zero-indexed array of joint names. |
name | A null-terminated string. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition(), and dnac::RenameJointCommand::Impl::setNameByIndex().
|
pure virtual |
Set which animated maps belong to which level of detail.
lod | The actual level of detail to which the animated maps are being associated. |
index | The index onto which animated map indices were assigned using setAnimatedMapIndices. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Set which blend shape channels belong to which level of detail.
lod | The actual level of detail to which the blend shape channels are being associated. |
index | The index onto which blend shape channel name indices were assigned using setBlendShapeChannelIndices. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Set which joints belong to which level of detail.
lod | The actual level of detail to which the joints are being associated. |
index | The index onto which joints indices were assigned using setJointIndices. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Set which meshes belong to which level of detail.
lod | The actual level of detail to which the meshes are being associated. |
index | The index onto which mesh indices were assigned using setMeshIndices. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Associate a blend shape channel with it's mesh.
index | A mapping's position in the zero-indexed array of mesh-blend shape channel mappings. |
meshIndex | A mesh's position in the zero-indexed array of mesh names. |
blendShapeChannelIndex | A blend shape channel's position in the zero-indexed array of blend shape channel names. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Store a list of mesh name indices onto a specified index.
index | A position in a zero-indexed array where mesh name indices are stored. |
meshIndices | The source address from which the mesh name indices are to be copied. |
count | The number of mesh name indices to copy. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Name of the specified mesh.
index | A name's position in the zero-indexed array of mesh names. |
name | A null-terminated string. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition(), and dnac::RenameMeshCommand::Impl::setNameByIndex().
|
pure virtual |
rotations | The source address from which the rotations are to be copied. |
count | The number of rotation values to copy. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
translations | The source address from which the translations are to be copied. |
count | The number of translation values to copy. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().
|
pure virtual |
Name of the specified raw control.
index | A name's position in the zero-indexed array of raw control names. |
name | A null-terminated string. |
Implemented in dna::WriterImpl< BinaryStreamWriter >, dna::WriterImpl< JSONStreamWriter >, and dnac::WriterImpl< dna::Writer >.
Referenced by dna::copyDefinition().