MIRA
|
Renders a line strip as billboard chain. More...
#include <visualization/3d/LineListObject.h>
Public Member Functions | |
LineListObject (Ogre::SceneManager *sceneManager, Ogre::SceneNode *parent=NULL, int lineCountHint=1024) | |
virtual | ~LineListObject () |
virtual void | setColor (const Ogre::ColourValue &color) |
void | enableAlphaBlending (bool useAlpha=true) |
Enables/disables alpha blending. More... | |
void | setLineWidth (float width) |
Sets the width of the line. More... | |
void | clear () |
Clears all lines. More... | |
void | add (const Ogre::Vector3 &p1, const Ogre::Vector3 &p2) |
Adds another line. More... | |
void | add (const Ogre::Vector3 &p1, const Ogre::Vector3 &p2, const Ogre::ColourValue &color) |
Adds another point with the specified color to the line. More... | |
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 (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 | |
int | mLineCountHint |
Ogre::MaterialPtr | mMaterial |
std::vector< Ogre::BillboardChain * > | mChains |
std::vector< int > | mLinesInChain |
int | mCurChain |
float | mWidth |
Ogre::ColourValue | mColor |
Ogre::SceneManager * | mSceneManager |
Ogre::SceneNode * | mNode |
Renders a line strip as billboard chain.
In contrast to line strips of manual objects, this class supports lines with a width above 1 pixel.
LineListObject | ( | Ogre::SceneManager * | sceneManager, |
Ogre::SceneNode * | parent = NULL , |
||
int | lineCountHint = 1024 |
||
) |
|
virtual |
|
virtual |
Reimplemented from VisualizationObject.
void enableAlphaBlending | ( | bool | useAlpha = true | ) |
Enables/disables alpha blending.
void setLineWidth | ( | float | width | ) |
Sets the width of the line.
void clear | ( | ) |
Clears all lines.
void add | ( | const Ogre::Vector3 & | p1, |
const Ogre::Vector3 & | p2 | ||
) |
Adds another line.
void add | ( | const Ogre::Vector3 & | p1, |
const Ogre::Vector3 & | p2, | ||
const Ogre::ColourValue & | color | ||
) |
Adds another point with the specified color to the line.
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
inlinevirtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
Reimplemented in TextObject, AxesObject, and LineStripObject.
|
inlineinherited |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedinherited |
|
protectedinherited |