#include <Curve.h>
Public Member Functions | |
| Curve () | |
| int | numPoints () |
| int | addPoint (const XYZ &pt) |
| bool | empty () |
| void | clear () |
| XYZ & | getPoint (int ptNum) |
| void | setPoint (int ptNum, const XYZ &pt) |
| void | deletePoint (int ptNum) |
| CurveNode & | getNode (int ptNum) |
| CurveNode & | setNode (int ptNum, CurveNode &node_in) |
| void | setDivisions (int numDivisions) |
| void | getCurve (std::vector< XYZ > &curve_out) |
| void | draw () |
| void | drawExtruded () |
| void | drawLathe (int lathe_divisions) |
| void | setAdaptive (float angle_threshold) |
| XYZ & | getCurvePoint (int ptNum) |
| int | addCurvePoint (int ptNum) |
| int | closestPointTo (XYZ &pt) |
| int | closestCurvePointTo (XYZ &pt) |
| Curve () | |
| int | numPoints () |
| int | addPoint (const XYZ &pt) |
| bool | empty () |
| void | clear () |
| XYZ & | getPoint (int ptNum) |
| void | setPoint (int ptNum, const XYZ &pt) |
| void | deletePoint (int ptNum) |
| CurveNode & | getNode (int ptNum) |
| CurveNode & | setNode (int ptNum, CurveNode &node_in) |
| void | setDivisions (int numDivisions) |
| void | getCurve (std::vector< XYZ > &curve_out) |
| void | draw () |
| void | drawExtruded () |
| void | drawLathe (int lathe_divisions) |
| void | setAdaptive (float angle_threshold) |
| XYZ & | getCurvePoint (int ptNum) |
| int | addCurvePoint (int ptNum) |
| int | closestPointTo (XYZ &pt) |
| int | closestCurvePointTo (XYZ &pt) |
Private Member Functions | |
| void | regenerate () |
| void | regenerate () |
Private Attributes | |
| std::vector< XYZ > | pointList |
| std::vector< CurveNode > | tcbList |
| std::vector< XYZ >::iterator | point_i |
| std::vector< XYZ > | pointListGen |
| std::vector< XYZ >::iterator | pointGen_i |
| bool | needs_regen |
| int | divisions |
| float | threshold |
| Curve::Curve | ( | ) |
| Curve::Curve | ( | ) |
| void Curve::regenerate | ( | ) | [private] |

| int Curve::numPoints | ( | ) |
| int Curve::addPoint | ( | const XYZ & | pt | ) |
| bool Curve::empty | ( | ) |
| void Curve::clear | ( | ) |
| XYZ & Curve::getPoint | ( | int | ptNum | ) |
| void Curve::setPoint | ( | int | ptNum, | |
| const XYZ & | pt | |||
| ) |
| void Curve::deletePoint | ( | int | ptNum | ) |
| CurveNode & Curve::getNode | ( | int | ptNum | ) |
| void Curve::setDivisions | ( | int | numDivisions | ) |
| void Curve::getCurve | ( | std::vector< XYZ > & | curve_out | ) |

| void Curve::draw | ( | ) |

| void Curve::drawExtruded | ( | ) |

| void Curve::drawLathe | ( | int | lathe_divisions | ) |

| void Curve::setAdaptive | ( | float | angle_threshold | ) |
| XYZ & Curve::getCurvePoint | ( | int | ptNum | ) |
| int Curve::addCurvePoint | ( | int | ptNum | ) |
| int Curve::closestPointTo | ( | XYZ & | pt | ) |

| int Curve::closestCurvePointTo | ( | XYZ & | pt | ) |

| void Curve::regenerate | ( | ) | [private] |
| int Curve::numPoints | ( | ) |
| int Curve::addPoint | ( | const XYZ & | pt | ) |
| bool Curve::empty | ( | ) |
| void Curve::clear | ( | ) |
| XYZ& Curve::getPoint | ( | int | ptNum | ) |
| void Curve::setPoint | ( | int | ptNum, | |
| const XYZ & | pt | |||
| ) |
| void Curve::deletePoint | ( | int | ptNum | ) |
| CurveNode& Curve::getNode | ( | int | ptNum | ) |
| void Curve::setDivisions | ( | int | numDivisions | ) |
| void Curve::getCurve | ( | std::vector< XYZ > & | curve_out | ) |
| void Curve::draw | ( | ) |
| void Curve::drawExtruded | ( | ) |
| void Curve::drawLathe | ( | int | lathe_divisions | ) |
| void Curve::setAdaptive | ( | float | angle_threshold | ) |
| XYZ& Curve::getCurvePoint | ( | int | ptNum | ) |
| int Curve::addCurvePoint | ( | int | ptNum | ) |
| int Curve::closestPointTo | ( | XYZ & | pt | ) |
| int Curve::closestCurvePointTo | ( | XYZ & | pt | ) |
std::vector< XYZ > Curve::pointList [private] |
std::vector< CurveNode > Curve::tcbList [private] |
std::vector< XYZ >::iterator Curve::point_i [private] |
std::vector< XYZ > Curve::pointListGen [private] |
std::vector< XYZ >::iterator Curve::pointGen_i [private] |
bool Curve::needs_regen [private] |
int Curve::divisions [private] |
float Curve::threshold [private] |
1.5.6