PyLink.h
Go to the documentation of this file.
1 #ifndef __PYLINK_H__
2 #define __PYLINK_H__
3 
4 #include <boost/python.hpp>
5 #include "hrpsys/util/GLlink.h"
6 
7 class PyShape;
8 
9 class PyLink : public GLlink
10 {
11 public:
12  PyLink();
13  ~PyLink();
14  PyObject *getPosition();
15  void setPosition(PyObject *v);
16  PyObject *getRotation();
17  void setRotation(PyObject *v);
18  PyObject *getRelPosition();
19  void setRelPosition(PyObject *v);
20  PyObject *getRelRotation();
21  void setRelRotation(PyObject *v);
22  double getPosture();
23  void setPosture(double);
24  PyObject *getCoM();
25  void setCoM(PyObject *v);
26  PyObject *getInertia();
27  void setInertia(PyObject *v);
28  PyObject *getLinVel();
29  void setLinVel(PyObject *v);
30  PyObject *getAngVel();
31  void setAngVel(PyObject *v);
32  PyObject *getRotationAxis();
33  void setRotationAxis(PyObject *v);
34  PyObject *getTranslationAxis();
35  void setTranslationAxis(PyObject *v);
36  PyLink *addChildLink(std::string name);
37  PyLink *getParent();
38  void addShapeFromFile(std::string url);
39  PyShape *addCube(double x, double y, double z);
40  PyObject *getChildren();
41  void setJointType(std::string type);
42  std::string getJointType();
43  PyObject *shapes();
44  int getJointId();
45  void setJointId(int id);
46 private:
47  void notifyChanged();
48 };
49 
50 #endif
png_infop png_charp png_int_32 png_int_32 int * type
Definition: PyShape.h:7


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:50