Logo Search packages:      
Sourcecode: csound version File versions  Download package

csound::Rescale Class Reference

#include <Rescale.hpp>

Inheritance diagram for csound::Rescale:

csound::ScoreNode csound::Node

List of all members.

Detailed Description

Rescales all child events to fit a bounding hypercube in music space. No, some, or all dimensions may be rescaled to fit the minimum alone, the range alone, or both the minimum and the range.

Definition at line 41 of file Rescale.hpp.

Public Member Functions

virtual void addChild (Node *node)
virtual void clear ()
virtual ublas::matrix< double > createTransform ()
virtual double & element (size_t row, size_t column)
virtual ublas::matrix< double > getLocalCoordinates () const
virtual void getRescale (int dimension, bool &rescaleMinimum, bool &rescaleRange, double &targetMinimum, double &targetRange)
virtual ScoregetScore ()
virtual void initialize ()
virtual void produceOrTransform (Score &score, size_t beginAt, size_t endAt, const ublas::matrix< double > &coordinates)
virtual void setElement (size_t row, size_t column, double value)
virtual void setRescale (int dimension, bool rescaleMinimum, bool rescaleRange, double targetMinimum, double targetRange)
virtual ublas::matrix< double > traverse (const ublas::matrix< double > &globalCoordinates, Score &score)

Public Attributes

std::vector< Node * > children
std::string importFilename

Protected Attributes

ublas::matrix< double > localCoordinates
Score score

Static Private Attributes

static std::map< std::string,
size_t > 
static bool initialized = false

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index