Public Types | Public Member Functions | Protected Attributes

IPFTest Class Reference

Search for all occurrences

#include <IPFTest.h>

Inheritance diagram for IPFTest:
Inheritance graph
[legend]

List of all members.

Public Types

enum   {
  kProceedStep1, kProceedStep2, kGetNextActionList, kSetNextActionList,
  kSetLinkActive, kClearNextActionList
}

Public Member Functions

BEGIN_FUNCTION_MAP  VFN_5 (kProceedStep1, ProceedStep1, TYPE_IOBJECT, TYPE_OBJECT, TYPE_INODE, TYPE_INODE, TYPE_INTERFACE)
  FN_6 (kProceedStep2, TYPE_bool, ProceedStep2, TYPE_TIMEVALUE, TYPE_FLOAT, TYPE_TIMEVALUE_BR, TYPE_FLOAT_BR, TYPE_BITARRAY_BR, TYPE_FLOAT_TAB_BR)
  FN_2 (kGetNextActionList, TYPE_INODE, GetNextActionList, TYPE_INODE, TYPE_bool_BP)
  FN_2 (kSetNextActionList, TYPE_bool, SetNextActionListMXS, TYPE_INODE, TYPE_INODE)
  FN_2 (kSetLinkActive, TYPE_bool, SetLinkActive, TYPE_bool, TYPE_INODE)
  FN_1 (kClearNextActionList, TYPE_bool, ClearNextActionList, TYPE_INODE)
PFExport  IPFTest ()
virtual bool  Proceed (IObject *pCont, PreciseTimeValue timeStart, PreciseTimeValue &timeEnd, Object *pSystem, INode *pNode, INode *actionNode, IPFIntegrator *integrator, BitArray &testResult, Tab< float > &testTime)=0
  Returns true if the test has been proceeded successfully.
virtual void  ProceedStep1 (IObject *pCont, Object *pSystem, INode *pNode, INode *actionNode, FPInterface *integrator)=0
  FnPub alternative to virtual bool Proceed() above.
virtual bool  ProceedStep2 (TimeValue timeStartTick, float timeStartFraction, TimeValue &timeEndTick, float &timeEndFraction, BitArray &testResult, Tab< float > &testTime)=0
  FnPub alternative to virtual bool Proceed() above.
PFExport INode GetNextActionList (INode *test, bool *linkActive=NULL)
  Gets INode of the next ActionList.
PFExport bool  SetNextActionList (INode *nextAL, INode *test)
  Modifies the next ActionList for the test.
PFExport bool  SetNextActionListMXS (INode *nextAL, INode *test)
  FnPub alternative for the method above; used by maxscript to set the next action list.
PFExport bool  SetLinkActive (bool active, INode *test)
  Modifies activity status for the link to the next ActionList.
PFExport bool  ClearNextActionList (INode *test)
  Deletes the wire going to the nextActionList for the test.
FPInterfaceDesc GetDesc ()
void  updateNextActionListValue (INode *nextAL)
  for internal use only
void  updateArrowValue (Object *arrow)
  for internal use only
void  updateLinkActiveValue (bool linkActive)
  for internal use only

Protected Attributes

INode m_nextActionList
Object m_arrow
bool  m_linkActive

Member Enumeration Documentation

anonymous enum

Member Function Documentation

BEGIN_FUNCTION_MAP VFN_5 ( kProceedStep1  ,
ProceedStep1  ,
TYPE_IOBJECT  ,
TYPE_OBJECT  ,
TYPE_INODE  ,
TYPE_INODE  ,
TYPE_INTERFACE   
)
FN_6 ( kProceedStep2  ,
TYPE_bool  ,
ProceedStep2  ,
TYPE_TIMEVALUE  ,
TYPE_FLOAT  ,
TYPE_TIMEVALUE_BR  ,
TYPE_FLOAT_BR  ,
TYPE_BITARRAY_BR  ,
TYPE_FLOAT_TAB_BR   
)
FN_2 ( kGetNextActionList  ,
TYPE_INODE  ,
GetNextActionList  ,
TYPE_INODE  ,
TYPE_bool_BP   
)
FN_2 ( kSetNextActionList  ,
TYPE_bool  ,
SetNextActionListMXS  ,
TYPE_INODE  ,
TYPE_INODE   
)
FN_2 ( kSetLinkActive  ,
TYPE_bool  ,
SetLinkActive  ,
TYPE_bool  ,
TYPE_INODE   
)
FN_1 ( kClearNextActionList  ,
TYPE_bool  ,
ClearNextActionList  ,
TYPE_INODE   
)

IPFTest IPFTest IPFTest IPFTest IPFTest IPFTest IPFTest IPFTest IPFTest IPFTest
IPFTest IPFTest IPFTest IPFTest IPFTest IPFTest IPFTest IPFTest IPFTest IPFTest