#include <Envelope.h>
Public Member Functions | |
ScaleAndOffsetEnvelope (const Envelope &e, double scale, double offset) | |
ScaleAndOffsetEnvelope (const ScaleAndOffsetEnvelope &rhs) | |
Construct a copy of an envelope. | |
ScaleAndOffsetEnvelope & | operator= (const ScaleAndOffsetEnvelope &rhs) |
Assignment from another envelope. | |
ScaleAndOffsetEnvelope * | clone (void) const |
virtual double | valueAt (double x) const |
Return the value of this Envelope at the specified time. |
ScaleAndOffsetEnvelope is an derived Envelope class for objects representing envelopes having a scale and offset applied (in that order).
Loris::ScaleAndOffsetEnvelope::ScaleAndOffsetEnvelope | ( | const Envelope & | e, | |
double | scale, | |||
double | offset | |||
) | [inline] |
Construct a new envelope that is a scaled and offset version of another.
ScaleAndOffsetEnvelope* Loris::ScaleAndOffsetEnvelope::clone | ( | void | ) | const [inline, virtual] |
Return an exact copy of this Envelope (following the Prototype pattern).
Implements Loris::Envelope.