#include <line.h>
Definition at line 53 of file line.h.
rviz::Line::Line |
( |
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 43 of file line.cpp.
const Ogre::Quaternion & rviz::Line::getOrientation |
( |
| ) |
|
|
virtual |
Get the local orientation of this object.
- Returns
- The orientation
Implements rviz::Object.
Definition at line 141 of file line.cpp.
Get the local position of this object.
- Returns
- The position
Implements rviz::Object.
Definition at line 136 of file line.cpp.
void rviz::Line::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 129 of file line.cpp.
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.
void rviz::Line::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 100 of file line.cpp.
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.
Set the position of this object.
- Parameters
-
Position | vector position to set to. |
Implements rviz::Object.
Definition at line 95 of file line.cpp.
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.
void rviz::Line::setUserData |
( |
const Ogre::Any & |
data | ) |
|
|
virtual |
void rviz::Line::setVisible |
( |
bool |
visible | ) |
|
Ogre::ManualObject* rviz::Line::manual_object_ |
|
protected |
Ogre::MaterialPtr rviz::Line::manual_object_material_ |
|
protected |
Ogre::SceneNode* rviz::Line::scene_node_ |
|
protected |
The documentation for this class was generated from the following files: