csound::Hocket Class Reference

#include <Hocket.hpp>

Inherits csound::ScoreNode.

Public Member Functions

Data Fields

Protected Attributes


Detailed Description

Simplifies constructing complex hocketted scores.


Constructor & Destructor Documentation

csound::Hocket::Hocket (  ) 
virtual csound::Hocket::~Hocket (  )  [virtual]

Member Function Documentation

virtual void csound::Node::addChild ( Node node  )  [virtual, inherited]
virtual void csound::Node::clear (  )  [virtual, inherited]

Reimplemented in csound::Lindenmayer, and csound::MusicModel.

virtual ublas::matrix<double> csound::Node::createTransform (  )  [virtual, inherited]
virtual double& csound::Node::element ( size_t  row,
size_t  column 
) [virtual, inherited]
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]
virtual void csound::Hocket::produceOrTransform ( Score score,
size_t  beginAt,
size_t  endAt,
const ublas::matrix< double > &  coordinates 
) [virtual]

The default implementation does nothing.

Reimplemented from csound::ScoreNode.

virtual void csound::Node::setElement ( size_t  row,
size_t  column,
double  value 
) [virtual, inherited]
virtual ublas::matrix<double> csound::Hocket::traverse ( const ublas::matrix< double > &  globalCoordinates,
Score score 
) [virtual]

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 from csound::Node.


Field Documentation

std::vector<Node *> csound::Node::children [inherited]

Child Nodes, if any.

std::string csound::ScoreNode::importFilename [inherited]
ublas::matrix<double> csound::Node::localCoordinates [protected, inherited]
Score csound::ScoreNode::score [protected, inherited]

Generated by  doxygen 1.6.2