代码拉取完成,页面将自动刷新
同步操作将从 FelixWang810/Kinect动作捕捉软件 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#pragma once
#ifndef _FBXGENERATION_H
#define _FBXGENERATION_H
#include "MathFunc.h"
#include "FbxFunction.h"
#include "OpencvFunc.h"
class GenFbx {
public:
GenFbx();
int MainFuncK1(cv::String filename1, cv::String skeletonfile, char* fbxname, float timestep);
int MainFuncK2(cv::String filename1, cv::String skeletonfile, char* fbxname, float timestep);
int MainFuncAK(cv::String filename1, cv::String skeletonfile, char* fbxname, float timestep);
private:
//k1生成模型和蒙皮
int GetControlPoints(String filename, vector<vector<float>>& Triangleinfo, vector<Point3d>& skeletonPoints3D);
//计算生成骨骼动画
int CalculateAffineMatrix(vector<Point3d> skeletonPoints3D1, vector<Point3d> skeletonPoints3D2, vector<vector<double>>& RotationMatrix);
int CalculateAffineMatrixK2(vector<Point3d> skeletonPoints3D1, vector<Point3d> skeletonPoints3D2, vector<Vec4f> skeletonQuats3D1, vector<Vec4f> skeletonQuats3D2, vector<vector<double>>& RotationMatrix, vector<float> RotVecQuatRtF);
//k1获取骨骼动画矩阵
int GetRotationMatrix(cv::String filename1, cv::String filename, int startline, vector<vector<vector<double>>>& RotationMatrixSequence, vector<Point3d>& skeletonPoints3D2);
//k2生成模型和蒙皮
int GetControlPointsK2(String filename, vector<vector<float>>& Triangleinfo, std::vector<std::vector<float>> &TriangleinfoColor, vector<Point3d>& skeletonPoints3D);
//输入连续节点连线
void insertlink(vector<int>& linkindex);
//k2获取骨骼动画矩阵
int GetRotationMatrixK2(String filename, int startline, vector<Point3d> skeletonPoints3D1, int kinectType, vector<vector<vector<double>>>& RotationMatrixGroup);
};
#endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。