MCPcopy Create free account
hub / github.com/Kitware/VTK / AddJointMatricesToFieldData

Function AddJointMatricesToFieldData

IO/Geometry/vtkGLTFReader.cxx:263–270  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

261
262//------------------------------------------------------------------------------
263void AddJointMatricesToFieldData(const std::vector<vtkSmartPointer<vtkMatrix4x4>>& jointMats,
264 vtkSmartPointer<vtkFieldData> fieldData)
265{
266 for (unsigned int matId = 0; matId < jointMats.size(); matId++)
267 {
268 AddTransformToFieldData(jointMats[matId], fieldData, "jointMatrix_" + vtk::to_string(matId));
269 }
270}
271
272//------------------------------------------------------------------------------
273void AddGlobalTransformToFieldData(

Callers 1

AddInfoToFieldDataFunction · 0.85

Calls 3

AddTransformToFieldDataFunction · 0.85
to_stringFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected