Public Member Functions | |
| None | __init__ (self, VertCoords coords, ConstVertBitSet valid) |
| None | __init__ (self, Mesh mesh, ConstVertBitSet region=None) |
| None | __init__ (self, ConstFreeFormDeformer arg0) |
| None | init (self, ConstVector3i resolution='MR::Vector3< int >::diagonal(2)', ConstBox3f initialBox='MR::Box3f()') |
| None | setAllRefGridPositions (self, Const_std_vector_Vector3_float refPoints) |
| None | setRefGridPointPosition (self, ConstVector3i coordOfPointInGrid, ConstVector3f newPos) |
| Public Member Functions inherited from mrmeshpy.ConstFreeFormDeformer | |
| __init__ (self, *args, **kwargs) | |
| None | apply (self) |
| Vector3f | applySinglePoint (self, ConstVector3f point) |
| Const_std_vector_Vector3_float | getAllRefGridPositions (self) |
| Vector3i | getCoord (self, int index) |
| int | getIndex (self, ConstVector3i coordOfPointInGrid) |
| ConstVector3f | getRefGridPointPosition (self, ConstVector3i coordOfPointInGrid) |
| ConstVector3i | getResolution (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Generated from: MR::FreeFormDeformer \\brief Class for deforming mesh using Bernstein interpolation \\snippet cpp-examples/FreeFormDeformation.dox.cpp 0
|
static |
| None mrmeshpy.FreeFormDeformer.__init__ | ( | self, | |
| VertCoords | coords, | ||
| ConstVertBitSet | valid ) |
Only set mesh ref
| None mrmeshpy.FreeFormDeformer.__init__ | ( | self, | |
| Mesh | mesh, | ||
| ConstVertBitSet | region = None ) |
| None mrmeshpy.FreeFormDeformer.__init__ | ( | self, | |
| ConstFreeFormDeformer | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.FreeFormDeformer.init | ( | self, | |
| ConstVector3i | resolution = 'MR::Vector3<int>::diagonal(2)', | ||
| ConstBox3f | initialBox = 'MR::Box3f()' ) |
Calculates all points' normalized positions in parallel sets ref grid by initialBox, if initialBox is invalid uses mesh bounding box instead
| None mrmeshpy.FreeFormDeformer.setAllRefGridPositions | ( | self, | |
| Const_std_vector_Vector3_float | refPoints ) |
| None mrmeshpy.FreeFormDeformer.setRefGridPointPosition | ( | self, | |
| ConstVector3i | coordOfPointInGrid, | ||
| ConstVector3f | newPos ) |
Updates ref grid point position