Public Member Functions | |
None | __init__ (self, VertCoords coords, VertBitSet valid) |
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) |
Generated from: MR::FreeFormDeformer Class for deforming mesh using trilinear interpolation
None meshlib.mrmeshpy.FreeFormDeformer.__init__ | ( | self, | |
VertCoords | coords, | ||
VertBitSet | valid ) |
Only set mesh ref
None meshlib.mrmeshpy.FreeFormDeformer.__init__ | ( | self, | |
FreeFormDeformer | arg0 ) |
Implicit copy constructor.
None meshlib.mrmeshpy.FreeFormDeformer.apply | ( | self | ) |
Parallel apply updated grid to all mesh points ensure updating render object after using it
Apply updated grid to given point
std_vector_Vector3_float meshlib.mrmeshpy.FreeFormDeformer.getAllRefGridPositions | ( | self | ) |
Vector3i meshlib.mrmeshpy.FreeFormDeformer.getCoord | ( | self, | |
int | index ) |
Get grid coord by index
int meshlib.mrmeshpy.FreeFormDeformer.getIndex | ( | self, | |
Vector3i | coordOfPointInGrid ) |
Get one dimension index by grid coord
Vector3f meshlib.mrmeshpy.FreeFormDeformer.getRefGridPointPosition | ( | self, | |
Vector3i | coordOfPointInGrid ) |
Gets ref grid point position
Vector3i meshlib.mrmeshpy.FreeFormDeformer.getResolution | ( | self | ) |
None meshlib.mrmeshpy.FreeFormDeformer.init | ( | self, | |
Vector3i | resolution = 'Vector3i::diagonal(2)', | ||
Box3f | initialBox = 'MR::Box3f()' ) |
Parallel calculates all points normed positions sets ref grid by initialBox, if initialBox is invalid use mesh bounding box instead
None meshlib.mrmeshpy.FreeFormDeformer.setAllRefGridPositions | ( | self, | |
std_vector_Vector3_float | refPoints ) |
None meshlib.mrmeshpy.FreeFormDeformer.setRefGridPointPosition | ( | self, | |
Vector3i | coordOfPointInGrid, | ||
Vector3f | newPos ) |
Updates ref grid point position