3ds Max C++ API Reference
Loading...
Searching...
No Matches
Transition Class Reference

#include <C:/adskgit/3dsmax/3dsmax/3dswin/src/maxsdk/include/CS/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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator.
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator.
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary.
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary.
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc.

Constructor & Destructor Documentation

◆ Transition()

◆ ~Transition()

Member Function Documentation

◆ operator=()

BIPExport Transition & operator= ( const Transition & T)

◆ SetTranListSize()

BIPExport void SetTranListSize ( int NUM)

◆ InfoToTransition()

BIPExport void InfoToTransition ( int i)

◆ TransitionToInfo()

BIPExport void TransitionToInfo ( int i)

◆ NewTranInfo()

BIPExport int NewTranInfo ( )

◆ ShiftTranInfo()

BIPExport void ShiftTranInfo ( int TIindex,
int storecurrent )

◆ DeleteTranInfo()

BIPExport void DeleteTranInfo ( int TIindex)

◆ Output()

void Output ( MFL_IOProcessor * IOProc,
bool asWChar )

◆ Input()

void Input ( MFL_IOProcessor * IOProc,
bool asWChar )

◆ GetRandPercent()

int GetRandPercent ( ) const
inline
188{ return randpct; }
int randpct
Definition IMoFlow.h:167

◆ SetRandPercent()

void SetRandPercent ( float r)
inline
189{ randpct = (int)r; }
MAXMEM_EXTERN_C UtilExport int(__cdecl *MAX_heapchk)(void)

◆ GetCost()

float GetCost ( ) const
inline
190{ return cost; }
float cost
Definition IMoFlow.h:168

◆ SetCost()

void SetCost ( float c)
inline
191{ cost = c; }

◆ GetTranListSize()

int GetTranListSize ( ) const
inline
193{ return nTransInfo; }
int nTransInfo
Definition IMoFlow.h:170

◆ GetFromSnippet()

Snippet * GetFromSnippet ( ) const
inline
194{ return from; }
Snippet * from
Definition IMoFlow.h:156

◆ SetFromSnippet()

void SetFromSnippet ( Snippet * s)
inline
195{ from = s; }

◆ GetToSnippet()

Snippet * GetToSnippet ( ) const
inline
197{ return to; }
Snippet * to
Definition IMoFlow.h:157

◆ SetToSnippet()

void SetToSnippet ( Snippet * s)
inline
198{ to = s; }

◆ GetActive()

BOOL GetActive ( ) const
inline
200{ return active; }
int active
Definition IMoFlow.h:158

◆ SetActive()

void SetActive ( BOOL act)
inline
201{ active = act; }

◆ GetSelected()

BOOL GetSelected ( ) const
inline
203{ return selected; }
int selected
Definition IMoFlow.h:159

◆ SetSelected()

void SetSelected ( BOOL sel)
inline
204{ selected = sel; }

◆ GetTranInfo()

TranInfo GetTranInfo ( int TIindex) const
inline
207 { assert (TIindex < nTransInfo); return TranList[TIindex]; }
TranInfo * TranList
Definition IMoFlow.h:172
#define assert(expr)
Definition assert1.h:82

◆ SetTranInfo()

void SetTranInfo ( int TIindex,
TranInfo ti )
inline
208 {
209 assert (TIindex < nTransInfo);
210 TranList[TIindex] = ti;
211 if (index == TIindex ) InfoToTransition(index);
212 }
BIPExport void InfoToTransition(int i)
int index
Definition IMoFlow.h:169

◆ UpdateUI()

BIPExport void UpdateUI ( bool redraw = false)

Member Data Documentation

◆ from

Snippet* from

◆ to

Snippet* to

◆ active

int active

◆ selected

int selected

◆ start1

int start1

◆ start2

int start2

◆ length

int length

◆ rolling1

int rolling1

◆ rolling2

int rolling2

◆ easein

float easein

◆ easeout

float easeout

◆ angle

float angle

◆ flow_angle

float flow_angle

◆ transFocus

int transFocus

◆ prop

◆ randpct

int randpct

◆ cost

float cost

◆ index

int index

◆ nTransInfo

int nTransInfo

◆ maxTransInfo

int maxTransInfo

◆ TranList

TranInfo* TranList

◆ note

◆ hwnd

HWND hwnd