#include <GU_Path.h>
Public Types | |
| enum | gu_CalcMethod { GU_CALC_DEFAULT, GU_CALC_NONE, GU_CALC_QUAT, GU_CALC_TWIST_SHORT, GU_CALC_TWIST_FULL } |
Public Member Functions | |
| GU_Path () | |
| ~GU_Path () | |
| bool | computePathFromCurve (const GU_Detail *curve, const UT_DMatrix4 &mat, gu_CalcMethod normal_comp_type=GU_CALC_DEFAULT) |
| bool | computeNaturalPathFromCurve (const GU_Detail *curve, const UT_Vector3 &normal, int cv_index=0) |
| void | resamplePath (int num_of_segments, UT_Vector3Array &joints, UT_Vector3Array &normals) const |
| bool | getBreakpointTwists (const UT_Vector3Array &vectors, UT_FloatArray &angles) |
| const UT_Vector3Array & | getVertices () const |
| const UT_Vector3Array & | getNormals () const |
| const UT_Vector3Array & | getBreakpointNormals () const |
| bool | isClosed () const |
| UT_Vector3 | getHeadTangent () const |
| UT_Vector3 | getTailTangent () const |
Static Public Member Functions | |
| static UT_Vector3 | slerp (const UT_Vector3 &v0, const UT_Vector3 &v1, double t) |
Definition at line 60 of file GU_Path.h.
| GU_Path::GU_Path | ( | ) |
| GU_Path::~GU_Path | ( | ) |
| bool GU_Path::computeNaturalPathFromCurve | ( | const GU_Detail * | curve, | |
| const UT_Vector3 & | normal, | |||
| int | cv_index = 0 | |||
| ) |
| bool GU_Path::computePathFromCurve | ( | const GU_Detail * | curve, | |
| const UT_DMatrix4 & | mat, | |||
| gu_CalcMethod | normal_comp_type = GU_CALC_DEFAULT | |||
| ) |
| const UT_Vector3Array& GU_Path::getBreakpointNormals | ( | ) | const [inline] |
| bool GU_Path::getBreakpointTwists | ( | const UT_Vector3Array & | vectors, | |
| UT_FloatArray & | angles | |||
| ) |
| UT_Vector3 GU_Path::getHeadTangent | ( | ) | const [inline] |
| const UT_Vector3Array& GU_Path::getNormals | ( | ) | const [inline] |
| UT_Vector3 GU_Path::getTailTangent | ( | ) | const [inline] |
| const UT_Vector3Array& GU_Path::getVertices | ( | ) | const [inline] |
| void GU_Path::resamplePath | ( | int | num_of_segments, | |
| UT_Vector3Array & | joints, | |||
| UT_Vector3Array & | normals | |||
| ) | const |
| static UT_Vector3 GU_Path::slerp | ( | const UT_Vector3 & | v0, | |
| const UT_Vector3 & | v1, | |||
| double | t | |||
| ) | [static] |
1.5.9