The ArrowGeometry class is used to store sets of line strips.
More...
#include <arrowgeometry.h>
|
|
| ArrowGeometry (const ArrowGeometry &other) |
|
ArrowGeometry & | operator= (ArrowGeometry) |
| void | accept (Visitor &) override |
| void | render (const Camera &camera) override |
| | Render the arrows.
|
| void | clear () override |
|
void | drawLine (const Vector3f &start, const Vector3f &end, double lineWidth) |
|
void | drawCone (const Vector3f &base, const Vector3f &cap, double baseRadius, double) |
| Core::Array< std::pair< Vector3f, Vector3f > > | vertices () const |
| void | setColor (const Vector3ub &c) |
| void | addSingleArrow (const Vector3f &pos1, const Vector3f &pos2) |
|
| Drawable (const Drawable &other) |
|
Drawable & | operator= (Drawable) |
| const GeometryNode * | parent () const |
| | Get a pointer to the drawable object's parent.
|
|
GeometryNode * | parent () |
| void | setVisible (bool visibility) |
| | Set the visibility of the drawable object.
|
| bool | isVisible () const |
| | Get the current visibility of the drawable.
|
| Identifier & | identifier () |
|
const Identifier & | identifier () const |
| virtual std::multimap< float, Identifier > | hits (const Vector3f &rayOrigin, const Vector3f &rayEnd, const Vector3f &rayDirection) const |
| virtual Core::Array< Identifier > | areaHits (const Frustrum &f) const |
| void | setRenderPass (RenderPass pass) |
| RenderPass | renderPass () const |
|
|
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()
| void addSingleArrow |
( |
const Vector3f & | pos1, |
|
|
const Vector3f & | pos2 ) |
Add a single arrow object.
- Parameters
-
| pos1 | The start coordinate of the arrow. |
| pos2 | The end coordinate of the arrow. |
◆ vertices()
| Core::Array< std::pair< Vector3f, Vector3f > > vertices |
( |
| ) |
const |
◆ setColor()
| void setColor |
( |
const Vector3ub & | c | ) |
|
Set the color of the arrow
The documentation for this class was generated from the following file: