pub struct vtkLandmarkTransform(/* private fields */);Expand description
a linear transform specified by two corresponding point sets
A vtkLandmarkTransform is defined by two sets of landmarks, the transform computed gives the best fit mapping one onto the other, in a least squares sense. The indices are taken to correspond, so point 1 in the first set will get mapped close to point 1 in the second set, etc. Call SetSourceLandmarks and SetTargetLandmarks to specify the two sets of landmarks, ensure they have the same number of points. @warning Whenever you add, subtract, or set points you must call Modified() on the vtkPoints object, or the transformation might not update. @sa vtkLinearTransform
Implementations§
Source§impl vtkLandmarkTransform
impl vtkLandmarkTransform
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkLandmarkTransform wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkLandmarkTransform
impl Default for vtkLandmarkTransform
Auto Trait Implementations§
impl Freeze for vtkLandmarkTransform
impl RefUnwindSafe for vtkLandmarkTransform
impl !Send for vtkLandmarkTransform
impl !Sync for vtkLandmarkTransform
impl Unpin for vtkLandmarkTransform
impl UnwindSafe for vtkLandmarkTransform
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more