classHCP 04

colgroup>

 

Returns a vector that contains the direction of the tangent of the spline going into this control point. The tangent direction includes muscle, and pose motion, but no skeletal

Note:
HCP::GetInTangent() and HCP::GetOutTangent() may return differing magnitudes, but their direction is the same. For the purposes of computing normals, you must therefore flip the direction of either the In or Out tangents.

Vector HCP::GetModelInTangent  ) 
  Returns a vector that contains the direction of the tangent of the spline going into this control point. The tangent direction is with no motion, from raw model data.

Vector HCP::GetModelOutTangent  ) 
  Returns a vector that contains the direction of the tangent of the spline going out of this control point. The tangent direction is with no motion, from raw model data.

const Vector * HCP::GetModelPosition  ) 
  Returns a pointer to a vector which stores the location of the control point. This is the position of the CP with no motion, raw model data.

HCP * HCP::GetNext  ) 
  Returns the next HCP in the spline. Returns NULL when it reaches the end of the spline even if the spline is looped.

HCP * HCP::GetNextAttached  ) 
 

This function returns a pointer to the next attached HCP on a stack of attached HCPs. It will return FALSE when it reaches the end. Use this function to walk through attached HCPs.

This is to retrieve the multiple HCP that may be attached together where multiple HSplines meet. So this will in effect jump from Spline to SPline.

float HCP::GetOutAlpha  ) 
  This function returns the Alpha angle value of the spline as it goes out of the HCP to the previous HCP.

float HCP::GetOutGamma  ) 
  This function returns the Gamma angle value of the spline as it goes out of the HCP to the previous HCP.

float HCP::GetOutMagnitude  ) 
  This function returns the Magnitude of the spline's curvature as it goes out of the HCP to the previous HCP.

Vector HCP::GetOutTangent  ) 
 

Returns a vector that contains the direction of the tangent of the spline going out of this control point.

Note:
HCP::GetInTangent() and HCP::GetOutTangent() may return differing magnitudes, but their direction is the same. For the purposes of computing normals, you must therefore flip the direction of either the In or Out tangents.

const Vector * HCP::GetPosition  ) 
 

Returns a pointer to a vector which stores the location of the control point. The position of the CP, includes muscle, and pose motion, but no skeletal

If this control point is attached to another, you may want to use GetHead() to make sure it is the head's position.

HCP * HCP::GetPrev  ) 
  Returns the previous HCP in the spline. Returns NULL when it reaches the beginning of the spline even if the spline is looped.

HCP * HCP::GetPrevAttached  ) 
 

This function returns a pointer to the previous attached HCP on a stack of attached HCPs. It will return FALSE when it reaches the beginning. Use this function to walk backwards through attached HCPs.

This is to retrieve the multiple HCP that may be attached together where multiple HSplines meet. So this will in effect jump from Spline to SPline.

Vector HCP::GetScreenInTangent  ) 
  Returns a vector that contains the direction of the tangent of the spline going into this control point. This is the tangent direction completely transformed in world style coordinated, but facing the camera.

Vector HCP::GetScreenOutTangent  ) 
  Returns a vector that contains the direction of the tangent of the spline going out of this control point. This is the tangent direction completely transformed in world style coordinated, but facing the camera.

const Vector * HCP::GetScreenPosition  ) 
  Returns a pointer to a vector which stores the location of the control point. This is the position of the CP completely transformed in world style coordinated, but facing the camera and relative to camera position.

<