#include <CHOP_Stair.h>

Public Member Functions | |
| OP_ERROR | cookMyChop (OP_Context &context) |
| Overridden to generate our channel data. | |
| void | cookMyHandles (OP_Context &context) |
| Places the handles along the channels. | |
| virtual unsigned | disableParms () |
| virtual float | handleChanged (CHOP_Handle *handle, CHOP_HandleData *hdata) |
| Responds to user changes in any handle. | |
| virtual float | shiftStart (float new_offset, float t) |
Static Public Member Functions | |
| static OP_Node * | myConstructor (OP_Network *, const char *, OP_Operator *) |
Static Public Attributes | |
| static OP_TemplatePair | myTemplatePair |
| static OP_VariablePair | myVariablePair |
| static PRM_Template | myTemplateList [] |
| static CH_LocalVariable | myVariableList [] |
Protected Member Functions | |
| CHOP_Stair (OP_Network *net, const char *name, OP_Operator *op) | |
| virtual | ~CHOP_Stair () |
| virtual int | usesUnits () |
| Returns true because we use the Units parameter. | |
| virtual int | usesScope () const |
| Returns true because we want to use the Scope parameter. | |
| virtual float | getVariableValue (int index, int thread) |
| Stair has some local variables defined, this returns their value. | |
Definition at line 48 of file CHOP_Stair.h.
| CHOP_Stair::CHOP_Stair | ( | OP_Network * | net, | |
| const char * | name, | |||
| OP_Operator * | op | |||
| ) | [protected] |
| CHOP_Stair::~CHOP_Stair | ( | ) | [protected, virtual] |
| OP_ERROR CHOP_Stair::cookMyChop | ( | OP_Context & | context | ) | [virtual] |
Overridden to generate our channel data.
Implements CHOP_Node.
Definition at line 289 of file CHOP_Stair.C.
| void CHOP_Stair::cookMyHandles | ( | OP_Context & | context | ) | [virtual] |
Places the handles along the channels.
Reimplemented from CHOP_Node.
Definition at line 196 of file CHOP_Stair.C.
| unsigned CHOP_Stair::disableParms | ( | void | ) | [virtual] |
Reimplemented from CHOP_Node.
Definition at line 161 of file CHOP_Stair.C.
| float CHOP_Stair::getVariableValue | ( | int | index, | |
| int | thread | |||
| ) | [protected, virtual] |
Stair has some local variables defined, this returns their value.
Reimplemented from OP_Parameters.
Definition at line 122 of file CHOP_Stair.C.
| float CHOP_Stair::handleChanged | ( | CHOP_Handle * | handle, | |
| CHOP_HandleData * | hdata | |||
| ) | [virtual] |
Responds to user changes in any handle.
Reimplemented from CHOP_Node.
Definition at line 241 of file CHOP_Stair.C.
| OP_Node * CHOP_Stair::myConstructor | ( | OP_Network * | net, | |
| const char * | name, | |||
| OP_Operator * | op | |||
| ) | [static] |
| float CHOP_Stair::shiftStart | ( | float | new_offset, | |
| float | t | |||
| ) | [virtual] |
Reimplemented from CHOP_Node.
Definition at line 282 of file CHOP_Stair.C.
| virtual int HDK_Sample::CHOP_Stair::usesScope | ( | ) | const [inline, protected, virtual] |
Returns true because we want to use the Scope parameter.
Reimplemented from CHOP_Node.
Definition at line 84 of file CHOP_Stair.h.
| virtual int HDK_Sample::CHOP_Stair::usesUnits | ( | ) | [inline, protected, virtual] |
Returns true because we use the Units parameter.
Reimplemented from CHOP_Node.
Definition at line 81 of file CHOP_Stair.h.
PRM_Template CHOP_Stair::myTemplateList [static] |
Initial value:
{
PRM_Template(PRM_SWITCHER, 3, &PRMswitcherName, switcher),
PRM_Template(PRM_INT_J, 1, &names[0], PRMoneDefaults, 0, &stairRange),
PRM_Template(PRM_FLT_J, 1, &names[1], PRMoneDefaults, 0,
&CHOP_DefaultValueRange),
PRM_Template(PRM_FLT_J, 1, &names[2], PRMzeroDefaults, 0,
&CHOP_DefaultValueRange),
PRM_Template(PRM_ORD, 1, &names[3], PRMzeroDefaults, &stairMenu),
PRM_Template(PRM_STRING, 1, &names[4], &nameDefault,0),
PRM_Template(PRM_FLT_J, 1, &names[5], &CHOP_StartDefault,0,
&CHOP_FrameRange),
PRM_Template(PRM_FLT_J, 1, &names[6], &CHOP_EndDefault, 0,
&CHOP_FrameRange),
PRM_Template(PRM_FLT_J, 1, &CHOP_SampleRateName,
&CHOP_SampleRateDefault,0,&CHOP_SampleRateRange),
PRM_Template(PRM_ORD, 1, &CHOP_ExtendLeftName,0, &CHOP_ExtendMenu),
PRM_Template(PRM_ORD, 1, &CHOP_ExtendRightName,0,&CHOP_ExtendMenu),
PRM_Template(PRM_FLT_J, 1, &CHOP_DefaultValueName, PRMzeroDefaults,0,
&CHOP_DefaultValueRange),
PRM_Template(),
}
Reimplemented from CHOP_Node.
Definition at line 57 of file CHOP_Stair.h.
Reimplemented from CHOP_Node.
Definition at line 55 of file CHOP_Stair.h.
Initial value:
Reimplemented from CHOP_Node.
Definition at line 58 of file CHOP_Stair.h.
Reimplemented from CHOP_Node.
Definition at line 56 of file CHOP_Stair.h.
1.5.9