GU_Path Class Reference

#include <GU_Path.h>

List of all members.

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_Vector3ArraygetVertices () const
const UT_Vector3ArraygetNormals () const
const UT_Vector3ArraygetBreakpointNormals () 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)


Detailed Description

Definition at line 60 of file GU_Path.h.


Member Enumeration Documentation

Enumerator:
GU_CALC_DEFAULT 
GU_CALC_NONE 
GU_CALC_QUAT 
GU_CALC_TWIST_SHORT 
GU_CALC_TWIST_FULL 

Definition at line 65 of file GU_Path.h.


Constructor & Destructor Documentation

GU_Path::GU_Path (  ) 

GU_Path::~GU_Path (  ) 


Member Function Documentation

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]

Definition at line 165 of file GU_Path.h.

bool GU_Path::getBreakpointTwists ( const UT_Vector3Array vectors,
UT_FloatArray angles 
)

UT_Vector3 GU_Path::getHeadTangent (  )  const [inline]

Definition at line 177 of file GU_Path.h.

const UT_Vector3Array& GU_Path::getNormals (  )  const [inline]

Definition at line 159 of file GU_Path.h.

UT_Vector3 GU_Path::getTailTangent (  )  const [inline]

Definition at line 183 of file GU_Path.h.

const UT_Vector3Array& GU_Path::getVertices (  )  const [inline]

Definition at line 153 of file GU_Path.h.

bool GU_Path::isClosed (  )  const [inline]

Definition at line 171 of file GU_Path.h.

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]


The documentation for this class was generated from the following file:

Generated on Fri May 25 00:10:28 2012 for HDK by  doxygen 1.5.9