#include "Part.h" #include "PartFrame.h" #include "AbsConstraint.h" #include "MarkerFrame.h" using namespace MbD; PartFrame::PartFrame() { aGeu = std::make_shared(); aGabs = std::vector>(); markerFrames = std::vector>(); } void PartFrame::setqX(FullColDptr x) { qX->copy(x); } FullColDptr PartFrame::getqX() { return qX; } void PartFrame::setqE(FullColDptr x) { qE->copy(x); } FullColDptr PartFrame::getqE() { return qE; } void PartFrame::setPart(std::shared_ptr x) { part = x; } std::shared_ptr PartFrame::getPart() { return part.lock(); } void MbD::PartFrame::addMarkerFrame(std::shared_ptr markerFrame) { markerFrame->setPartFrame(this); markerFrames.push_back(markerFrame); }