The ArrowGeometry class is used to store sets of line strips.
More...
#include <arrowgeometry.h>
|
|
static const size_t | InvalidIndex |
|
| void | setParent (GeometryNode *parent) |
| | Set the parent node for the node.
|
|
GeometryNode * | m_parent |
|
bool | m_visible |
|
RenderPass | m_renderPass |
|
Identifier | m_identifier |
<avogadro/rendering/arrowgeometry.h>
◆ accept()
Accept a visit from our friendly visitor.
Reimplemented from Drawable.
◆ render()
| void render |
( |
const Camera & | camera | ) |
|
|
overridevirtual |
- Parameters
-
| camera | The current camera to be used for rendering. |
Reimplemented from Drawable.
◆ clear()
Clear the contents of the node.
Reimplemented from Drawable.
◆ addSingleArrow() [1/2]
| void addSingleArrow |
( |
const Vector3f & | pos1, |
|
|
const Vector3f & | pos2, |
|
|
const Vector3ub & | color ) |
Add a single arrow object with a specific color.
- Parameters
-
| pos1 | The start coordinate of the arrow. |
| pos2 | The end coordinate of the arrow. |
| color | The color of this arrow. |
◆ addSingleArrow() [2/2]
| void addSingleArrow |
( |
const Vector3f & | pos1, |
|
|
const Vector3f & | pos2 ) |
Add a single arrow object using the default color.
- Parameters
-
| pos1 | The start coordinate of the arrow. |
| pos2 | The end coordinate of the arrow. |
◆ arrows()
◆ setColor()
| void setColor |
( |
const Vector3ub & | c | ) |
|
Set the default color for arrows added without explicit color.
◆ setRadiusScale()
| void setRadiusScale |
( |
float | scale | ) |
|
Set a scale factor for arrow radii (default 1.0).
◆ radiusScale()
| float radiusScale |
( |
| ) |
const |
Get the current radius scale factor.
The documentation for this class was generated from the following file: