12 #ifndef CXAIRWAYSFROMCENTERLINE_H 13 #define CXAIRWAYSFROMCENTERLINE_H 17 #include <QDomElement> 18 #include "org_custusx_filter_airwaysfromcenterline_Export.h" 23 typedef std::vector< Eigen::Matrix4d >
M4Vector;
31 void setTypeToBloodVessel(
bool bloodVessel);
32 Eigen::MatrixXd getCenterlinePositions(
vtkPolyDataPtr centerline_r);
37 vtkPolyDataPtr generateTubes(
double staticRadius = 0,
bool mergeWithOriginalAirways =
false);
42 void smoothAllBranchesForVB();
43 vtkPolyDataPtr addVTKPoints(std::vector< Eigen::Vector3d > positions);
47 Eigen::MatrixXd mCLpoints;
54 double mAirwaysVolumeBoundaryExtention;
55 double mAirwaysVolumeBoundaryExtentionTracheaStart;
56 double mAirwaysVolumeSpacing;
57 bool mBloodVessel =
false;
58 bool mMergeWithOriginalAirways =
false;
62 std::pair<int, double>
findDistanceToLine(Eigen::Vector3d point, Eigen::MatrixXd line);
63 double findDistance(Eigen::MatrixXd p1, Eigen::MatrixXd p2);
69 #endif // CXAIRWAYSFROMCENTERLINE_H boost::shared_ptr< AirwaysFromCenterline > AirwaysFromCenterlinePtr
double findDistance(Eigen::MatrixXd p1, Eigen::MatrixXd p2)
boost::shared_ptr< class RouteToTarget > RouteToTargetPtr
boost::shared_ptr< class BranchList > BranchListPtr
std::pair< int, double > findDistanceToLine(Eigen::Vector3d point, Eigen::MatrixXd line)
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
std::vector< Eigen::Matrix4d > M4Vector
Namespace for all CustusX production code.