#pragma once #include #include namespace RNR { class PVInstance : public Instance { protected: CoordinateFrame m_cframe; virtual void deserializeProperty(char* prop_name, pugi::xml_node prop); public: PVInstance(); CoordinateFrame& getCFrame() { return m_cframe; }; void setCFrame(CoordinateFrame cframe) { m_cframe = cframe; }; virtual std::string getClassName() { return "PVInstance"; } Ogre::Vector3 getPosition() { return m_cframe.getPosition(); } Ogre::Matrix3 getRotation() { return m_cframe.getRotation(); } }; }