#include <line.h>
|
const Ogre::Quaternion & | getOrientation () override |
| Get the local orientation of this object. More...
|
|
const Ogre::Vector3 & | getPosition () override |
| Get the local position of this object. More...
|
|
| Line (Ogre::SceneManager *manager, Ogre::SceneNode *parent_node=nullptr) |
| Constructor. More...
|
|
virtual void | setColor (const Ogre::ColourValue &c) |
| Set the color of the object using ogre colour definitions. More...
|
|
void | setColor (float r, float g, float b, float a) override |
| Set the color of the object. Values are in the range [0, 1]. More...
|
|
void | setOrientation (const Ogre::Quaternion &orientation) override |
| Set the orientation of the object. More...
|
|
void | setPoints (Ogre::Vector3 start, Ogre::Vector3 end) |
| Set the start and end point of the line. More...
|
|
void | setPosition (const Ogre::Vector3 &position) override |
| Set the position of this object. More...
|
|
void | setScale (const Ogre::Vector3 &scale) override |
| Set the scale of the object. Always relative to the identity orientation of the object. More...
|
|
void | setUserData (const Ogre::Any &data) override |
| Set the user data on this object. More...
|
|
void | setVisible (bool visible) |
|
| ~Line () override |
|
| Object (Ogre::SceneManager *scene_manager) |
|
virtual | ~Object () |
|
Definition at line 47 of file line.h.
◆ Line()
rviz::Line::Line |
( |
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 42 of file line.cpp.
◆ ~Line()
◆ getOrientation()
const Ogre::Quaternion & rviz::Line::getOrientation |
( |
| ) |
|
|
overridevirtual |
Get the local orientation of this object.
- Returns
- The orientation
Implements rviz::Object.
Definition at line 141 of file line.cpp.
◆ getPosition()
const Ogre::Vector3 & rviz::Line::getPosition |
( |
| ) |
|
|
overridevirtual |
Get the local position of this object.
- Returns
- The position
Implements rviz::Object.
Definition at line 136 of file line.cpp.
◆ setColor() [1/2]
void rviz::Line::setColor |
( |
const Ogre::ColourValue & |
c | ) |
|
|
virtual |
Set the color of the object using ogre colour definitions.
- Parameters
-
Definition at line 110 of file line.cpp.
◆ setColor() [2/2]
void rviz::Line::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 129 of file line.cpp.
◆ setOrientation()
void rviz::Line::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 100 of file line.cpp.
◆ setPoints()
void rviz::Line::setPoints |
( |
Ogre::Vector3 |
start, |
|
|
Ogre::Vector3 |
end |
|
) |
| |
Set the start and end point of the line.
- Parameters
-
start | The start point. |
end | The end point. |
Definition at line 79 of file line.cpp.
◆ setPosition()
void rviz::Line::setPosition |
( |
const Ogre::Vector3 & |
position | ) |
|
|
overridevirtual |
Set the position of this object.
- Parameters
-
Position | vector position to set to. |
Implements rviz::Object.
Definition at line 95 of file line.cpp.
◆ setScale()
void rviz::Line::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 105 of file line.cpp.
◆ setUserData()
void rviz::Line::setUserData |
( |
const Ogre::Any & |
data | ) |
|
|
overridevirtual |
◆ setVisible()
void rviz::Line::setVisible |
( |
bool |
visible | ) |
|
◆ manual_object_
Ogre::ManualObject* rviz::Line::manual_object_ |
|
protected |
◆ manual_object_material_
Ogre::MaterialPtr rviz::Line::manual_object_material_ |
|
protected |
◆ scene_node_
Ogre::SceneNode* rviz::Line::scene_node_ |
|
protected |
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 Dec 13 2024 03:31:03