コード例 #1
0
XSIPLUGINCALLBACK XSI::CStatus CppAxisInterpOp_Update
(
	UpdateContext&	ctx,
	OutputPort&	output
)
{
	CValue::siPtrType pUserData = ctx.GetUserData();
	CAxisInterpOp* pThis = (CAxisInterpOp*)pUserData;	

	return pThis->Update(ctx,output);
}
コード例 #2
0
XSIPLUGINCALLBACK XSI::CStatus CppAxisInterpOp_Term
(
	UpdateContext&	ctx,
	long 		mode
)
{
	CValue::siPtrType pUserData = ctx.GetUserData();
	CAxisInterpOp* pThis = (CAxisInterpOp*)pUserData;

	CStatus st = pThis->Term(ctx,mode);
	delete pThis;

	return st;
}