Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cx::RouteToTarget Class Reference

#include <cxRouteToTarget.h>

Public Member Functions

 RouteToTarget ()
 
virtual ~RouteToTarget ()
 
void setBloodVesselVolume (ImagePtr bloodVesselVolume)
 
Eigen::MatrixXd getCenterlinePositions (vtkPolyDataPtr centerline_r)
 
void setSmoothing (bool smoothing)
 
void processCenterline (MeshPtr mesh)
 
void setBranchList (BranchListPtr branchList)
 
BranchListPtr getBranchList ()
 
void processBloodVesselCenterline (Eigen::MatrixXd positions)
 
void findClosestPointInBranches (Vector3D targetCoordinate_r)
 
void findClosestPointInBloodVesselBranches (Vector3D targetCoordinate_r)
 
void findRoutePositions ()
 
void findRoutePositionsInBloodVessels ()
 
void searchBranchUp (BranchPtr searchBranchPtr, int startIndex)
 
void searchBloodVesselBranchUp (BranchPtr searchBranchPtr, int startIndex)
 
vtkPolyDataPtr findRouteToTarget (PointMetricPtr targetPoint)
 
vtkPolyDataPtr findExtendedRoute (PointMetricPtr targetPoint)
 
vtkPolyDataPtr findRouteToTargetAlongBloodVesselCenterlines (MeshPtr bloodVesselCenterlineMesh, PointMetricPtr targetPoint)
 
vtkPolyDataPtr generateAirwaysFromBloodVesselCenterlines ()
 
bool makeConnectedAirwayAndBloodVesselRoute ()
 
vtkPolyDataPtr getConnectedAirwayAndBloodVesselRoute ()
 
vtkPolyDataPtr addVTKPoints (std::vector< Eigen::Vector3d > positions)
 
void addRouteInformationToFile (VisServicesPtr services)
 
void setBloodVesselRadius ()
 
double calculateBloodVesselRadius (Eigen::Vector3d position, Eigen::Vector3d orientation)
 
double findDistanceToSegmentationEdge (vtkImageDataPtr bloodVesselImage, Eigen::Vector3i indexVector, Eigen::Vector3d perpendicularVector, int *dim, double *spacing, int direction)
 
void makeMarianaCenterlineFile (QString filename)
 
QJsonArray makeMarianaCenterlineJSON ()
 
std::vector< Eigen::Vector3d > getRoutePositions (bool extendedRoute=true)
 
std::vector< BranchPtrgetRouteBranches ()
 
std::vector< double > getCameraRotation ()
 
std::vector< int > getBranchingIndex ()
 
double getTracheaLength ()
 

Static Public Member Functions

static double calculateRouteLength (std::vector< Eigen::Vector3d > route)
 
static std::vector< Eigen::Vector3d > getRoutePositions (MeshPtr route)
 

Detailed Description

Definition at line 17 of file cxRouteToTarget.h.

Constructor & Destructor Documentation

cx::RouteToTarget::RouteToTarget ( )

Definition at line 30 of file cxRouteToTarget.cpp.

cx::RouteToTarget::~RouteToTarget ( )
virtual

Definition at line 39 of file cxRouteToTarget.cpp.

Member Function Documentation

void cx::RouteToTarget::addRouteInformationToFile ( VisServicesPtr  services)

Definition at line 466 of file cxRouteToTarget.cpp.

vtkPolyDataPtr cx::RouteToTarget::addVTKPoints ( std::vector< Eigen::Vector3d >  positions)

Definition at line 443 of file cxRouteToTarget.cpp.

double cx::RouteToTarget::calculateBloodVesselRadius ( Eigen::Vector3d  position,
Eigen::Vector3d  orientation 
)

Definition at line 562 of file cxRouteToTarget.cpp.

double cx::RouteToTarget::calculateRouteLength ( std::vector< Eigen::Vector3d >  route)
static

Definition at line 527 of file cxRouteToTarget.cpp.

void cx::RouteToTarget::findClosestPointInBloodVesselBranches ( Vector3D  targetCoordinate_r)

Definition at line 169 of file cxRouteToTarget.cpp.

void cx::RouteToTarget::findClosestPointInBranches ( Vector3D  targetCoordinate_r)

Definition at line 144 of file cxRouteToTarget.cpp.

double cx::RouteToTarget::findDistanceToSegmentationEdge ( vtkImageDataPtr  bloodVesselImage,
Eigen::Vector3i  indexVector,
Eigen::Vector3d  perpendicularVector,
int *  dim,
double *  spacing,
int  direction 
)

