Bone.cpp
上传用户:jsylhbnbhn
上传日期:2013-11-03
资源大小:119k
文件大小:1k
源码类别:

OpenCV

开发平台:

Visual C++

  1. // bone.cpp: implementation of the bone class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #include "bone.h"
  5. #include "string.h"
  6. //////////////////////////////////////////////////////////////////////
  7. // Construction/Destruction
  8. //////////////////////////////////////////////////////////////////////
  9. bone::bone(int ID,char *name,int PID)
  10. {
  11. this->ID =ID;
  12. strcpy (this->name,name);
  13. this->PID = PID;
  14. this->x = 0;
  15. this->y = 0;
  16. this->r_x = 0;
  17. this->r_y = 0;
  18. this->r_z = 0;
  19. this->rotated_X = 0;
  20. this->rotated_Y = 0;
  21. this->is_marked = 0;
  22. this->start_arc_x = 0;
  23. this->start_arc_y = 0;
  24. this->start_arc_z = 0;
  25. this->end_arc_x = 0;
  26. this->end_arc_y = 0;
  27. this->end_arc_z = 0;
  28. this->CID = 0;
  29. }
  30. bone::~bone()
  31. {
  32. }