23 #include <mbsim/object.h>
24 #ifdef HAVE_OPENMBVCPPINTERFACE
66 void sethSize(
int hSize_,
int i=0);
67 void sethInd(
int hInd_,
int i=0);
71 virtual void plot(
double t,
double dt = 1);
73 virtual std::string
getType()
const {
return "Body"; }
104 virtual Frame*
getFrame(
const std::string &name,
bool check=
true);
123 const std::vector<Frame*>& getFrames()
const {
return frame; }
124 const std::vector<Contour*>& getContours()
const {
return contour; }
125 #ifdef HAVE_OPENMBVCPPINTERFACE
126 OpenMBV::Group* getOpenMBVGrp() {
return openMBVGrp; }
127 OpenMBV::Body* getOpenMBVBody() {
return openMBVBody; }
143 virtual void initializeUsingXML(TiXmlElement *element);
152 std::vector<Contour*> contour;
159 #ifdef HAVE_OPENMBVCPPINTERFACE
160 OpenMBV::Body* openMBVBody;
161 OpenMBV::Group* openMBVGrp;
165 std::string saved_frameOfReference;