Classes | |
| class | ConstStabilizer |
| class | Stabilizer |
Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, int numObjs) |
| None | add (self, int objA, ConstVector3d pA, int objB, ConstVector3d pB, float w=1) |
| None | add (self, int objA, ConstVector3f pA, int objB, ConstVector3f pB, float w=1) |
| None | add (self, int objA, ConstVector3d pA, int objB, ConstVector3d pB, ConstVector3d n, float w=1) |
| None | add (self, int objA, ConstVector3f pA, int objB, ConstVector3f pB, ConstVector3f n, float w=1) |
| None | add (self, ConstMultiwayAligningTransform r) |
| None | reset (self, int numObjs) |
| Public Member Functions inherited from mrmeshpy.ConstMultiwayAligningTransform | |
| __init__ (self, *args, **kwargs) | |
| std_vector_RigidXf3_double | solve (self, MultiwayAligningTransform.ConstStabilizer stab) |
| std_vector_RigidXf3_double | solve (self) |
Generated from: MR::MultiwayAligningTransform This class can be used to solve the problem of multiple 3D objects alignment, by first collecting weighted links between pairs of points from different objects, and then solving for transformations minimizing weighted average of link penalties
| None mrmeshpy.MultiwayAligningTransform.__init__ | ( | self | ) |
| None mrmeshpy.MultiwayAligningTransform.__init__ | ( | self, | |
| int | numObjs ) |
initializes internal data to start registering given number of objects
| None mrmeshpy.MultiwayAligningTransform.add | ( | self, | |
| ConstMultiwayAligningTransform | r ) |
appends links accumulated in (r) into this
| None mrmeshpy.MultiwayAligningTransform.add | ( | self, | |
| int | objA, | ||
| ConstVector3d | pA, | ||
| int | objB, | ||
| ConstVector3d | pB, | ||
| ConstVector3d | n, | ||
| float | w = 1 ) |
appends a 1D link into consideration: one point (pA) from (objA), and the other point (pB) from (objB) with link penalty equal to weight (w) times squared distance between their projections on given direction (n); for a point on last fixed object, it is equivalent to point-to-plane link with the plane through that fixed point with normal (n)
| None mrmeshpy.MultiwayAligningTransform.add | ( | self, | |
| int | objA, | ||
| ConstVector3d | pA, | ||
| int | objB, | ||
| ConstVector3d | pB, | ||
| float | w = 1 ) |
appends a 3D link into consideration: one point (pA) from (objA), and the other point (pB) from (objB) with link penalty equal to weight (w) times squared distance between two points
| None mrmeshpy.MultiwayAligningTransform.add | ( | self, | |
| int | objA, | ||
| ConstVector3f | pA, | ||
| int | objB, | ||
| ConstVector3f | pB, | ||
| ConstVector3f | n, | ||
| float | w = 1 ) |
appends a 1D link into consideration: one point (pA) from (objA), and the other point (pB) from (objB) with link penalty equal to weight (w) times squared distance between their projections on given direction (n); for a point on last fixed object, it is equivalent to point-to-plane link with the plane through that fixed point with normal (n)
| None mrmeshpy.MultiwayAligningTransform.add | ( | self, | |
| int | objA, | ||
| ConstVector3f | pA, | ||
| int | objB, | ||
| ConstVector3f | pB, | ||
| float | w = 1 ) |
appends a 3D link into consideration: one point (pA) from (objA), and the other point (pB) from (objB) with link penalty equal to weight (w) times squared distance between two points
| None mrmeshpy.MultiwayAligningTransform.reset | ( | self, | |
| int | numObjs ) |
reinitializes internal data to start registering given number of objects