| TMCLocationRec::TMCLocationRec | ( | ) |
| TMCLocationRec* TMCLocationRec::Clone | ( | ) | const |
| void TMCLocationRec::SetLocation | ( | const TVector3 & | newLocation | ) | [inline] |
| void TMCLocationRec::SetNextControlDistance | ( | const real32 | dist | ) |
| void TMCLocationRec::SetPrevControlDistance | ( | const real32 | dist | ) |
| void TMCLocationRec::SetNextControlDirection | ( | const TVector3 & | dir | ) |
| void TMCLocationRec::SetPrevControlDirection | ( | const TVector3 & | dir | ) |
| void TMCLocationRec::SetNextControlLocation | ( | const TVector3 & | newNextControl | ) |
| void TMCLocationRec::SetPrevControlLocation | ( | const TVector3 & | newPrevControl | ) |
| TVector3& TMCLocationRec::GetLocation | ( | ) | [inline] |
| TVector3& TMCLocationRec::GetNextControlDirection | ( | ) | [inline] |
| TVector3& TMCLocationRec::GetPrevControlDirection | ( | ) | [inline] |
| real32 TMCLocationRec::GetNextControlDistance | ( | ) | [inline] |
| real32 TMCLocationRec::GetPrevControlDistance | ( | ) | [inline] |
| TVector3 TMCLocationRec::GetNextControlLocation | ( | ) |
| TVector3 TMCLocationRec::GetPrevControlLocation | ( | ) |
| TVector3& TMCLocationRec::GetNextVectorUp | ( | ) | [inline] |
| TVector3& TMCLocationRec::GetPrevVectorUp | ( | ) | [inline] |
| TVector3& TMCLocationRec::GetNextControlVectorUp | ( | ) | [inline] |
| TVector3& TMCLocationRec::GetPrevControlVectorUp | ( | ) | [inline] |
| void TMCLocationRec::CopyDataFrom | ( | const TMCLocationRec * | from | ) |
| void TMCLocationRec::CalcLinearApprox | ( | TMCLocationRec * | nextRec, | |
| int16 | level = 0, |
|||
| real | posMin = 0.0f, |
|||
| real | posMax = 1.0f | |||
| ) |
| void TMCLocationRec::CalcApprox | ( | TMCLocationRec * | nextRec, | |
| TMCLocationRec * | prevRec, | |||
| TMCBezierPath * | bezierPath | |||
| ) |
| void TMCLocationRec::CalcLength | ( | TMCLocationRec * | nextRec | ) |
| void TMCLocationRec::CalcNormalAcceleration | ( | TMCLocationRec * | nextRec, | |
| TMCLocationRec * | prevRec | |||
| ) |
| void TMCLocationRec::CalcVectorUp | ( | TMCLocationRec * | nextRec, | |
| TMCLocationRec * | prevRec, | |||
| const boolean | isLinear | |||
| ) |
| void TMCLocationRec::CalcPseudoCurv | ( | TMCLocationRec * | nextRec, | |
| TMCLocationRec * | prevRec | |||
| ) |
| real TMCLocationRec::DistanceToBezierPos | ( | real | linearDistance, | |
| TMCLocationRec * | nextRec | |||
| ) |
| void TMCLocationRec::Interpolate | ( | real | segmentBezierPos, | |
| TVector3 & | outPoint, | |||
| TMCLocationRec * | nextRec | |||
| ) |
| void TMCLocationRec::GetSpeed | ( | real | segmentBezierPos, | |
| TVector3 & | point, | |||
| TMCLocationRec * | nextRec | |||
| ) |
Return 1/3th of the actual speed
| void TMCLocationRec::GetAcceleration | ( | real | segmentBezierPos, | |
| TVector3 & | point, | |||
| TMCLocationRec * | nextRec | |||
| ) |
Return 1/6th of the actual acceleration
| void TMCLocationRec::GetNormalAcceleration | ( | real | segmentBezierPos, | |
| TVector3 & | point, | |||
| TMCLocationRec * | nextRec | |||
| ) |
| void TMCLocationRec::GetVectorUp | ( | real | segmentBezierPos, | |
| TVector3 & | speed, | |||
| TVector3 & | point, | |||
| TMCLocationRec * | nextRec | |||
| ) |
| void TMCLocationRec::Subdivide | ( | real | segmentBezierPos, | |
| TMCLocationRec * | nextRec, | |||
| TMCLocationRec & | rec1, | |||
| TMCLocationRec & | rec2, | |||
| TMCLocationRec & | rec3 | |||
| ) |
| void TMCLocationRec::ConvertTangent | ( | ) |
| void TMCLocationRec::ConvertTangentDerivative | ( | ) |
| void TMCLocationRec::Link | ( | ) |
| void TMCLocationRec::LinkDerivative | ( | ) |
| void TMCLocationRec::UnLink | ( | ) |
| void TMCLocationRec::Degenerate | ( | ) |
| real TMCLocationRec::CalcError | ( | TMCLocationRec * | nextRec | ) | [protected] |
These values aren't exactly the normal acceleration: a smoothing is done to avoid discontinuity at the junction of 2 beziers curves.
Not used ?
TVector3 TMCLocationRec::fPrevControlVectorUp [protected] |
The VectorUp is normal to the path and is used to define a base attached to the path. Its determination is based on the fNextVectorUp of the previous TMCLocationRec as this: it's the projection of the previous fVectorUp on the plane normal to the tangeant. There're 2 vector per TMCLocationRec because it can have a discontinuity. fNextVectorUp is computed from fPrevVectorUp
TVector3 TMCLocationRec::fPrevVectorUp [protected] |
TVector3 TMCLocationRec::fNextVectorUp [protected] |
TVector3 TMCLocationRec::fNextControlVectorUp [protected] |
TVector3 TMCLocationRec::fPrevControlDirection [protected] |
PrevControl and NextControl relative to Location: a normalize vector and a distance => we are so able to keep a direction even if the distance is 0
TVector3 TMCLocationRec::fNextControlDirection [protected] |
real32 TMCLocationRec::fPrevControlDistance [protected] |
real32 TMCLocationRec::fNextControlDistance [protected] |
1.5.3