1 #ifndef CXROUTETOTARGET_H 2 #define CXROUTETOTARGET_H 11 typedef std::vector< Eigen::Matrix4d >
M4Vector;
14 typedef boost::shared_ptr<class Branch>
BranchPtr;
31 std::vector< Eigen::Vector3d >
getBranchPositions(BranchPtr branchPtr,
int startIndex);
36 Eigen::MatrixXd mCLpoints;
37 BranchListPtr mBranchListPtr;
38 BranchPtr mProjectedBranchPtr;
41 std::vector< Eigen::Vector3d > mRoutePositions;
42 std::vector< Eigen::Vector3d > mExtendedRoutePositions;
43 std::vector<BranchPtr> mSearchBranchPtrVector;
44 std::vector<int> mSearchIndexVector;
45 std::vector<Eigen::Vector3d> smoothBranch(BranchPtr branchPtr,
int startIndex, Eigen::MatrixXd startPosition);
49 double findDistance(Eigen::MatrixXd p1, Eigen::MatrixXd p2);
53 #endif // CXROUTETOTARGET_H vtkPolyDataPtr findExtendedRoute(Vector3D targetCoordinate_r)
boost::shared_ptr< class RouteToTarget > RouteToTargetPtr
double findDistanceToLine(Eigen::MatrixXd point, Eigen::MatrixXd line)
boost::shared_ptr< class VisServices > VisServicesPtr
boost::shared_ptr< class BranchList > BranchListPtr
vtkPolyDataPtr addVTKPoints(std::vector< Eigen::Vector3d > positions)
std::vector< Eigen::Vector3d > getBranchPositions(BranchPtr branchPtr, int startIndex)
boost::shared_ptr< class Branch > BranchPtr
double findDistance(Eigen::MatrixXd p1, Eigen::MatrixXd p2)
void findClosestPointInBranches(Vector3D targetCoordinate_r)
void searchBranchUp(BranchPtr searchBranchPtr, int startIndex)
void processCenterline(vtkPolyDataPtr centerline_r)
void addRouteInformationToFile(VisServicesPtr services)
double calculateRouteLength(std::vector< Eigen::Vector3d > route)
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
vtkPolyDataPtr findRouteToTarget(Vector3D targetCoordinate_r)
std::vector< Eigen::Matrix4d > M4Vector
void findRoutePositions()
Eigen::MatrixXd getCenterlinePositions(vtkPolyDataPtr centerline_r)
Namespace for all CustusX production code.