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 58 of file billboard_line.h.
◆ V_Chain
◆ V_uint32
◆ BillboardLine()
rviz::BillboardLine::BillboardLine |
( |
Ogre::SceneManager * |
manager, |
|
|
Ogre::SceneNode * |
parent_node = nullptr |
|
) |
| |
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 48 of file billboard_line.cpp.
◆ ~BillboardLine()
rviz::BillboardLine::~BillboardLine |
( |
| ) |
|
|
override |
◆ addPoint() [1/2]
void rviz::BillboardLine::addPoint |
( |
const Ogre::Vector3 & |
point | ) |
|
◆ addPoint() [2/2]
void rviz::BillboardLine::addPoint |
( |
const Ogre::Vector3 & |
point, |
|
|
const Ogre::ColourValue & |
color |
|
) |
| |
◆ clear()
void rviz::BillboardLine::clear |
( |
| ) |
|
◆ createChain()
Ogre::BillboardChain * rviz::BillboardLine::createChain |
( |
| ) |
|
|
private |
◆ getMaterial()
Ogre::MaterialPtr rviz::BillboardLine::getMaterial |
( |
| ) |
|
|
inline |
◆ getOrientation()
const Ogre::Quaternion & rviz::BillboardLine::getOrientation |
( |
| ) |
|
|
overridevirtual |
◆ getPosition()
const Ogre::Vector3 & rviz::BillboardLine::getPosition |
( |
| ) |
|
|
overridevirtual |
◆ getSceneNode()
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.
◆ newLine()
void rviz::BillboardLine::newLine |
( |
| ) |
|
◆ setColor()
void rviz::BillboardLine::setColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
|
overridevirtual |
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 271 of file billboard_line.cpp.
◆ setLineWidth()
void rviz::BillboardLine::setLineWidth |
( |
float |
width | ) |
|
◆ setMaxPointsPerLine()
void rviz::BillboardLine::setMaxPointsPerLine |
( |
uint32_t |
max | ) |
|
◆ setNumLines()
void rviz::BillboardLine::setNumLines |
( |
uint32_t |
num | ) |
|
◆ setOrientation()
void rviz::BillboardLine::setOrientation |
( |
const Ogre::Quaternion & |
orientation | ) |
|
|
overridevirtual |
Set the orientation of the object.
- Parameters
-
Orientation | quaternion orientation to set to. |
Implements rviz::Object.
Definition at line 261 of file billboard_line.cpp.
◆ setPosition()
void rviz::BillboardLine::setPosition |
( |
const Ogre::Vector3 & |
position | ) |
|
|
overridevirtual |
◆ setScale()
void rviz::BillboardLine::setScale |
( |
const Ogre::Vector3 & |
scale | ) |
|
|
overridevirtual |
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 266 of file billboard_line.cpp.
◆ setupChains()
void rviz::BillboardLine::setupChains |
( |
| ) |
|
|
private |
◆ setUserData()
void rviz::BillboardLine::setUserData |
( |
const Ogre::Any & |
| ) |
|
|
inlineoverridevirtual |
◆ chains_
V_Chain rviz::BillboardLine::chains_ |
|
private |
◆ color_
Ogre::ColourValue rviz::BillboardLine::color_ |
|
private |
◆ current_chain_
uint32_t rviz::BillboardLine::current_chain_ |
|
private |
◆ current_line_
uint32_t rviz::BillboardLine::current_line_ |
|
private |
◆ elements_in_current_chain_
uint32_t rviz::BillboardLine::elements_in_current_chain_ |
|
private |
◆ lines_per_chain_
uint32_t rviz::BillboardLine::lines_per_chain_ |
|
private |
◆ material_
Ogre::MaterialPtr rviz::BillboardLine::material_ |
|
private |
◆ max_points_per_line_
uint32_t rviz::BillboardLine::max_points_per_line_ |
|
private |
◆ num_elements_
V_uint32 rviz::BillboardLine::num_elements_ |
|
private |
◆ num_lines_
uint32_t rviz::BillboardLine::num_lines_ |
|
private |
◆ scene_node_
Ogre::SceneNode* rviz::BillboardLine::scene_node_ |
|
private |
◆ total_elements_
uint32_t rviz::BillboardLine::total_elements_ |
|
private |
◆ width_
float rviz::BillboardLine::width_ |
|
private |
The documentation for this class was generated from the following files:
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Aug 2 2024 08:43:10