using namespace HDK_Sample;
void
{
"hdk_timecompare",
"Time Compare",
2,
2,
0));
}
PRM_Name(
"attrib",
"Comparison Point Attribute"),
PRM_Name(
"resultattrib",
"Result Attribute"),
PRM_Name(
"frame",
"Second Input Frame"),
};
};
{
}
{
mySopFlags.setManagesDataIDs(true);
}
SOP_TimeCompare::~SOP_TimeCompare() {}
{
context,
myGroup,
alone,
true,
0,
-1,
true,
false,
true,
0
);
}
{
fpreal secondinput_t = FRAME(t);
secondinput_context.
setTime(secondinput_t);
ATTRIB(attribname, t);
RESULTATTRIB(resultname, t);
if (!ah || !bh)
{
}
if (!math)
{
if (!math)
{
: (const char *)resultname);
}
}
{
continue;
math->sub(*dsth, ptoff, *ah, aptoff, *bh, bptoff);
}
}