- gazebo
- rendering
- DynamicLines
Class for drawing lines. More...
#include <DynamicLines.hh>

Public Member Functions | |
| DynamicLines (RenderOpType opType=RENDERING_LINE_STRIP) | |
| Constructor. | |
| virtual | ~DynamicLines () |
| Destructor. | |
| virtual const Ogre::String & | getMovableType () const |
| Returns "gazebo::ogredynamicslines". | |
| void | AddPoint (const math::Vector3 &pt) |
| Add a point to the point list. | |
| void | SetPoint (unsigned int index, const math::Vector3 &value) |
| Change the location of an existing point in the point list. | |
| const math::Vector3 & | GetPoint (unsigned int index) const |
| Return the location of an existing point in the point list. | |
| unsigned int | GetPointCount () const |
| Return the total number of points in the point list. | |
| void | Clear () |
| Remove all points from the point list. | |
| void | Update () |
| Call this to update the hardware buffer after making changes. | |
Static Public Member Functions | |
| static std::string | GetMovableType () |
Protected Member Functions | |
| virtual void | CreateVertexDeclaration () |
| Implementation DynamicRenderable, creates a simple vertex-only decl. | |
| virtual void | FillHardwareBuffers () |
| Implementation DynamicRenderable, pushes point list out to hardware memory. | |
Class for drawing lines.
| void AddPoint | ( | const math::Vector3 & | pt | ) |
Add a point to the point list.
| pt | math::Vector3 point |
| const math::Vector3& GetPoint | ( | unsigned int | index | ) | const |
Return the location of an existing point in the point list.
| index | Number of the point to return |
| unsigned int GetPointCount | ( | ) | const |
Return the total number of points in the point list.
| void SetPoint | ( | unsigned int | index, |
| const math::Vector3 & | value | ||
| ) |
Change the location of an existing point in the point list.
| index | Index of the point to set |
| value | math::Vector3 value to set the point to |
1.7.5.1