[SESI logo]

Houdini Development Toolkit - Version 6.5

Side Effects Software Inc. 2004

Channel Operator

CHOP_Node Methods

The CHOP_Node class is the base class for all channel operators. The class inherits from OP_Node which is the base class for all Houdini operators. See the sample CHOPs for uses of the class.

Special Methods of Interest

  • cookMyChop(OP_Context &context)
    This function must be supplied by all subclasses. It is supplied with a context that describes the sample data and the time that the CHOP is to be cooked. Each CHOP has a clip pointer (myClip) associated with it. All access to the clip is done through the CL_Clip class. The context passes in the time at which to cook and can be accessed through context.myTime.

  • getClip(OP_Context *context = 0)
    This function returns a pointer to the sample data (myClip).

  • inputClip(int index, OP_Context &context)
    This function returns a pointer to a clip with input at the specified index.

  • usesScope() const
    This function returns a 1 since scope is used by default for CHOPs. This may be overridden at the derived level.

  • isScoped(const UT_String &name)
    Determines if the specified name is found within the scope string on the CHOP's common parameters page.

  • destroyClip(void)
    Clears and deletes the sample data (myClip).

  • copyInput(OP_Context &context, int index, int data, int slerps)
    This function returns a pointer to a clip that is created with the specified context and index, and contains a copy of the specified data and slerps.


  • Table of Contents
    Operators | Surface Operations | Particle Operations | Composite Operators | Channel Operators
    Material & Texture | Objects | Command and Expression | Render Output |
    Mantra Shaders | Utility Classes | Geometry Library | Image Library | Clip Library
    Customizing UI | Questions & Answers

    Copyright © 2004 Side Effects Software Inc.
    477 Richmond Street West, Toronto, Ontario, Canada M5V 3E7