CustusX  22.04-rc5
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

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 460 of file cxRouteToTarget.cpp.

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

Definition at line 437 of file cxRouteToTarget.cpp.

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

Definition at line 556 of file cxRouteToTarget.cpp.

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

Definition at line 521 of file cxRouteToTarget.cpp.

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

Definition at line 164 of file cxRouteToTarget.cpp.

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

Definition at line 139 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 594 of file cxRouteToTarget.cpp.

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

Definition at line 273 of file cxRouteToTarget.cpp.

void cx::RouteToTarget::findRoutePositions ( )

Definition at line 190 of file cxRouteToTarget.cpp.

void cx::RouteToTarget::findRoutePositionsInBloodVessels ( )

Definition at line 197 of file cxRouteToTarget.cpp.

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

Definition at line 260 of file cxRouteToTarget.cpp.

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

Definition at line 300 of file cxRouteToTarget.cpp.

vtkPolyDataPtr cx::RouteToTarget::generateAirwaysFromBloodVesselCenterlines ( )

Definition at line 326 of file cxRouteToTarget.cpp.

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

Definition at line 624 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 415 of file cxRouteToTarget.cpp.

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

Definition at line 617 of file cxRouteToTarget.cpp.

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

Definition at line 502 of file cxRouteToTarget.cpp.

double cx::RouteToTarget::getTracheaLength ( )

Definition at line 494 of file cxRouteToTarget.cpp.

bool cx::RouteToTarget::makeConnectedAirwayAndBloodVesselRoute ( )

Definition at line 342 of file cxRouteToTarget.cpp.

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

Definition at line 631 of file cxRouteToTarget.cpp.

QJsonArray cx::RouteToTarget::makeMarianaCenterlineJSON ( )

Definition at line 666 of file cxRouteToTarget.cpp.

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

Definition at line 93 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 236 of file cxRouteToTarget.cpp.

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

Definition at line 210 of file cxRouteToTarget.cpp.

void cx::RouteToTarget::setBloodVesselRadius ( )

Definition at line 536 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: