You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Class that handles the Constrained Free Form Deformation on the mesh points.
20
+
21
+
:param list n_control_points: number of control points in the x, y, and z
22
+
direction. Default is [2, 2, 2].
23
+
:param string mode: it can be ``affine`` or ``triaffine``. The first option is for the F that are affine in all the coordinates of the points.
24
+
The second one is for functions that are F in the coordinates of the points. The first option implies the second, but is optimal for that class of functions.
25
+
:cvar numpy.ndarray box_length: dimension of the FFD bounding box, in the
26
+
x, y and z direction (local coordinate system).
27
+
:cvar numpy.ndarray box_origin: the x, y and z coordinates of the origin of
28
+
the FFD bounding box.
29
+
:cvar numpy.ndarray n_control_points: the number of control points in the
30
+
x, y, and z direction.
31
+
:cvar numpy.ndarray array_mu_x: collects the displacements (weights) along
32
+
x, normalized with the box length x.
33
+
:cvar numpy.ndarray array_mu_y: collects the displacements (weights) along
34
+
y, normalized with the box length y.
35
+
:cvar numpy.ndarray array_mu_z: collects the displacements (weights) along
36
+
z, normalized with the box length z.
37
+
:cvar callable fun: it defines the F of the constraint F(x)=c. Default is the constant 1 function.
38
+
:cvar numpy.ndarray fixval: it defines the c of the constraint F(x)=c. Default is 1.
39
+
:cvar numpy.ndarray ffd_mask: a boolean tensor that tells to the class
40
+
which control points can be moved, and in what direction, to enforce the constraint.
41
+
The tensor has shape (n_x,n_y,n_z,3), where the last dimension indicates movement
42
+
on x,y,z respectively. Default is all true.
43
+
:cvar numpy.ndarray fun_mask: a boolean tensor that tells to the class
44
+
on which axis which constraint depends on. The tensor has shape (n_cons,3), where the last dimension indicates dependency on
45
+
on x,y,z respectively. Default is all true. It used only in the triaffine mode.
0 commit comments