35 tgDataLogger::tgDataLogger(std::string fileName) :
46 std::ofstream tgOutput;
47 tgOutput.open(m_fileName.c_str(), std::ios::app);
51 tgOutput << com[0] <<
","
61 std::ofstream tgOutput;
62 tgOutput.open(m_fileName.c_str(), std::ios::app);
64 tgOutput << linearString.getRestLength() <<
","
65 << linearString.getCurrentLength() <<
","
66 << linearString.getTension() <<
",";
virtual void render(const tgRod &rod) const
Contains the definition of interface class tgDataLogger.
btVector3 centerOfMass() const
Contains the definition of class tgLinearString.
Contains the definition of class tgRod $Id$.
Definition of class tgBaseCPGNode.