1 #ifndef SeansVesselSegmentation_hxx 2 #define SeansVesselSegmentation_hxx 4 #include "cxResourceExport.h" 9 #include "vtkSmartPointer.h" 68 bool performOneRegistration();
70 Transform3D getLinearResult(ContextPtr context=ContextPtr());
71 double getResultMetric(ContextPtr context=ContextPtr());
72 double getResultLtsRatio(ContextPtr context=ContextPtr());
81 void notifyPreRegistrationWarnings();
101 void performOneRegistration(ContextPtr context,
bool linear);
102 void computeDistances(ContextPtr context = ContextPtr());
113 double p_BoundingBox[6]);
118 bool runAlgorithm(ContextPtr context,
vtkGeneralTransformPtr myConcatenation,
int largeSteps,
double fraction);
126 ContextPtr linearRefineAllLTS(ContextPtr context);
127 void linearRefine(ContextPtr context);
void setDebugOutput(bool on)
DoubleBoundingBox3D transform(const Transform3D &m, const DoubleBoundingBox3D &bb)
vtkGeneralTransformPtr mConcatenation
output: concatenation of all transforms so far
double mt_distanceDeltaStopThreshold
int mt_maximumNumberOfIterations
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
ContextPtr mLastRun
result from last run of execute()
boost::shared_ptr< class Image > ImagePtr
vtkSmartPointer< vtkPoints > vtkPointsPtr
bool mInvertedTransform
the calculated registration goes from target to source instead of source to target ...
double mt_maximumDurationSeconds
vtkCellLocatorPtr mTargetPointLocator
input: target data wrapped in a locator
vtkPolyDataPtr mTargetPoints
input: target data
vtkSmartPointer< class vtkIdList > vtkIdListPtr
double mMetric
output: mean least squares from BEFORE last iteration.
int mt_singlePointThreshold
vtkPointsPtr mSortedSourcePoints
source points sorted according to distance to target, mSortedSourcePoints==mSortedTargetPoints ...
boost::shared_ptr< class Data > DataPtr
vtkSmartPointer< class vtkCellLocator > vtkCellLocatorPtr
double mLtsRatio
local copy of the lts ratio, can be changed for current iteration.
vtkSmartPointer< class vtkAbstractTransform > vtkAbstractTransformPtr
vtkAbstractTransformPtr mTransform
output: transform from last iteration
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr
vtkSmartPointer< class vtkGeneralTransform > vtkGeneralTransformPtr
vtkPointsPtr mSortedTargetPoints
source points projected onto the target points (closest points) mSortedSourcePoints==mSortedTargetPoi...
boost::shared_ptr< Context > ContextPtr
void print(QString header, QRect r)
Namespace for all CustusX production code.
vtkPointsPtr mSourcePoints
input: current source data, modified according to last iteration