NorMIT-nav  22.09
An IGT application
cx::Branch Class Reference

#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 setRadius (Eigen::VectorXd r)
 
Eigen::VectorXd getRadius ()
 
double getAverageRadius ()
 
void addChildBranch (BranchPtr child)
 
void setChildBranches (branchVector children)
 
void deleteChildBranches ()
 
branchVector getChildBranches ()
 
void setParentBranch (BranchPtr parent)
 
int findGenerationNumber ()
 
double findBranchRadius ()
 
BranchPtr getParentBranch ()
 
void calculateOrientations ()
 
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...
 
void setBronchoscopeRotation (double rotation)
 
double getBronchoscopeRotation ()
 
void removeEqualPositions ()
 
void setLap (QString lap)
 
QString getLap ()
 

Detailed Description

Definition at line 30 of file cxBranch.h.

Constructor & Destructor Documentation

◆ Branch()

cx::Branch::Branch ( )

Definition at line 16 of file cxBranch.cpp.

◆ ~Branch()

cx::Branch::~Branch ( )
virtual

Definition at line 202 of file cxBranch.cpp.

Member Function Documentation

◆ addChildBranch()

void cx::Branch::addChildBranch ( BranchPtr  child)

Definition at line 60 of file cxBranch.cpp.

◆ calculateOrientations()

void cx::Branch::calculateOrientations ( )

Definition at line 89 of file cxBranch.cpp.

◆ deleteChildBranches()

void cx::Branch::deleteChildBranches ( )

Definition at line 70 of file cxBranch.cpp.

◆ findBranchRadius()

double cx::Branch::findBranchRadius ( )

Definition at line 139 of file cxBranch.cpp.

◆ findGenerationNumber()

int cx::Branch::findGenerationNumber ( )

Definition at line 120 of file cxBranch.cpp.

◆ findParentIndex()

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.

Parameters
bvA vector of branches
Returns
The index the parent branch has in the input vector. Or -1 if the parent branch is not found in the vector.

Definition at line 109 of file cxBranch.cpp.

◆ getAverageRadius()

double cx::Branch::getAverageRadius ( )

Definition at line 55 of file cxBranch.cpp.

◆ getBronchoscopeRotation()

double cx::Branch::getBronchoscopeRotation ( )

Definition at line 162 of file cxBranch.cpp.

◆ getChildBranches()

branchVector cx::Branch::getChildBranches ( )

Definition at line 75 of file cxBranch.cpp.

◆ getLap()

QString cx::Branch::getLap ( )

Definition at line 196 of file cxBranch.cpp.

◆ getOrientations()

Eigen::MatrixXd cx::Branch::getOrientations ( )

Definition at line 40 of file cxBranch.cpp.

◆ getParentBranch()

BranchPtr cx::Branch::getParentBranch ( )

Definition at line 84 of file cxBranch.cpp.

◆ getPositions()

Eigen::MatrixXd cx::Branch::getPositions ( )

Definition at line 30 of file cxBranch.cpp.

◆ getRadius()

Eigen::VectorXd cx::Branch::getRadius ( )

Definition at line 50 of file cxBranch.cpp.

◆ removeEqualPositions()

void cx::Branch::removeEqualPositions ( )

Definition at line 167 of file cxBranch.cpp.

◆ setBronchoscopeRotation()

void cx::Branch::setBronchoscopeRotation ( double  rotation)

Definition at line 157 of file cxBranch.cpp.

◆ setChildBranches()

void cx::Branch::setChildBranches ( branchVector  children)

Definition at line 65 of file cxBranch.cpp.

◆ setLap()

void cx::Branch::setLap ( QString  lap)

Definition at line 191 of file cxBranch.cpp.

◆ setOrientations()

void cx::Branch::setOrientations ( Eigen::MatrixXd  orient)

Definition at line 35 of file cxBranch.cpp.

◆ setParentBranch()

void cx::Branch::setParentBranch ( BranchPtr  parent)

Definition at line 80 of file cxBranch.cpp.

◆ setPositions()

void cx::Branch::setPositions ( Eigen::MatrixXd  pos)

Definition at line 23 of file cxBranch.cpp.

◆ setRadius()

void cx::Branch::setRadius ( Eigen::VectorXd  r)

Definition at line 45 of file cxBranch.cpp.


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