bone.cpp

来自「基于Opencv的人体运动检测系统」· C++ 代码 · 共 38 行

CPP
38
字号
// bone.cpp: implementation of the bone class.
//
//////////////////////////////////////////////////////////////////////

#include "bone.h"
#include "string.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

bone::bone(int ID,char *name,int PID)
{
	this->ID =ID;
	strcpy (this->name,name);
	this->PID = PID;
	this->x = 0;	
	this->y = 0;
	this->r_x = 0;
	this->r_y = 0;
	this->r_z = 0;
	this->rotated_X = 0;
	this->rotated_Y = 0;
	this->is_marked = 0;
	this->start_arc_x = 0;
	this->start_arc_y = 0;
	this->start_arc_z = 0;
	this->end_arc_x = 0;
	this->end_arc_y = 0;
	this->end_arc_z = 0;
	this->CID = 0;
}

bone::~bone()
{

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?