csound::MCRM Class Reference
#include <MCRM.hpp>
Inherits csound::ScoreNode.
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)
- void generate ()
- virtual ublas::matrix< double > getLocalCoordinates () const
- virtual Score & getScore ()
- MCRM ()
- virtual void produceOrTransform (Score &score, size_t beginAt, size_t endAt, const ublas::matrix< double > &coordinates)
- void resize (size_t transformations)
- void setDepth (int depth)
- virtual void setElement (size_t row, size_t column, double value)
- void setTransformationElement (size_t index, size_t row, size_t column, double value)
- void setWeight (size_t precursor, size_t successor, double weight)
- virtual ublas::matrix< double > traverse (const ublas::matrix< double > &globalCoordinates, Score &score)
- virtual ~MCRM ()
Data Fields
Protected Attributes
Private Member Functions
Private Attributes
Constructor & Destructor Documentation
virtual csound::MCRM::~MCRM |
( |
|
) |
[virtual] |
Member Function Documentation
virtual void csound::Node::addChild |
( |
Node * |
node |
) |
[virtual, inherited] |
virtual void csound::Node::clear |
( |
|
) |
[virtual, inherited] |
virtual ublas::matrix<double> csound::Node::createTransform |
( |
|
) |
[virtual, inherited] |
virtual double& csound::Node::element |
( |
size_t |
row, |
|
|
size_t |
column | |
|
) |
| | [virtual, inherited] |
void csound::MCRM::generate |
( |
|
) |
|
virtual ublas::matrix<double> csound::Node::getLocalCoordinates |
( |
|
) |
const [virtual, inherited] |
Returns the local transformation of coordinate system.
Reimplemented in csound::Random.
virtual Score& csound::ScoreNode::getScore |
( |
|
) |
[virtual, inherited] |
void csound::MCRM::iterate |
( |
int |
depth, |
|
|
size_t |
p, |
|
|
const Event & |
event, |
|
|
double |
weight | |
|
) |
| | [private] |
virtual void csound::MCRM::produceOrTransform |
( |
Score & |
score, |
|
|
size_t |
beginAt, |
|
|
size_t |
endAt, |
|
|
const ublas::matrix< double > & |
coordinates | |
|
) |
| | [virtual] |
void csound::MCRM::resize |
( |
size_t |
transformations |
) |
|
void csound::MCRM::setDepth |
( |
int |
depth |
) |
|
virtual void csound::Node::setElement |
( |
size_t |
row, |
|
|
size_t |
column, |
|
|
double |
value | |
|
) |
| | [virtual, inherited] |
void csound::MCRM::setTransformationElement |
( |
size_t |
index, |
|
|
size_t |
row, |
|
|
size_t |
column, |
|
|
double |
value | |
|
) |
| | |
void csound::MCRM::setWeight |
( |
size_t |
precursor, |
|
|
size_t |
successor, |
|
|
double |
weight | |
|
) |
| | |
virtual ublas::matrix<double> csound::Node::traverse |
( |
const ublas::matrix< double > & |
globalCoordinates, |
|
|
Score & |
score | |
|
) |
| | [virtual, inherited] |
The default implementation postconcatenates its own local coordinate system with the global coordinates, then passes the score and the product of coordinate systems to each child, thus performing a depth-first traversal of the music graph.
Reimplemented in csound::Hocket, and csound::Sequence.
Field Documentation