MIRA
Public Member Functions | Protected Attributes | List of all members
ImageObject Class Reference

#include <visualization/3d/ImageObject.h>

Inheritance diagram for ImageObject:
Inheritance graph
[legend]

Public Member Functions

 ImageObject (bool mirrorY, Ogre::SceneManager *sceneManager, Ogre::SceneNode *parent=NULL)
 
virtual ~ImageObject ()
 
void setAlpha (float alpha)
 
void setImage (const Img<> &img, double smin, double smax, const ContinuousColormap &colormap, bool enableMipmapping=false)
 
void setImage (const Img<> &img, bool enableMipmapping=false)
 
Ogre::ManualObject * getPlane ()
 Returns a pointer to the internal manual object representing the image plane. More...
 
Ogre::MaterialPtr getMaterial ()
 Returns internal material. More...
 
Ogre::TexturePtr getTexture ()
 
Ogre::TextureUnitState * getTextureState ()
 
virtual void setScale (const Ogre::Vector3 &scale)
 
virtual void setScale (const Eigen::Vector3f &scale)
 
virtual void setPosition (const Ogre::Vector3 &position)
 
virtual void setPosition (const Eigen::Vector3f &position)
 
virtual void setOrientation (const Ogre::Quaternion &orientation)
 
virtual void setOrientation (const Eigen::Quaternionf &orientation)
 
virtual void setColor (const Ogre::ColourValue &color)
 
virtual void setColor (Color::RGBA color)
 
virtual void setTransform (const RigidTransform2f &transform)
 
virtual void setTransform (const RigidTransform3f &transform)
 
virtual void setVisible (bool visible, bool cascade=true)
 
Ogre::SceneNode * getNode ()
 

Protected Attributes

Ogre::ManualObject * mPlane
 
Ogre::MaterialPtr mMaterial
 
Ogre::TexturePtr mTexture
 
Ogre::PixelFormat mTexturePxf
 
Ogre::SceneManager * mSceneManager
 
Ogre::SceneNode * mNode
 

Constructor & Destructor Documentation

◆ ImageObject()

ImageObject ( bool  mirrorY,
Ogre::SceneManager *  sceneManager,
Ogre::SceneNode *  parent = NULL 
)

◆ ~ImageObject()

virtual ~ImageObject ( )
virtual

Member Function Documentation

◆ setAlpha()

void setAlpha ( float  alpha)

◆ setImage() [1/2]

void setImage ( const Img<> &  img,
double  smin,
double  smax,
const ContinuousColormap colormap,
bool  enableMipmapping = false 
)

◆ setImage() [2/2]

void setImage ( const Img<> &  img,
bool  enableMipmapping = false 
)

◆ getPlane()

Ogre::ManualObject* getPlane ( )
inline

Returns a pointer to the internal manual object representing the image plane.

◆ getMaterial()

Ogre::MaterialPtr getMaterial ( )
inline

Returns internal material.

◆ getTexture()

Ogre::TexturePtr getTexture ( )
inline

◆ getTextureState()

Ogre::TextureUnitState* getTextureState ( )

◆ setScale() [1/2]

virtual void setScale ( const Ogre::Vector3 &  scale)
virtualinherited

◆ setScale() [2/2]

virtual void setScale ( const Eigen::Vector3f &  scale)
virtualinherited

◆ setPosition() [1/2]

virtual void setPosition ( const Ogre::Vector3 &  position)
virtualinherited

◆ setPosition() [2/2]

virtual void setPosition ( const Eigen::Vector3f &  position)
virtualinherited

◆ setOrientation() [1/2]

virtual void setOrientation ( const Ogre::Quaternion &  orientation)
virtualinherited

◆ setOrientation() [2/2]

virtual void setOrientation ( const Eigen::Quaternionf orientation)
virtualinherited

◆ setColor() [1/2]

virtual void setColor ( const Ogre::ColourValue &  color)
inlinevirtualinherited

◆ setColor() [2/2]

virtual void setColor ( Color::RGBA  color)
inlinevirtualinherited

◆ setTransform() [1/2]

virtual void setTransform ( const RigidTransform2f transform)
virtualinherited

◆ setTransform() [2/2]

virtual void setTransform ( const RigidTransform3f transform)
virtualinherited

◆ setVisible()

virtual void setVisible ( bool  visible,
bool  cascade = true 
)
virtualinherited

Reimplemented in TextObject, AxesObject, and LineStripObject.

◆ getNode()

Ogre::SceneNode* getNode ( )
inlineinherited

Member Data Documentation

◆ mPlane

Ogre::ManualObject* mPlane
protected

◆ mMaterial

Ogre::MaterialPtr mMaterial
protected

◆ mTexture

Ogre::TexturePtr mTexture
protected

◆ mTexturePxf

Ogre::PixelFormat mTexturePxf
protected

◆ mSceneManager

Ogre::SceneManager* mSceneManager
protectedinherited

◆ mNode

Ogre::SceneNode* mNode
protectedinherited

The documentation for this class was generated from the following file: