![]() |
Fraxinus
17.12-rc2
An IGT application
|
#include <cxBranch.h>
Public Member Functions | |
Branch () | |
virtual | ~Branch () |
void | setPositions (Eigen::MatrixXd pos) |
Eigen::MatrixXd | getPositions () |
void | setOrientations (Eigen::MatrixXd orient) |
Eigen::MatrixXd | getOrientations () |
void | addChildBranch (BranchPtr child) |
void | setChildBranches (branchVector children) |
void | deleteChildBranches () |
branchVector | getChildBranches () |
void | setParentBranch (BranchPtr parent) |
int | findGenerationNumber () |
double | findBranchRadius () |
BranchPtr | getParentBranch () |
int | findParentIndex (branchVector bv) const |
Branch::findParentIndex Given a vector of branches, find this branch's parent branch in that vector. Return the index in the vector of the parent branch. More... | |
Definition at line 51 of file cxBranch.h.
cx::Branch::Branch | ( | ) |
Definition at line 37 of file cxBranch.cpp.
|
virtual |
Definition at line 147 of file cxBranch.cpp.
void cx::Branch::addChildBranch | ( | BranchPtr | child | ) |
Definition at line 64 of file cxBranch.cpp.
void cx::Branch::deleteChildBranches | ( | ) |
Definition at line 74 of file cxBranch.cpp.
double cx::Branch::findBranchRadius | ( | ) |
Definition at line 128 of file cxBranch.cpp.
int cx::Branch::findGenerationNumber | ( | ) |
Definition at line 114 of file cxBranch.cpp.
int cx::Branch::findParentIndex | ( | branchVector | bv | ) | const |
Branch::findParentIndex Given a vector of branches, find this branch's parent branch in that vector. Return the index in the vector of the parent branch.
bv | A vector of branches |
Definition at line 103 of file cxBranch.cpp.
branchVector cx::Branch::getChildBranches | ( | ) |
Definition at line 79 of file cxBranch.cpp.
Eigen::MatrixXd cx::Branch::getOrientations | ( | ) |
Definition at line 59 of file cxBranch.cpp.
BranchPtr cx::Branch::getParentBranch | ( | ) |
Definition at line 88 of file cxBranch.cpp.
Eigen::MatrixXd cx::Branch::getPositions | ( | ) |
Definition at line 49 of file cxBranch.cpp.
void cx::Branch::setChildBranches | ( | branchVector | children | ) |
Definition at line 69 of file cxBranch.cpp.
void cx::Branch::setOrientations | ( | Eigen::MatrixXd | orient | ) |
Definition at line 54 of file cxBranch.cpp.
void cx::Branch::setParentBranch | ( | BranchPtr | parent | ) |
Definition at line 84 of file cxBranch.cpp.
void cx::Branch::setPositions | ( | Eigen::MatrixXd | pos | ) |
Definition at line 44 of file cxBranch.cpp.