#include <ivf/IvfSolidLine.h>
Inheritance diagram for CIvfSolidLine:
Public Member Functions | |
CIvfSolidLine () | |
virtual | ~CIvfSolidLine () |
IvfClassInfo ("CIvfSolidLine", CIvfExtrusion) | |
virtual void | refresh () |
void | setSides (long n) |
void | setRadius (double radius) |
void | setNodes (CIvfNode *n1, CIvfNode *n2) |
CIvfNode * | getNode (int idx) |
void | setRefresh (int mode) |
double | getRadius () |
double | getLength () |
void | setOffsets (double offset1, double offset2) |
Protected Member Functions | |
virtual void | initExtrusion () |
virtual void | onSetNodes (CIvfNode *n1, CIvfNode *n2) |
CIvfSolidLine implements a solid line between two CIvfNode instances. The radius and number of sides can be defined.
Definition at line 48 of file IvfSolidLine.h.
|
CIvfSolidLine constructor |
|
CIvfSolidLine destructor |
|
Returns a node
|
|
Refreshes object data To avoid calculations when drawing the object, data for the extrusion is updated by calling this method. Reimplemented from CIvfShape. |
|
Set nodes The solid line is constructed between two CIvfNode instances. The reference count of the node is increased when assigned to the solid line. If the node are not referenced they are deleted when the solid line is destroyed. |
|
Set polygon radius |
|
Set refresh mode IVF_REFRESH_ALL - Refresh all IVF_REFRESH_NODES - Only nodes IVF_REFRESH_SECTION - Only section |
|
Set section sides The section of the solid line is implemented as a circular polyline with specified radius and number of sides
|