#include <iiksys.h>
Class Description
- See also:
- : Class IKCmdOps, Class IIKChainControl
class IKChainActions : public
FPStaticInterface
- Description:
- This class is only available in release 5 or later. The
program interface to actions on IK chain nodes, which IKCmdOps::CreateIKChain()
returns. An macro is defined to obtain a pointer to the
interface:
IKChainActions* ikchainAction =
GET_IKCHAIN_FP_INTERFACE;
It should be a valid pointer provided the IK system is successfully
loaded.
The methods are mainly designed to connect to the UI and script.
However, they can be called programmatically as well. The action
methods, those that return FPStatus, assume that a unique IK
chain node is currently selected and apply action to it. Before an
action method is called, IsSnapEnabled()
must be called to test whether a unique IK chain node is being
selected. Such as:
if (ikchainAction->IsSnapEnabled())
ikchainAction->SetPreferredAngles();
Member Function Documentation
virtual FPStatus
SnapAction |
( |
|
) |
[pure virtual] |
virtual FPStatus
IKSnapAction |
( |
|
) |
[pure virtual] |
virtual FPStatus
FKSnapAction |
( |
|
) |
[pure virtual] |
virtual BOOL IsSnapEnabled |
( |
|
) |
[pure virtual] |
virtual FPStatus
ToggleEnabled |
( |
|
) |
[pure virtual] |
virtual FPStatus
SetPreferredAngles |
( |
|
) |
[pure virtual] |
virtual FPStatus
AssumePreferredAngles |
( |
|
) |
[pure virtual] |