47 #ifndef _MIRA_VISUALIZATIONOBJECT_H_ 48 #define _MIRA_VISUALIZATIONOBJECT_H_ 56 #include <OGRE/OgreVector3.h> 77 virtual void setScale(
const Ogre::Vector3& scale);
78 virtual void setScale(
const Eigen::Vector3f& scale);
79 virtual void setPosition(
const Ogre::Vector3& position);
80 virtual void setPosition(
const Eigen::Vector3f& position);
83 virtual void setColor(
const Ogre::ColourValue& color) {}
85 setColor(Ogre::ColourValue(color.
r, color.
g, color.
b, color.
a));
90 virtual void setVisible(
bool visible,
bool cascade =
true);
virtual void setColor(const Ogre::ColourValue &color)
Definition: VisualizationObject.h:83
Quaternion< float > Quaternionf
Ogre::SceneNode * getNode()
Definition: VisualizationObject.h:92
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
Definition: VisualizationObject.h:71
float r
Definition: Color.h:152
Color in RGBA color space.
Definition: Color.h:159
float g
Definition: Color.h:152
MIRA_GUI_WIDGETS_EXPORT void setPosition(Ogre::SceneNode *node, const Eigen::Vector2f &t)
Sets the position of the scene node according to the specified translation.
Ogre::SceneNode * mNode
Definition: VisualizationObject.h:99
Ogre::SceneManager * mSceneManager
Definition: VisualizationObject.h:98
#define MIRA_GUI_VISUALIZATION_EXPORT
Definition: GuiVisualizationExports.h:61
float a
Definition: Color.h:200
This file contains color classes for the Img class.
FrameworkVis export macro declaration.
Definition: ImageObject.h:60
float b
Definition: Color.h:152
Non intrusive reflect for OGRE color class.
MIRA_GUI_WIDGETS_EXPORT void setOrientation(Ogre::SceneNode *node, const Eigen::Rotation2D< float > &r)
Sets the orientation of the scene node according to the specified rotation.
virtual void setColor(Color::RGBA color)
Definition: VisualizationObject.h:84
MIRA_GUI_WIDGETS_EXPORT void setTransform(Ogre::SceneNode *node, const RigidTransform2f &t)
Sets position and orientation of the scene node according to the specified transform.