Transition Class Reference

Transition Class Reference

#include <IMoFlow.h>

+ Inheritance diagram for Transition:

Public Member Functions

BIPExport Transition ()
 
BIPExport ~Transition ()
 
BIPExport Transitionoperator= (const Transition &T)
 
BIPExport void SetTranListSize (int NUM)
 
BIPExport void InfoToTransition (int i)
 
BIPExport void TransitionToInfo (int i)
 
BIPExport int NewTranInfo ()
 
BIPExport void ShiftTranInfo (int TIindex, int storecurrent)
 
BIPExport void DeleteTranInfo (int TIindex)
 
void Output (MFL_IOProcessor *IOProc, bool asWChar)
 
void Input (MFL_IOProcessor *IOProc, bool asWChar)
 
int GetRandPercent () const
 
void SetRandPercent (float r)
 
float GetCost () const
 
void SetCost (float c)
 
int GetTranListSize () const
 
SnippetGetFromSnippet () const
 
void SetFromSnippet (Snippet *s)
 
SnippetGetToSnippet () const
 
void SetToSnippet (Snippet *s)
 
BOOL GetActive () const
 
void SetActive (BOOL act)
 
BOOL GetSelected () const
 
void SetSelected (BOOL sel)
 
TranInfo GetTranInfo (int TIindex) const
 
void SetTranInfo (int TIindex, TranInfo ti)
 
BIPExport void UpdateUI (bool redraw=false)
 

Public Attributes

Snippetfrom
 
Snippetto
 
int active
 
int selected
 
int start1
 
int start2
 
int length
 
int rolling1
 
int rolling2
 
float easein
 
float easeout
 
float angle
 
float flow_angle
 
int transFocus
 
path_properties prop
 
int randpct
 
float cost
 
int index
 
int nTransInfo
 
int maxTransInfo
 
TranInfoTranList
 
MCHAR note [MAXTRANNOTE]
 
HWND hwnd
 

Additional Inherited Members

- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 

Constructor & Destructor Documentation

Member Function Documentation

BIPExport Transition& operator= ( const Transition T)
BIPExport void SetTranListSize ( int  NUM)
BIPExport void InfoToTransition ( int  i)
BIPExport void TransitionToInfo ( int  i)
BIPExport int NewTranInfo ( )
BIPExport void ShiftTranInfo ( int  TIindex,
int  storecurrent 
)
BIPExport void DeleteTranInfo ( int  TIindex)
void Output ( MFL_IOProcessor *  IOProc,
bool  asWChar 
)
void Input ( MFL_IOProcessor *  IOProc,
bool  asWChar 
)
int GetRandPercent ( ) const
inline
188 { return randpct; }
int randpct
Definition: IMoFlow.h:167
void SetRandPercent ( float  r)
inline
189 { randpct = (int)r; }
int randpct
Definition: IMoFlow.h:167
MAXMEM_EXTERN_C UtilExport int(__cdecl *MAX_heapchk)(void)
float GetCost ( ) const
inline
190 { return cost; }
float cost
Definition: IMoFlow.h:168
void SetCost ( float  c)
inline
191 { cost = c; }
float cost
Definition: IMoFlow.h:168
int GetTranListSize ( ) const
inline
193 { return nTransInfo; }
int nTransInfo
Definition: IMoFlow.h:170
Snippet* GetFromSnippet ( ) const
inline
194 { return from; }
Snippet * from
Definition: IMoFlow.h:156
void SetFromSnippet ( Snippet s)
inline
195 { from = s; }
Snippet * from
Definition: IMoFlow.h:156
Snippet* GetToSnippet ( ) const
inline
197 { return to; }
Snippet * to
Definition: IMoFlow.h:157
void SetToSnippet ( Snippet s)
inline
198 { to = s; }
Snippet * to
Definition: IMoFlow.h:157
BOOL GetActive ( ) const
inline
200 { return active; }
int active
Definition: IMoFlow.h:158
void SetActive ( BOOL  act)
inline
201 { active = act; }
int active
Definition: IMoFlow.h:158
BOOL GetSelected ( ) const
inline
203 { return selected; }
int selected
Definition: IMoFlow.h:159
void SetSelected ( BOOL  sel)
inline
204 { selected = sel; }
int selected
Definition: IMoFlow.h:159
TranInfo GetTranInfo ( int  TIindex) const
inline
207  { assert (TIindex < nTransInfo); return TranList[TIindex]; }
TranInfo * TranList
Definition: IMoFlow.h:172
int nTransInfo
Definition: IMoFlow.h:170
#define assert(expr)
Definition: assert1.h:71
void SetTranInfo ( int  TIindex,
TranInfo  ti 
)
inline
208  {
209  assert (TIindex < nTransInfo);
210  TranList[TIindex] = ti;
211  if (index == TIindex ) InfoToTransition(index);
212  }
int index
Definition: IMoFlow.h:169
TranInfo * TranList
Definition: IMoFlow.h:172
BIPExport void InfoToTransition(int i)
int nTransInfo
Definition: IMoFlow.h:170
#define assert(expr)
Definition: assert1.h:71
BIPExport void UpdateUI ( bool  redraw = false)

Member Data Documentation

Snippet* from
Snippet* to
int active
int selected
int start1
int start2
int length
int rolling1
int rolling2
float easein
float easeout
float angle
float flow_angle
int transFocus
int randpct
float cost
int index
int nTransInfo
int maxTransInfo
TranInfo* TranList
MCHAR note[MAXTRANNOTE]
HWND hwnd