#include <IMoFlow.h>

Public Member Functions |
|
| BIPExport | Snippet () |
| virtual BIPExport | ~Snippet () |
| BIPExport void | ClearActiveTransitions () |
| BIPExport void | ClearSelectedTransitions () |
| BIPExport int | ActivateTransitionTo (Snippet *toSN) |
| BIPExport Transition * | GetTransitionTo (Snippet *toSN) |
| BIPExport int | GetTransitionIndex (Transition *theTR) |
| BIPExport float | AddTransition (Snippet *child, int optimize) |
| BIPExport float | ComputeTransitionPoints (Transition *nTR, Snippet *Src, Snippet *Dest, int preference, int optimize) |
| BIPExport float | ComputeOptimalTransitionPoints (BOOL SearchAll, int PrefTranLen, int SearchBefore, int SearchAfter, Transition *nTR, Snippet *Src, Snippet *Dst) |
| BIPExport void | RecomputeTransitions () |
| BIPExport int | DeleteTransitionsTo (Snippet *child) |
| BIPExport int | DeleteTransition (int index) |
| BIPExport void | DeleteSelectedTransitions (MoFlow *MF) |
| BIPExport int | IsChild (Snippet *Child) |
| void | Paint (HDC hdc, int selected, int startnode, int editnode, int transhow) |
| void | PaintTransitions (HDC hdc, BOOL transhow) |
| void | ComputeWidth (HDC hdc, BOOL transhow) |
| int | Inside (POINT &mp, float *dist) |
| BIPExport void | UpdateUI () |
| BIPExport Snippet & | operator= (const Snippet &SN) |
| Transition * | TranHitTest (POINT &mp) |
| void | TranRegionSelect (POINT &min, POINT &max, int set, int active) |
| void | Output (MFL_IOProcessor *IOProc) |
| void | Input (MFL_IOProcessor *IOProc) |
| BIPExport int | LoadFile (bool UpdateTheUI=true, int ErrorType=3) |
| Snippet * | GetNextRandScriptSnippet (int *transindex) |
| Snippet * | NextRealTime (BipMaster *mc, Script *scr, animal *A, int frame, path_properties *desired_properties, int global_frame, int global_last_clip_start, int currentScript_index, int *transindex, int *found) |
| MG added for new MF based forward
simulatiom. |
|
| int | GetStart () const |
| void | SetStart (int s) |
| int | GetEnd () const |
| void | SetEnd (int e) |
| const MCHAR * | GetClipName () const |
| void | SetClipName (const MCHAR *n) |
| const MaxSDK::AssetManagement::AssetUser & |
GetFile () const |
| void | SetFile (const MaxSDK::AssetManagement::AssetUser &assetUser) |
| virtual IPoint2 | GetPosition () const |
| virtual void | SetPosition (IPoint2 p) |
| BOOL | GetActive () const |
| void | SetActive (BOOL act) |
| BOOL | GetRandStart () const |
| void | SetRandStart (BOOL rs) |
| BOOL | GetRandStartPercent () const |
| void | SetRandStartPercent (int rsp) |
| int | NumTransitions () |
| Transition * | GetTransition (int Tindex) const |
| void | SetTransition (int Tindex, Transition *ti) |
Public Attributes |
|
| int | visited |
| float | distance_to_stop |
| float | distance_to_loop |
| int | start |
| int | end |
| MCHAR | sname [MAXNAME] |
| MaxSDK::AssetManagement::AssetUser | file |
| int | posx |
| int | posy |
| int | width |
| int | nTrans |
| int | curtime |
| int | active |
| int | validload |
| BOOL | randstart |
| int | randstartpct |
| Transition * | Transitions |
| HWND | hwnd |
| int | orgposx |
| int | orgposy |
| Snippet * | next |
| animal * | A |
| BIPExport Snippet | ( | ) |
| virtual BIPExport ~Snippet | ( | ) | [virtual] |
| BIPExport void ClearActiveTransitions | ( | ) |
| BIPExport void ClearSelectedTransitions | ( | ) |
| BIPExport int ActivateTransitionTo | ( | Snippet * | toSN | ) |
| BIPExport Transition* GetTransitionTo | ( | Snippet * | toSN | ) |
| BIPExport int GetTransitionIndex | ( | Transition * | theTR | ) |
| BIPExport float AddTransition | ( | Snippet * | child, |
| int | optimize | ||
| ) |
| BIPExport float ComputeTransitionPoints | ( | Transition * | nTR, |
| Snippet * | Src, | ||
| Snippet * | Dest, | ||
| int | preference, | ||
| int | optimize | ||
| ) |
| BIPExport float ComputeOptimalTransitionPoints | ( | BOOL | SearchAll, |
| int | PrefTranLen, | ||
| int | SearchBefore, | ||
| int | SearchAfter, | ||
| Transition * | nTR, | ||
| Snippet * | Src, | ||
| Snippet * | Dst | ||
| ) |
| BIPExport void RecomputeTransitions | ( | ) |
| BIPExport int DeleteTransitionsTo | ( | Snippet * | child | ) |
| BIPExport int DeleteTransition | ( | int | index | ) |
| BIPExport void DeleteSelectedTransitions | ( | MoFlow * | MF | ) |
| BIPExport int IsChild | ( | Snippet * | Child | ) |
| void Paint | ( | HDC | hdc, |
| int | selected, | ||
| int | startnode, | ||
| int | editnode, | ||
| int | transhow | ||
| ) |
| void PaintTransitions | ( | HDC | hdc, |
| BOOL | transhow | ||
| ) |
| void ComputeWidth | ( | HDC | hdc, |
| BOOL | transhow | ||
| ) |
| int Inside | ( | POINT & | mp, |
| float * | dist | ||
| ) |
| BIPExport void UpdateUI | ( | ) |
| Transition* TranHitTest | ( | POINT & | mp | ) |
| void TranRegionSelect | ( | POINT & | min, |
| POINT & | max, | ||
| int | set, | ||
| int | active | ||
| ) |
| void Output | ( | MFL_IOProcessor * | IOProc | ) |
| void Input | ( | MFL_IOProcessor * | IOProc | ) |
| BIPExport int LoadFile | ( | bool | UpdateTheUI =
true, |
| int | ErrorType =
3 |
||
| ) |
| Snippet* GetNextRandScriptSnippet | ( | int * | transindex | ) |
| Snippet* NextRealTime | ( | BipMaster * | mc, |
| Script * | scr, | ||
| animal * | A, | ||
| int | frame, | ||
| path_properties * | desired_properties, | ||
| int | global_frame, | ||
| int | global_last_clip_start, | ||
| int | currentScript_index, | ||
| int * | transindex, | ||
| int * | found | ||
| ) |
MG added for new MF based forward simulatiom.
| int GetStart | ( | ) | const [inline] |
{ return start; }
| void SetStart | ( | int | s | ) | [inline] |
{ start = s; }
| int GetEnd | ( | ) | const [inline] |
{ return end; }
| void SetEnd | ( | int | e | ) | [inline] |
{ end = e; }
| const MCHAR* GetClipName | ( | ) | const [inline] |
{ return sname; }
| void SetClipName | ( | const MCHAR * | n | ) | [inline] |
{ _tcscpy_s(sname, MAXNAME, n); }
| const MaxSDK::AssetManagement::AssetUser& GetFile | ( | ) | const [inline] |
{ return file; }
| void SetFile | ( | const MaxSDK::AssetManagement::AssetUser & | assetUser | ) | [inline] |
{ file = assetUser; }
| virtual IPoint2 GetPosition | ( | ) | const [inline, virtual] |
| virtual void SetPosition | ( | IPoint2 | p | ) | [inline, virtual] |
| BOOL GetActive | ( | ) | const [inline] |
{ return active; }
| void SetActive | ( | BOOL | act | ) | [inline] |
{ active = act; }
| BOOL GetRandStart | ( | ) | const [inline] |
{ return randstart; }
| void SetRandStart | ( | BOOL | rs | ) | [inline] |
{ randstart = rs; }
| BOOL GetRandStartPercent | ( | ) | const [inline] |
{ return randstartpct; }
| void SetRandStartPercent | ( | int | rsp | ) | [inline] |
{ randstartpct = rsp; }
| int NumTransitions | ( | ) | [inline] |
{ return nTrans; }
| Transition* GetTransition | ( | int | Tindex | ) | const [inline] |
{ assert (Tindex < nTrans); return &Transitions[Tindex]; }
| void SetTransition | ( | int | Tindex, |
| Transition * | ti | ||
| ) | [inline] |
{ assert (Tindex < nTrans); Transitions[Tindex] = *ti; }
| MCHAR sname[MAXNAME] |
| animal* A |