CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::SeansVesselReg::Context Struct Reference

#include <SeansVesselReg.hxx>

Public Member Functions

vtkPolyDataPtr getMovingPoints ()
 the moving data (one of target or source, depending on inversion) More...
 
vtkPolyDataPtr getFixedPoints ()
 the fixed data (one of target or source, depending on inversion) More...
 
vtkPolyDataPtr getDifferenceLines ()
 Lines connecting the moving and fixed data, according to LTS. More...
 

Public Attributes

vtkCellLocatorPtr mTargetPointLocator
 input: target data wrapped in a locator More...
 
vtkPolyDataPtr mTargetPoints
 input: target data More...
 
vtkPointsPtr mSourcePoints
 input: current source data, modified according to last iteration More...
 
vtkPointsPtr mSortedSourcePoints
 source points sorted according to distance to target, mSortedSourcePoints==mSortedTargetPoints More...
 
vtkPointsPtr mSortedTargetPoints
 source points projected onto the target points (closest points) mSortedSourcePoints==mSortedTargetPoints More...
 
vtkGeneralTransformPtr mConcatenation
 output: concatenation of all transforms so far More...
 
vtkAbstractTransformPtr mTransform
 output: transform from last iteration More...
 
double mMetric
 output: mean least squares from BEFORE last iteration. More...
 
double mLtsRatio
 local copy of the lts ratio, can be changed for current iteration. More...
 
bool mInvertedTransform
 the calculated registration goes from target to source instead of source to target More...
 

Detailed Description

Helper for storing all running data related to the v2v algorithm in one place.

Definition at line 36 of file SeansVesselReg.hxx.

Member Function Documentation

vtkPolyDataPtr cx::SeansVesselReg::Context::getDifferenceLines ( )

Lines connecting the moving and fixed data, according to LTS.

Definition at line 560 of file SeansVesselReg.cxx.

vtkPolyDataPtr cx::SeansVesselReg::Context::getFixedPoints ( )

the fixed data (one of target or source, depending on inversion)

Definition at line 548 of file SeansVesselReg.cxx.

vtkPolyDataPtr cx::SeansVesselReg::Context::getMovingPoints ( )

the moving data (one of target or source, depending on inversion)

Definition at line 536 of file SeansVesselReg.cxx.

Member Data Documentation

vtkGeneralTransformPtr cx::SeansVesselReg::Context::mConcatenation

output: concatenation of all transforms so far

Definition at line 49 of file SeansVesselReg.hxx.

bool cx::SeansVesselReg::Context::mInvertedTransform

the calculated registration goes from target to source instead of source to target

Definition at line 57 of file SeansVesselReg.hxx.

double cx::SeansVesselReg::Context::mLtsRatio

local copy of the lts ratio, can be changed for current iteration.

Definition at line 53 of file SeansVesselReg.hxx.

double cx::SeansVesselReg::Context::mMetric

output: mean least squares from BEFORE last iteration.

Definition at line 51 of file SeansVesselReg.hxx.

vtkPointsPtr cx::SeansVesselReg::Context::mSortedSourcePoints

source points sorted according to distance to target, mSortedSourcePoints==mSortedTargetPoints

Definition at line 46 of file SeansVesselReg.hxx.

vtkPointsPtr cx::SeansVesselReg::Context::mSortedTargetPoints

source points projected onto the target points (closest points) mSortedSourcePoints==mSortedTargetPoints

Definition at line 47 of file SeansVesselReg.hxx.

vtkPointsPtr cx::SeansVesselReg::Context::mSourcePoints

input: current source data, modified according to last iteration

Definition at line 40 of file SeansVesselReg.hxx.

vtkCellLocatorPtr cx::SeansVesselReg::Context::mTargetPointLocator

input: target data wrapped in a locator

Definition at line 38 of file SeansVesselReg.hxx.

vtkPolyDataPtr cx::SeansVesselReg::Context::mTargetPoints

input: target data

Definition at line 39 of file SeansVesselReg.hxx.

vtkAbstractTransformPtr cx::SeansVesselReg::Context::mTransform

output: transform from last iteration

Definition at line 50 of file SeansVesselReg.hxx.


The documentation for this struct was generated from the following files: