Public Member Functions | |
| None | __init__ (self, VertCoords coords, VertBitSet valid) |
| None | __init__ (self, Mesh mesh, VertBitSet region=None) |
| None | __init__ (self, FreeFormDeformer arg0) |
| None | apply (self) |
| Vector3f | applySinglePoint (self, Vector3f point) |
| std_vector_Vector3_float | getAllRefGridPositions (self) |
| Vector3i | getCoord (self, int index) |
| int | getIndex (self, Vector3i coordOfPointInGrid) |
| Vector3f | getRefGridPointPosition (self, Vector3i coordOfPointInGrid) |
| Vector3i | getResolution (self) |
| None | init (self, Vector3i resolution='Vector3i::diagonal(2)', Box3f initialBox='MR::Box3f()') |
| None | setAllRefGridPositions (self, std_vector_Vector3_float refPoints) |
| None | setRefGridPointPosition (self, Vector3i coordOfPointInGrid, Vector3f newPos) |
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, | ||
| VertBitSet | valid ) |
Only set mesh ref
| None mrmeshpy.FreeFormDeformer.__init__ | ( | self, | |
| Mesh | mesh, | ||
| VertBitSet | region = None ) |
| None mrmeshpy.FreeFormDeformer.__init__ | ( | self, | |
| FreeFormDeformer | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.FreeFormDeformer.apply | ( | self | ) |
Apply updated grid to all mesh points in parallel ensure updating render object after using it
Apply updated grid to given point
| std_vector_Vector3_float mrmeshpy.FreeFormDeformer.getAllRefGridPositions | ( | self | ) |
| Vector3i mrmeshpy.FreeFormDeformer.getCoord | ( | self, | |
| int | index ) |
Get grid coord by index
| int mrmeshpy.FreeFormDeformer.getIndex | ( | self, | |
| Vector3i | coordOfPointInGrid ) |
Get one dimension index by grid coord
Gets ref grid point position
| Vector3i mrmeshpy.FreeFormDeformer.getResolution | ( | self | ) |
| None mrmeshpy.FreeFormDeformer.init | ( | self, | |
| Vector3i | resolution = 'Vector3i::diagonal(2)', | ||
| Box3f | 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, | |
| std_vector_Vector3_float | refPoints ) |
| None mrmeshpy.FreeFormDeformer.setRefGridPointPosition | ( | self, | |
| Vector3i | coordOfPointInGrid, | ||
| Vector3f | newPos ) |
Updates ref grid point position