Files
solver/MbDCode/MarkerFrame.cpp
Aik-Siong Koh 8ca8eb7122 Second commit
2023-04-28 16:29:43 -06:00

33 lines
580 B
C++

#include "MarkerFrame.h"
using namespace MbD;
MarkerFrame::MarkerFrame()
{
partFrame = nullptr;
auto endFrm = std::make_shared<EndFrameqc>();
std::string str = "EndFrame1";
endFrm->setName(str);
this->addEndFrame(endFrm);
}
void MarkerFrame::setPartFrame(PartFrame* partFrm)
{
partFrame = partFrm;
}
void MarkerFrame::setrpmp(FullColumn<double>* x)
{
rpmp->copy(x);
}
void MarkerFrame::setaApm(FullMatrix<double>* x)
{
aApm->copy(x);
}
void MarkerFrame::addEndFrame(std::shared_ptr<EndFrameqc> endFrm)
{
endFrm->setMarkerFrame(this);
endFrames.push_back(endFrm);
}