45 #ifndef RVIZ_MESH_PLUGIN__MESH_POSE_TOOL_H_
46 #define RVIZ_MESH_PLUGIN__MESH_POSE_TOOL_H_
48 #include <OGRE/OgreVector3.h>
49 #include <OGRE/OgreQuaternion.h>
50 #include <OGRE/OgreManualObject.h>
51 #include <OGRE/OgreRay.h>
74 virtual void onPoseSet(
const Ogre::Vector3& position,
const Ogre::Quaternion& orientation) = 0;
76 void getRawManualObjectData(
const Ogre::ManualObject* mesh,
const size_t sectionNumber,
size_t& vertexCount,
77 Ogre::Vector3*& vertices,
size_t& indexCount,
unsigned long*& indices);
80 Ogre::Vector3& orientation);