Voxeloop  0.1.0
Musical Loop Generation in Voxel World
Tree Class Reference

#include <Tree.hpp>

Collaboration diagram for Tree:
Collaboration graph

Public Member Functions

 Tree ()
 
TreeNodeaddNode (char key, float mvmt, TreeNode *troot)
 
void flatten (TreeNode *node)
 
TreeNodecreateNode (char key, float mvmt)
 

Public Attributes

TreeNoderoot
 

Constructor & Destructor Documentation

◆ Tree()

Tree::Tree ( )

Member Function Documentation

◆ addNode()

TreeNode * Tree::addNode ( char  key,
float  mvmt,
TreeNode troot 
)

◆ createNode()

TreeNode * Tree::createNode ( char  key,
float  mvmt 
)

◆ flatten()

void Tree::flatten ( TreeNode node)

Member Data Documentation

◆ root

TreeNode* Tree::root

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