[SESI logo]

Houdini Development Toolkit - Version 6.5

Side Effects Software Inc. 2004

Clip Library

CL_Track Methods

Each clip contains some number of tracks where each track is associated with one channel. Each track has a name, sample data and methods to extend outside of the track length to the left and right.

  • float *getData()
    const float *getData() const

    Returns a pointer to the array of data samples contained in the track.

  • const UT_String &getName() const
    Returns the track name.

  • void setLeft(CL_TrackOutside type)
    void setRight(CL_TrackOutside type)

    Set the left or right extend methods. These functions take a CL_TrackOutside parameter which defines how the track is evaluated outside of its defined range. The CL_TrackOutside type is defined as:

    typedef enum {
    CL_TRACK_HOLD,
    CL_TRACK_SLOPE,
    CL_TRACK_CYCLE,
    CL_TRACK_MIRROR,
    CL_TRACK_DEFAULT,
    } CL_TrackOutside;

    HOLD extends the track to the left with the value of the first sample and to the right with the value of the last sample. SLOPE extends the track with the same slope as the first or last value, CYCLE continuously repeats the track, MIRROR repeats the track alternating between forward and backward directions. DEFAULT extends the track with the default value.

  • void setDefault(float value)
    Sets the default value used when extending left or right with CL_TRACK_DEFAULT.


  • 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