#include <vtkLandmarkTransform.h>
Inheritance diagram for vtkLandmarkTransform:
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.
Definition at line 51 of file vtkLandmarkTransform.h.
Public Types | |
typedef vtkLinearTransform | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | Inverse () |
unsigned long | GetMTime () |
vtkAbstractTransform * | MakeTransform () |
void | SetSourceLandmarks (vtkPoints *points) |
void | SetTargetLandmarks (vtkPoints *points) |
virtual vtkPoints * | GetSourceLandmarks () |
virtual vtkPoints * | GetTargetLandmarks () |
virtual void | SetMode (int) |
void | SetModeToRigidBody () |
void | SetModeToSimilarity () |
void | SetModeToAffine () |
virtual int | GetMode () |
const char * | GetModeAsString () |
Static Public Member Functions | |
vtkLandmarkTransform * | New () |
int | IsTypeOf (const char *type) |
vtkLandmarkTransform * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkLandmarkTransform () | |
~vtkLandmarkTransform () | |
void | InternalUpdate () |
void | InternalDeepCopy (vtkAbstractTransform *transform) |
Protected Attributes | |
vtkPoints * | SourceLandmarks |
vtkPoints * | TargetLandmarks |
int | Mode |
|
Reimplemented from vtkLinearTransform. Definition at line 56 of file vtkLandmarkTransform.h. |
|
|
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. |
|
Reimplemented from vtkLinearTransform. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkLinearTransform. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkLinearTransform. |
|
Reimplemented from vtkLinearTransform. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkLinearTransform. |
|
Specify the source and target landmark sets. The two sets must have the same number of points. If you add or change points in these objects, you must call Modified() on them or the transformation might not update. |
|
Specify the source and target landmark sets. The two sets must have the same number of points. If you add or change points in these objects, you must call Modified() on them or the transformation might not update. |
|
Specify the source and target landmark sets. The two sets must have the same number of points. If you add or change points in these objects, you must call Modified() on them or the transformation might not update. |
|
Specify the source and target landmark sets. The two sets must have the same number of points. If you add or change points in these objects, you must call Modified() on them or the transformation might not update. |
|
Set the number of degrees of freedom to constrain the solution to. Rigidbody: rotation and translation only. Similarity: rotation, translation and isotropic scaling. The default is similarity. |
|
Set the number of degrees of freedom to constrain the solution to. Rigidbody: rotation and translation only. Similarity: rotation, translation and isotropic scaling. The default is similarity. Definition at line 75 of file vtkLandmarkTransform.h. References VTK_LANDMARK_RIGIDBODY. |
|
Set the number of degrees of freedom to constrain the solution to. Rigidbody: rotation and translation only. Similarity: rotation, translation and isotropic scaling. The default is similarity. Definition at line 76 of file vtkLandmarkTransform.h. References VTK_LANDMARK_SIMILARITY. |
|
Set the number of degrees of freedom to constrain the solution to. Rigidbody: rotation and translation only. Similarity: rotation, translation and isotropic scaling. The default is similarity. Definition at line 77 of file vtkLandmarkTransform.h. References VTK_LANDMARK_AFFINE. |
|
Set the number of degrees of freedom to constrain the solution to. Rigidbody: rotation and translation only. Similarity: rotation, translation and isotropic scaling. The default is similarity. |
|
Set the number of degrees of freedom to constrain the solution to. Rigidbody: rotation and translation only. Similarity: rotation, translation and isotropic scaling. The default is similarity. Definition at line 112 of file vtkLandmarkTransform.h. References VTK_LANDMARK_AFFINE, VTK_LANDMARK_RIGIDBODY, and VTK_LANDMARK_SIMILARITY. |
|
Invert the transformation. This is done by switching the source and target landmarks. Implements vtkAbstractTransform. |
|
Get the MTime. Reimplemented from vtkAbstractTransform. |
|
Make another transform of the same type. Implements vtkAbstractTransform. |
|
Perform any subclass-specific Update. Reimplemented from vtkAbstractTransform. |
|
This method does no type checking, use DeepCopy instead. Reimplemented from vtkHomogeneousTransform. |
|
Definition at line 102 of file vtkLandmarkTransform.h. |
|
Definition at line 103 of file vtkLandmarkTransform.h. |
|
Definition at line 105 of file vtkLandmarkTransform.h. |