47 #ifndef _MIRA_IMAGEOBJECT_H_ 48 #define _MIRA_IMAGEOBJECT_H_ 56 #include <OGRE/OgreMaterial.h> 57 #include <OGRE/OgreTexture.h> 71 ImageObject(
bool mirrorY, Ogre::SceneManager* sceneManager, Ogre::SceneNode* parent = NULL);
74 void setAlpha(
float alpha);
75 void setImage(
const Img<>& img,
double smin,
double smax,
const ContinuousColormap& colormap,
bool enableMipmapping=
false);
76 void setImage(
const Img<>& img,
bool enableMipmapping=
false);
79 Ogre::ManualObject*
getPlane() {
return mPlane; }
86 Ogre::TextureUnitState* getTextureState();
Ogre::TexturePtr mTexture
Definition: ImageObject.h:93
Ogre::ManualObject * getPlane()
Returns a pointer to the internal manual object representing the image plane.
Definition: ImageObject.h:79
This file contains classes for different color colormaps (like Jet, HSV, etc.)
Declaration of VisualizationObject.
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
Definition: ImageObject.h:68
Definition: VisualizationObject.h:71
Base class for continuous color colormaps.
Definition: Colormap.h:217
Ogre::ManualObject * mPlane
Definition: ImageObject.h:91
Ogre::TexturePtr getTexture()
Definition: ImageObject.h:84
class for typed images.
Definition: Img.h:797
Ogre::MaterialPtr mMaterial
Definition: ImageObject.h:92
Header file containing Img classes that wrap cv::Mat.
#define MIRA_GUI_VISUALIZATION_EXPORT
Definition: GuiVisualizationExports.h:61
Definition: ImageObject.h:60
Ogre::MaterialPtr getMaterial()
Returns internal material.
Definition: ImageObject.h:82
Ogre::PixelFormat mTexturePxf
Definition: ImageObject.h:94