dna::GeometryWriter dna::DefinitionWriter dna::Writer GeometryWriter.h dna::GeometryWriter::~GeometryWriter () ~GeometryWriter dna::GeometryWriter::~GeometryWriter void virtual void dna::GeometryWriter::clearMeshes ()=0 clearMeshes dna::GeometryWriter::clearMeshes clearMeshes clearMeshes clearMeshes Delete all meshes. dna::copyGeometry void virtual void dna::GeometryWriter::deleteMesh (std::uint16_t meshIndex)=0 deleteMesh dna::GeometryWriter::deleteMesh deleteMesh deleteMesh deleteMesh std::uint16_t meshIndex Delete the specified mesh. meshIndex A mesh's position in the zero-indexed array of meshes. meshIndex must be less than the value returned by getMeshCount. void virtual void dna::GeometryWriter::setVertexPositions (std::uint16_t meshIndex, const Position *positions, std::uint32_t count)=0 setVertexPositions dna::GeometryWriter::setVertexPositions setVertexPositions setVertexPositions std::uint16_t meshIndex const Position * positions std::uint32_t count List of vertex positions. meshIndex A mesh's position in the zero-indexed array of meshes. positions The source address from which the vertex positions are to be copied. count The number of vertex positions to copy. The mesh storage will be implicitly resized (if needed) to provide storage for the number of meshes that is inferred from the specified index. dna::copyGeometry void virtual void dna::GeometryWriter::setVertexTextureCoordinates (std::uint16_t meshIndex, const TextureCoordinate *textureCoordinates, std::uint32_t count)=0 setVertexTextureCoordinates dna::GeometryWriter::setVertexTextureCoordinates setVertexTextureCoordinates setVertexTextureCoordinates setVertexTextureCoordinates std::uint16_t meshIndex const TextureCoordinate * textureCoordinates std::uint32_t count List of vertex texture coordinates. meshIndex A mesh's position in the zero-indexed array of meshes. textureCoordinates The source address from which the texture coordinates are to be copied. count The number of texture coordinates to copy. The mesh storage will be implicitly resized (if needed) to provide storage for the number of meshes that is inferred from the specified index. dna::copyGeometry void virtual void dna::GeometryWriter::setVertexNormals (std::uint16_t meshIndex, const Normal *normals, std::uint32_t count)=0 setVertexNormals dna::GeometryWriter::setVertexNormals setVertexNormals setVertexNormals std::uint16_t meshIndex const Normal * normals std::uint32_t count List of vertex normals. meshIndex A mesh's position in the zero-indexed array of meshes. normals The source address from which the normals are to be copied. count The number of normals to copy. The mesh storage will be implicitly resized (if needed) to provide storage for the number of meshes that is inferred from the specified index. dna::copyGeometry void virtual void dna::GeometryWriter::setVertexLayouts (std::uint16_t meshIndex, const VertexLayout *layouts, std::uint32_t count)=0 setVertexLayouts dna::GeometryWriter::setVertexLayouts setVertexLayouts setVertexLayouts setVertexLayouts std::uint16_t meshIndex const VertexLayout * layouts std::uint32_t count List of vertex layouts the belong to the specified mesh. meshIndex A mesh's position in the zero-indexed array of meshes. layouts The source address from which the layouts are to be copied. count The number of layouts to copy. The mesh storage will be implicitly resized (if needed) to provide storage for the number of meshes that is inferred from the specified index. dna::copyGeometry void virtual void dna::GeometryWriter::clearFaceVertexLayoutIndices (std::uint16_t meshIndex)=0 clearFaceVertexLayoutIndices dna::GeometryWriter::clearFaceVertexLayoutIndices clearFaceVertexLayoutIndices clearFaceVertexLayoutIndices clearFaceVertexLayoutIndices std::uint16_t meshIndex Delete all lists of vertex layout indices for the specified mesh. meshIndex A mesh's position in the zero-indexed array of meshes. meshIndex must be less than the value returned by getMeshCount. void virtual void dna::GeometryWriter::setFaceVertexLayoutIndices (std::uint16_t meshIndex, std::uint32_t faceIndex, const std::uint32_t *layoutIndices, std::uint32_t count)=0 setFaceVertexLayoutIndices dna::GeometryWriter::setFaceVertexLayoutIndices setFaceVertexLayoutIndices setFaceVertexLayoutIndices setFaceVertexLayoutIndices std::uint16_t meshIndex std::uint32_t faceIndex const std::uint32_t * layoutIndices std::uint32_t count Vertex layout indices that belong to the specified face. meshIndex A mesh's position in the zero-indexed array of meshes. faceIndex A face's position in the zero-indexed array of faces that belong to the above referenced mesh. layoutIndices The source address from which the layout indices are to be copied. The layout indices point into the array that is set through setVertexLayouts count The number of vertices to copy. Both the mesh storage itself and it's face storage will be implicitly resized (if needed) to provide storage for the number of meshes and/or faces that are inferred from the specified indexes. dna::copyGeometry void virtual void dna::GeometryWriter::setMaximumInfluencePerVertex (std::uint16_t meshIndex, std::uint16_t maxInfluenceCount)=0 setMaximumInfluencePerVertex dna::GeometryWriter::setMaximumInfluencePerVertex setMaximumInfluencePerVertex setMaximumInfluencePerVertex setMaximumInfluencePerVertex std::uint16_t meshIndex std::uint16_t maxInfluenceCount meshIndex A mesh's position in the zero-indexed array of meshes. maxInfluenceCount The maximum number of joints that may influence any single vertex. dna::copyGeometry void virtual void dna::GeometryWriter::clearSkinWeights (std::uint16_t meshIndex)=0 clearSkinWeights dna::GeometryWriter::clearSkinWeights clearSkinWeights clearSkinWeights clearSkinWeights std::uint16_t meshIndex Delete all skin weights for the specified mesh. meshIndex A mesh's position in the zero-indexed array of meshes. meshIndex must be less than the value returned by getMeshCount. void virtual void dna::GeometryWriter::setSkinWeightsValues (std::uint16_t meshIndex, std::uint32_t vertexIndex, const float *weights, std::uint16_t count)=0 setSkinWeightsValues dna::GeometryWriter::setSkinWeightsValues setSkinWeightsValues setSkinWeightsValues setSkinWeightsValues std::uint16_t meshIndex std::uint32_t vertexIndex const float * weights std::uint16_t count List of skin weights influencing the referenced vertex. meshIndex A mesh's position in the zero-indexed array of meshes. vertexIndex A position in the zero-indexed array of vertex positions. weights The source address from which the weights are to be copied. count The number of weights to copy. Both the mesh storage itself and it's skin weight storage will be implicitly resized (if needed) to provide storage for the number of meshes and/or skin-weight lists that are inferred from the specified indexes. The sum of weights must add up to 1. dna::copyGeometry void virtual void dna::GeometryWriter::setSkinWeightsJointIndices (std::uint16_t meshIndex, std::uint32_t vertexIndex, const std::uint16_t *jointIndices, std::uint16_t count)=0 setSkinWeightsJointIndices dna::GeometryWriter::setSkinWeightsJointIndices setSkinWeightsJointIndices setSkinWeightsJointIndices setSkinWeightsJointIndices std::uint16_t meshIndex std::uint32_t vertexIndex const std::uint16_t * jointIndices std::uint16_t count List of joint indices associated with each skin weight for the specified vertex. meshIndex A mesh's position in the zero-indexed array of meshes. vertexIndex A position in the zero-indexed array of vertex positions. jointIndices The source address from which the joint indices are to be copied. count The number of joint indices to copy. Both the mesh storage itself and it's joint index list storage will be implicitly resized (if needed) to provide storage for the number of meshes and/or joint index lists that are inferred from the specified indexes. The joint indices must be stored in the same order as the weights they are associated with. dna::copyGeometry void virtual void dna::GeometryWriter::clearBlendShapeTargets (std::uint16_t meshIndex)=0 clearBlendShapeTargets dna::GeometryWriter::clearBlendShapeTargets clearBlendShapeTargets clearBlendShapeTargets clearBlendShapeTargets std::uint16_t meshIndex Delete all blend shape targets for the specified mesh. meshIndex A mesh's position in the zero-indexed array of meshes. meshIndex must be less than the value returned by getMeshCount. void virtual void dna::GeometryWriter::setBlendShapeChannelIndex (std::uint16_t meshIndex, std::uint16_t blendShapeTargetIndex, std::uint16_t blendShapeChannelIndex)=0 setBlendShapeChannelIndex dna::GeometryWriter::setBlendShapeChannelIndex setBlendShapeChannelIndex setBlendShapeChannelIndex setBlendShapeChannelIndex std::uint16_t meshIndex std::uint16_t blendShapeTargetIndex std::uint16_t blendShapeChannelIndex The matching blend shape channel index of the specified blend shape target. Associate the mesh-local blend shape target index with the absolute blend shape channel index as found in the Definition layer. meshIndex A mesh's position in the zero-indexed array of meshes. blendShapeTargetIndex A position in the zero-indexed array of blend shape targets within the specified mesh. blendShapeChannelIndex The index of the specified blend shape channel in the Definition layer. Both the mesh storage itself and it's blend shape target storage will be implicitly resized (if needed) to provide storage for the number of meshes and/or blend shape targets that are inferred from the specified indexes. dna::copyBlendShapeTargets void virtual void dna::GeometryWriter::setBlendShapeTargetDeltas (std::uint16_t meshIndex, std::uint16_t blendShapeTargetIndex, const Delta *deltas, std::uint32_t count)=0 setBlendShapeTargetDeltas dna::GeometryWriter::setBlendShapeTargetDeltas setBlendShapeTargetDeltas setBlendShapeTargetDeltas std::uint16_t meshIndex std::uint16_t blendShapeTargetIndex const Delta * deltas std::uint32_t count List of deltas for each affected vertex. meshIndex A mesh's position in the zero-indexed array of meshes. blendShapeTargetIndex A position in the zero-indexed array of blend shape targets within the specified mesh. deltas The source address from which the blend shape target deltas are to be copied. count The number of blend shape target deltas to copy. Both the mesh storage itself and it's blend shape target storage will be implicitly resized (if needed) to provide storage for the number of meshes and/or blend shape targets that are inferred from the specified indexes. dna::copyBlendShapeTargets void virtual void dna::GeometryWriter::setBlendShapeTargetVertexIndices (std::uint16_t meshIndex, std::uint16_t blendShapeTargetIndex, const std::uint32_t *vertexIndices, std::uint32_t count)=0 setBlendShapeTargetVertexIndices dna::GeometryWriter::setBlendShapeTargetVertexIndices setBlendShapeTargetVertexIndices setBlendShapeTargetVertexIndices setBlendShapeTargetVertexIndices std::uint16_t meshIndex std::uint16_t blendShapeTargetIndex const std::uint32_t * vertexIndices std::uint32_t count Vertex position indices affected by the specified blend shape target. meshIndex A mesh's position in the zero-indexed array of meshes. blendShapeTargetIndex A position in the zero-indexed array of blend shape targets within the specified mesh. vertexIndices The source address from which the vertex position indices are to be copied. count The number of vertex position indices to copy. Both the mesh storage itself and it's blend shape target storage will be implicitly resized (if needed) to provide storage for the number of meshes and/or blend shape targets that are inferred from the specified indexes. The vertex position indices must be stored in the same order as the deltas they are associated with. dna::copyBlendShapeTargets Write-only accessors for the geometry data associated with a rig. Implementors should inherit from Writer itself and not this class. Writer dna::GeometryWriterclearAnimatedMapIndices dna::GeometryWriterclearAnimatedMapNames dna::GeometryWriterclearBlendShapeChannelIndices dna::GeometryWriterclearBlendShapeChannelNames dna::GeometryWriterclearBlendShapeTargets dna::GeometryWriterclearFaceVertexLayoutIndices dna::GeometryWriterclearGUIControlNames dna::GeometryWriterclearJointIndices dna::GeometryWriterclearJointNames dna::GeometryWriterclearLODAnimatedMapMappings dna::GeometryWriterclearLODBlendShapeChannelMappings dna::GeometryWriterclearLODJointMappings dna::GeometryWriterclearLODMeshMappings dna::GeometryWriterclearMeshBlendShapeChannelMappings dna::GeometryWriterclearMeshes dna::GeometryWriterclearMeshIndices dna::GeometryWriterclearMeshNames dna::GeometryWriterclearMetaData dna::GeometryWriterclearRawControlNames dna::GeometryWriterclearSkinWeights dna::GeometryWriterdeleteMesh dna::GeometryWritersetAge dna::GeometryWritersetAnimatedMapIndices dna::GeometryWritersetAnimatedMapName dna::GeometryWritersetArchetype dna::GeometryWritersetBlendShapeChannelIndex dna::GeometryWritersetBlendShapeChannelIndices dna::GeometryWritersetBlendShapeChannelName dna::GeometryWritersetBlendShapeTargetDeltas dna::GeometryWritersetBlendShapeTargetVertexIndices dna::GeometryWritersetCoordinateSystem dna::GeometryWritersetDBComplexity dna::GeometryWritersetDBMaxLOD dna::GeometryWritersetDBName dna::GeometryWritersetFaceVertexLayoutIndices dna::GeometryWritersetGender dna::GeometryWritersetGUIControlName dna::GeometryWritersetJointHierarchy dna::GeometryWritersetJointIndices dna::GeometryWritersetJointName dna::GeometryWritersetLODAnimatedMapMapping dna::GeometryWritersetLODBlendShapeChannelMapping dna::GeometryWritersetLODCount dna::GeometryWritersetLODJointMapping dna::GeometryWritersetLODMeshMapping dna::GeometryWritersetMaximumInfluencePerVertex dna::GeometryWritersetMeshBlendShapeChannelMapping dna::GeometryWritersetMeshIndices dna::GeometryWritersetMeshName dna::GeometryWritersetMetaData dna::GeometryWritersetName dna::GeometryWritersetNeutralJointRotations dna::GeometryWritersetNeutralJointTranslations dna::GeometryWritersetRawControlName dna::GeometryWritersetRotationUnit dna::GeometryWritersetSkinWeightsJointIndices dna::GeometryWritersetSkinWeightsValues dna::GeometryWritersetTranslationUnit dna::GeometryWritersetVertexLayouts dna::GeometryWritersetVertexNormals dna::GeometryWritersetVertexPositions dna::GeometryWritersetVertexTextureCoordinates dna::GeometryWriter~DefinitionWriter dna::GeometryWriter~DescriptorWriter dna::GeometryWriter~GeometryWriter