49 #ifndef _MIRA_LINELISTOBJECT_H_ 50 #define _MIRA_LINELISTOBJECT_H_ 53 #include <OGRE/OgreMaterial.h> 76 LineListObject(Ogre::SceneManager* sceneManager, Ogre::SceneNode* parent = NULL,
int lineCountHint=1024);
79 virtual void setColor(
const Ogre::ColourValue& color);
95 void add(
const Ogre::Vector3& p1,
const Ogre::Vector3& p2);
98 void add(
const Ogre::Vector3& p1,
const Ogre::Vector3& p2,
const Ogre::ColourValue& color);
void add(const Ogre::Vector3 &p1, const Ogre::Vector3 &p2)
Adds another line.
Ogre::ColourValue mColor
Definition: LineListObject.h:113
Declaration of VisualizationObject.
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
virtual ~LineListObject()
float mWidth
Definition: LineListObject.h:112
Definition: VisualizationObject.h:70
void enableAlphaBlending(bool useAlpha=true)
Enables/disables alpha blending.
virtual void setColor(const Ogre::ColourValue &color)
std::vector< Ogre::BillboardChain * > mChains
Definition: LineListObject.h:108
LineListObject(Ogre::SceneManager *sceneManager, Ogre::SceneNode *parent=NULL, int lineCountHint=1024)
int mLineCountHint
Definition: LineListObject.h:106
void clear()
Clears all lines.
Renders a line strip as billboard chain.
Definition: LineListObject.h:73
Ogre::MaterialPtr mMaterial
Definition: LineListObject.h:107
Definition: ImageObject.h:60
int mCurChain
Definition: LineListObject.h:110
std::vector< int > mLinesInChain
Definition: LineListObject.h:109
void setLineWidth(float width)
Sets the width of the line.