Definition at line 600 of file cxRouteToTarget.cpp.

vtkPolyDataPtr cx::RouteToTarget::findExtendedRoute ( PointMetricPtr  targetPoint)

Definition at line 279 of file cxRouteToTarget.cpp.

void cx::RouteToTarget::findRoutePositions ( )

Definition at line 195 of file cxRouteToTarget.cpp.

void cx::RouteToTarget::findRoutePositionsInBloodVessels ( )

Definition at line 202 of file cxRouteToTarget.cpp.

vtkPolyDataPtr cx::RouteToTarget::findRouteToTarget ( PointMetricPtr  targetPoint)

Definition at line 266 of file cxRouteToTarget.cpp.

vtkPolyDataPtr cx::RouteToTarget::findRouteToTargetAlongBloodVesselCenterlines ( MeshPtr  bloodVesselCenterlineMesh,
PointMetricPtr  targetPoint 
)

Definition at line 306 of file cxRouteToTarget.cpp.

vtkPolyDataPtr cx::RouteToTarget::generateAirwaysFromBloodVesselCenterlines ( )

Definition at line 332 of file cxRouteToTarget.cpp.

std::vector< int > cx::RouteToTarget::getBranchingIndex ( )

Definition at line 650 of file cxRouteToTarget.cpp.

BranchListPtr cx::RouteToTarget::getBranchList ( )

Definition at line 93 of file cxRouteToTarget.cpp.

std::vector< double > cx::RouteToTarget::getCameraRotation ( )

Definition at line 643 of file cxRouteToTarget.cpp.

Eigen::MatrixXd cx::RouteToTarget::getCenterlinePositions ( vtkPolyDataPtr  centerline_r)

Definition at line 48 of file cxRouteToTarget.cpp.

vtkPolyDataPtr cx::RouteToTarget::getConnectedAirwayAndBloodVesselRoute ( )

Definition at line 421 of file cxRouteToTarget.cpp.

std::vector< BranchPtr > cx::RouteToTarget::getRouteBranches ( )

Definition at line 636 of file cxRouteToTarget.cpp.

std::vector< Eigen::Vector3d > cx::RouteToTarget::getRoutePositions ( bool  extendedRoute = true)

Definition at line 623 of file cxRouteToTarget.cpp.

std::vector< Eigen::Vector3d > cx::RouteToTarget::getRoutePositions ( MeshPtr  route)
static

Definition at line 508 of file cxRouteToTarget.cpp.

double cx::RouteToTarget::getTracheaLength ( )

Definition at line 500 of file cxRouteToTarget.cpp.

bool cx::RouteToTarget::makeConnectedAirwayAndBloodVesselRoute ( )

Definition at line 348 of file cxRouteToTarget.cpp.

void cx::RouteToTarget::makeMarianaCenterlineFile ( QString  filename)

Definition at line 655 of file cxRouteToTarget.cpp.

QJsonArray cx::RouteToTarget::makeMarianaCenterlineJSON ( )

Definition at line 690 of file cxRouteToTarget.cpp.

void cx::RouteToTarget::processBloodVesselCenterline ( Eigen::MatrixXd  positions)

Definition at line 98 of file cxRouteToTarget.cpp.

void cx::RouteToTarget::processCenterline ( MeshPtr  mesh)

Definition at line 69 of file cxRouteToTarget.cpp.

void cx::RouteToTarget::searchBloodVesselBranchUp ( BranchPtr  searchBranchPtr,
int  startIndex 
)

Definition at line 242 of file cxRouteToTarget.cpp.

void cx::RouteToTarget::searchBranchUp ( BranchPtr  searchBranchPtr,
int  startIndex 
)

Definition at line 215 of file cxRouteToTarget.cpp.

void cx::RouteToTarget::setBloodVesselRadius ( )

Definition at line 542 of file cxRouteToTarget.cpp.

void cx::RouteToTarget::setBloodVesselVolume ( ImagePtr  bloodVesselVolume)

Definition at line 43 of file cxRouteToTarget.cpp.

void cx::RouteToTarget::setBranchList ( BranchListPtr  branchList)

Definition at line 88 of file cxRouteToTarget.cpp.

void cx::RouteToTarget::setSmoothing ( bool  smoothing)

Definition at line 64 of file cxRouteToTarget.cpp.


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