#include <ivf/IvfArrow.h>
Inheritance diagram for CIvfArrow:
Public Member Functions | |
CIvfArrow () | |
virtual | ~CIvfArrow () |
IvfClassInfo ("CIvfArrow", CIvfComposite) | |
void | setArrowType (int type) |
int | getArrowType () |
void | setSize (double length, double head) |
void | getSize (double &length, double &head) |
void | setRadius (double head, double tail) |
void | setOffset (double offset) |
double | getOffset () |
double | getLength () |
void | alignVector (CIvfVec3d *vec) |
CIvfArrow implements a simple arrow shape consisting of a cone placed on top of a cylinder.
Definition at line 47 of file IvfArrow.h.
|
CIvfArrow constructor |
|
CIvfArrow destructor |
|
Align arrow to a vector. The arrow can be aligned to a specific vector by providing a reference to a CIvfVect3d instance.
|
|
Returns arrow type |
|
Returns the total length of the arrow. (calculated) |
|
Returns the offset value. |
|
Returns sizes of arrow components. |
|
Set arrow type Two arrow type can be set. One standard arrow type with one head and a arrow with a double head.
|
|
Set offset of arrow center. Default the arrow has its origin in the middle of the arrow. By specifying an offset the origion can be moved along the axis of the arrow.
|
|
Set radius of arrow components. Two radius values are given to specify the thickness of the arrow.
|
|
Set sizes of arrow components. The arrow size is specified by a total length and and a the length of the head. The length of the cylinder is length - head.
|