NorMIT-nav  22.09
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)
 
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 ()
 
std::vector< double > getCameraRotation ()
 
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 19 of file cxRouteToTarget.h.

Constructor & Destructor Documentation

◆ RouteToTarget()

cx::RouteToTarget::RouteToTarget ( )

Definition at line 30 of file cxRouteToTarget.cpp.

◆ ~RouteToTarget()

cx::RouteToTarget::~RouteToTarget ( )
virtual

Definition at line 39 of file cxRouteToTarget.cpp.

Member Function Documentation

◆ addRouteInformationToFile()

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

Definition at line 460 of file cxRouteToTarget.cpp.

◆ addVTKPoints()

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

Definition at line 437 of file cxRouteToTarget.cpp.

◆ calculateBloodVesselRadius()

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

Definition at line 556 of file cxRouteToTarget.cpp.

◆ calculateRouteLength()

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

Definition at line 521 of file cxRouteToTarget.cpp.

◆ findClosestPointInBloodVesselBranches()

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

Definition at line 164 of file cxRouteToTarget.cpp.

◆ findClosestPointInBranches()

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

Definition at line 139 of file cxRouteToTarget.cpp.

◆ findDistanceToSegmentationEdge()

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

Definition at line 594 of file cxRouteToTarget.cpp.

◆ findExtendedRoute()

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

Definition at line 273 of file cxRouteToTarget.cpp.

◆ findRoutePositions()

void cx::RouteToTarget::findRoutePositions ( )

Definition at line 190 of file cxRouteToTarget.cpp.

◆ findRoutePositionsInBloodVessels()

void cx::RouteToTarget::findRoutePositionsInBloodVessels ( )

Definition at line 197 of file cxRouteToTarget.cpp.

◆ findRouteToTarget()

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

Definition at line 260 of file cxRouteToTarget.cpp.

◆ findRouteToTargetAlongBloodVesselCenterlines()

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

Definition at line 300 of file cxRouteToTarget.cpp.

◆ generateAirwaysFromBloodVesselCenterlines()

vtkPolyDataPtr cx::RouteToTarget::generateAirwaysFromBloodVesselCenterlines ( )

Definition at line 326 of file cxRouteToTarget.cpp.

◆ getCameraRotation()

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

Definition at line 624 of file cxRouteToTarget.cpp.

◆ getCenterlinePositions()

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

Definition at line 48 of file cxRouteToTarget.cpp.

◆ getConnectedAirwayAndBloodVesselRoute()

vtkPolyDataPtr cx::RouteToTarget::getConnectedAirwayAndBloodVesselRoute ( )

Definition at line 415 of file cxRouteToTarget.cpp.

◆ getRoutePositions() [1/2]

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

Definition at line 617 of file cxRouteToTarget.cpp.

◆ getRoutePositions() [2/2]

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

Definition at line 502 of file cxRouteToTarget.cpp.

◆ getTracheaLength()

double cx::RouteToTarget::getTracheaLength ( )

Definition at line 494 of file cxRouteToTarget.cpp.

◆ makeConnectedAirwayAndBloodVesselRoute()

bool cx::RouteToTarget::makeConnectedAirwayAndBloodVesselRoute ( )

Definition at line 342 of file cxRouteToTarget.cpp.

◆ makeMarianaCenterlineFile()

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

Definition at line 631 of file cxRouteToTarget.cpp.

◆ makeMarianaCenterlineJSON()

QJsonArray cx::RouteToTarget::makeMarianaCenterlineJSON ( )

Definition at line 666 of file cxRouteToTarget.cpp.

◆ processBloodVesselCenterline()

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

Definition at line 93 of file cxRouteToTarget.cpp.

◆ processCenterline()

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

Definition at line 69 of file cxRouteToTarget.cpp.

◆ searchBloodVesselBranchUp()

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

Definition at line 236 of file cxRouteToTarget.cpp.

◆ searchBranchUp()

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

Definition at line 210 of file cxRouteToTarget.cpp.

◆ setBloodVesselRadius()

void cx::RouteToTarget::setBloodVesselRadius ( )

Definition at line 536 of file cxRouteToTarget.cpp.

◆ setBloodVesselVolume()

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

Definition at line 43 of file cxRouteToTarget.cpp.

◆ setBranchList()

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

Definition at line 88 of file cxRouteToTarget.cpp.

◆ setSmoothing()

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: