47 #ifndef _MIRA_MESHOBJECT_H_ 48 #define _MIRA_MESHOBJECT_H_ 53 #include <OGRE/OgreMaterial.h> 76 MeshObject(
const std::string& mesh, Ogre::SceneManager* sceneManager,
77 Ogre::SceneNode* parent=NULL);
87 MeshObject(
const std::string& mesh, Ogre::MaterialPtr material,
88 Ogre::SceneManager* sceneManager, Ogre::SceneNode* parent=NULL);
98 virtual void setColor(
const Ogre::ColourValue& color);
112 void create(
const std::string& mesh);
Ogre::MaterialPtr getMaterial()
Returns the default material that is created and set in the constructor.
Definition: MeshObject.h:103
void create(const std::string &mesh)
Declaration of VisualizationObject.
bool mOwnsMaterial
Definition: MeshObject.h:116
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
Definition: VisualizationObject.h:70
Ogre::Entity * mEntity
Definition: MeshObject.h:114
Ogre::Entity * getEntity()
Returns the entity that is created and set in the constructor.
Definition: MeshObject.h:108
Definition: ImageObject.h:60
Definition: MeshObject.h:67
virtual void setColor(const Ogre::ColourValue &color)
Sets the base color of the mesh's material.
MeshObject(const std::string &mesh, Ogre::SceneManager *sceneManager, Ogre::SceneNode *parent=NULL)
Constructs a mesh object that renders the specified mesh resource as child of 'parent'.
Ogre::MaterialPtr mMaterial
Definition: MeshObject.h:115