An object that displays a multi-segment line strip rendered as billboards.
More...
#include <billboard_line.h>
|
typedef std::vector< Ogre::BillboardChain * > | V_Chain |
|
typedef std::vector< uint32_t > | V_uint32 |
|
An object that displays a multi-segment line strip rendered as billboards.
Definition at line 59 of file billboard_line.h.
rviz::BillboardLine::BillboardLine |
( |
Ogre::SceneManager * |
manager, |
|
|
Ogre::SceneNode * |
parent_node = NULL |
|
) |
| |
Constructor.
- Parameters
-
manager | Scene manager this object is a part of |
parent_node | A scene node to use as the parent of this object. If NULL, uses the root scene node. |
Definition at line 49 of file billboard_line.cpp.
rviz::BillboardLine::~BillboardLine |
( |
| ) |
|
|
virtual |
void rviz::BillboardLine::addPoint |
( |
const Ogre::Vector3 & |
point | ) |
|
void rviz::BillboardLine::addPoint |
( |
const Ogre::Vector3 & |
point, |
|
|
const Ogre::ColourValue & |
color |
|
) |
| |
void rviz::BillboardLine::clear |
( |
| ) |
|
Ogre::BillboardChain * rviz::BillboardLine::createChain |
( |
| ) |
|
|
private |
Ogre::MaterialPtr rviz::BillboardLine::getMaterial |
( |
| ) |
|
|
inline |
const Ogre::Quaternion & rviz::BillboardLine::getOrientation |
( |
| ) |
|
|
virtual |
Ogre::SceneNode* rviz::BillboardLine::getSceneNode |
( |
| ) |
|
|
inline |
Get the scene node associated with this object.
- Returns
- The scene node associated with this object
Definition at line 92 of file billboard_line.h.
void rviz::BillboardLine::newLine |
( |
| ) |
|
void rviz::BillboardLine::setColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
|
virtual |
Set the color of the object. Values are in the range [0, 1].
- Parameters
-
r | Red component |
g | Green component |
b | Blue component |
Implements rviz::Object.
Definition at line 257 of file billboard_line.cpp.
void rviz::BillboardLine::setLineWidth |
( |
float |
width | ) |
|
void rviz::BillboardLine::setMaxPointsPerLine |
( |
uint32_t |
max | ) |
|
void rviz::BillboardLine::setNumLines |
( |
uint32_t |
num | ) |
|
void rviz::BillboardLine::setOrientation |
( |
const Ogre::Quaternion & |
orientation | ) |
|
|
virtual |
Set the orientation of the object.
- Parameters
-
Orientation | quaternion orientation to set to. |
Implements rviz::Object.
Definition at line 247 of file billboard_line.cpp.
void rviz::BillboardLine::setPosition |
( |
const Ogre::Vector3 & |
position | ) |
|
|
virtual |
void rviz::BillboardLine::setScale |
( |
const Ogre::Vector3 & |
scale | ) |
|
|
virtual |
Set the scale of the object. Always relative to the identity orientation of the object.
- Parameters
-
Scale | vector scale to set to. |
Implements rviz::Object.
Definition at line 252 of file billboard_line.cpp.
void rviz::BillboardLine::setupChains |
( |
| ) |
|
|
private |
void rviz::BillboardLine::setUserData |
( |
const Ogre::Any & |
data | ) |
|
|
inlinevirtual |
V_Chain rviz::BillboardLine::chains_ |
|
private |
Ogre::ColourValue rviz::BillboardLine::color_ |
|
private |
uint32_t rviz::BillboardLine::current_chain_ |
|
private |
uint32_t rviz::BillboardLine::current_line_ |
|
private |
uint32_t rviz::BillboardLine::elements_in_current_chain_ |
|
private |
uint32_t rviz::BillboardLine::lines_per_chain_ |
|
private |
Ogre::MaterialPtr rviz::BillboardLine::material_ |
|
private |
uint32_t rviz::BillboardLine::max_points_per_line_ |
|
private |
V_uint32 rviz::BillboardLine::num_elements_ |
|
private |
uint32_t rviz::BillboardLine::num_lines_ |
|
private |
Ogre::SceneNode* rviz::BillboardLine::scene_node_ |
|
private |
uint32_t rviz::BillboardLine::total_elements_ |
|
private |
float rviz::BillboardLine::width_ |
|
private |
The documentation for this class was generated from the following files: