17 enum {JOINT_T1, JOINT_T2, JOINT_T3, JOINT_R1, JOINT_R2, JOINT_R3, NO_JOINT};
24 class Joint3D:
public AbstractPoint3D
27 Joint3D(MbsWorld3D *world_3d,
const char* name,
int joint_type,
float joint_value = 0.0f);
30 void UpdateRelMat(
float joint_value);
32 Body3D* AddBody(
const char* name);
35 void AddLight(MbsLight *new_light) { light_list.push_back(new_light); }
38 void AddViewPoint(MbsViewPoint *new_view) { view_list.push_back(new_view); }
41 void UpdateViewPoints();
43 virtual void UpdateAbsMatTree();
45 virtual void PrintTree(
int level);
51 Body3D *body_3d_child;
53 std::vector<MbsLight*> light_list;
54 std::vector<MbsViewPoint*> view_list;